DiffBind dba error
1
0
Entering edit mode
@annika-helverson-21020
Last seen 5.4 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 • 1.6k views
ADD COMMENT
0
Entering edit mode
Rory Stark ★ 5.2k
@rory-stark-5741
Last seen 27 days ago
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?

ADD COMMENT

Login before adding your answer.

Traffic: 688 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6