Entering edit mode
xieyongjun93
•
0
@xieyongjun93-13638
Last seen 6.8 years ago
Hi!
When I use the function dba to create a dba object, I always encounter the error :
Error in if (file.info(peaks)$size > 0) { : missing value where TRUE/FALSE needed
my code is :
a <- dba(sampleSheet = 'samplesheet.csv')
and the samplesheet.csv is as follows :
SampleID | Tissue | Factor | Condition | Treatment | Replicate | bamReads | ControlID | bamControl | Peaks | PeakCaller |
zh11_drought_01 | leaf | TF | drought | water | 1 | zh11_drought_01_filter.bam | zh11_drought_input_01 | zh11_drought_input_01_filter.bam | zh11_drought_01_peaks.xls | macs |
zh11_drought_02 | leaf | TF | drought | water | 2 | zh11_drought_02_filter.bam | zh11_drought_input_02 | zh11_drought_input_02_filter.bam | zh11_drought_02_peaks.xls | macs |
zh11_drought_03 | leaf | TF | drought | water | 3 | zh11_drought_03_filter.bam | zh11_drought_input_03 | zh11_drought_input_03_filter.bam | zh11_drought_03_peaks.xls | macs |
zh11_normal_01 | leaf | TF | normal | water | 1 | zh11_normal_01_filter.bam | zh11_normal_input_01 | zh11_normal_input_01_filter.bam | zh11_normal_02_peaks.xls | macs |
zh11_normal_02 | leaf | TF | normal | water | 2 | zh11_normal_02_filter.bam | zh11_normal_input_02 | zh11_normal_input_02_filter.bam | zh11_normal_03_peaks.xls | macs |
zh11_normal_03 | leaf | TF | normal | water | 3 | zh11_normal_03_filter.bam | zh11_normal_input_03 | zh11_normal_input_03_filter.bam | zh11_normal_04_peaks.xls | macs |
the peaks files are calculated by macs2.
Can someone give me some advices? Many thanks!