I'm trying to use DiffBind for re-analyses of some data. The only files that are changed from my previous run of DiffBind are the peak files from MACS2. They are still in the same format as before. Previously I was able to run Diffbind and analyse this same dataset without errors. However, now when I try the very first step of DiffBind (ta <- dba(sampleSheet="
metadataBROAD.csv"), I get the following message:
> ta <- dba(sampleSheet="metadataBROAD.csv")
0-2k4 pMet 1 macs
Error in `[.data.frame`(peaks, , 2) : undefined columns selected
In addition: Warning messages:
1: In read.table(samplesheet, sep = ",", stringsAsFactors = F, header = T) :
incomplete final line found by readTableHeader on 'metadataBROAD.csv'
2: In read.table(fn, blank.lines.skip = T, header = T) :
line 1 appears to contain embedded nulls
3: In read.table(fn, blank.lines.skip = T, header = T) :
line 2 appears to contain embedded nulls
4: In read.table(fn, blank.lines.skip = T, header = T) :
line 3 appears to contain embedded nulls
5: In read.table(fn, blank.lines.skip = T, header = T) :
line 4 appears to contain embedded nulls
6: In read.table(fn, blank.lines.skip = T, header = T) :
line 5 appears to contain embedded nulls
7: In scan(file = file, what = what, sep = sep, quote = quote, dec = dec, :
embedded nul(s) found in input
I can't figure out what the problem is.
Any help would be greatly appreciated.
Thanks Rory
I emailed the files to you.
I appreciate your help