Question: DiffBind dba error
0
gravatar for annika-helverson
5 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 • 159 views
ADD COMMENTlink modified 3 months ago by Rory Stark3.0k • written 5 months ago by annika-helverson0
Answer: DiffBind dba error
0
gravatar for Rory Stark
3 months ago by
Rory Stark3.0k
CRUK, Cambridge, UK
Rory Stark3.0k 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?

ADD COMMENTlink written 3 months ago by Rory Stark3.0k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 196 users visited in the last hour