DiffBind dba error
1
0
Entering edit mode
@annika-helverson-21020
Last seen 2.3 years ago

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 dba R error • 349 views
0
Entering edit mode
Rory Stark ★ 4.1k
@rory-stark-5741
Last seen 1 day ago
CRUK, Cambridge, UK

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?