Question: DiffBind dba error
0
4 months ago by
annika-helverson0 wrote:

Hello,

I am using DiffBind and coming across an error using code that worked just fine a few months ago. I now can't seem to make a dba object. I am getting the following error:

test <- dba(sampleSheet = samplesheet, dir = "/Users/ahelverson/Desktop/ATACAH/data/") ACNull_1 Mutant 1 macs Error in if file.info(peaks)$size > 0) { : missing value where TRUE/FALSE needed This is particularly puzzling because an independent call yields true to the peak size being greater than 0: file.info(Peaks)$size [1] 18030968 18828548 18536191 19175751 file.info(Peaks)\$size > 0 [1] TRUE TRUE TRUE TRUE

Any help would be greatly appreciated.

thanks, Annika

diffbind error R dba • 137 views
modified 8 weeks ago by Rory Stark2.8k • written 4 months ago by annika-helverson0
0
8 weeks ago by
Rory Stark2.8k
CRUK, Cambridge, UK
Rory Stark2.8k wrote:

It looks like you are passing a data frame in as the samplesheet. The dir path will be pre=pended to any file paths in this data frame. Can you look in the samplesheet data frame and make sure that the filenames do not already have this (or another) path prepended?