diffbind error in sum(sapply(peaks, nrow)) : invalid 'type' (list) of argument
1
0
Entering edit mode
@alessandrotestori-24421
Last seen 4.2 years ago

Hi! I have 9 samples (each condition has three samples). I am running diffbind as follows:

dbind<-dba(sampleSheet = "diffbind.csv")
dbind_consensus <- dba.peakset(dbind, consensus=c(DBA_TISSUE,DBA_CONDITION),minOverlap=0.66)
dbind_consensus<-dba(dbind_consensus, mask = dbind_consensus$masks$Consensus,minOverlap = 3)

After this runs I get the following warning:

All peaksets unique for specified attributes; no consensus peaksets added.

And I get the following error:

Error in sum(supply(peaks, nrow)) : invalid 'type' (list) of argument
Calls: dba -> pv.model -> pv.vectors

Do you have any suggestions? Thanks!

diffbind • 955 views
ADD COMMENT
1
Entering edit mode
Rory Stark ★ 5.2k
@rory-stark-5741
Last seen 8 weeks ago
Cambridge, UK

I'm thinking that the call to dba.peakset() results in only one (or even zero) consensus peaksets being added? This would be the case if there was only one unique combination of Tissue/Condition values. It should print out all the consensus peaksets being added, how many were there?

If you send me a a copy of the DBA object, I can tell you for sure what is happening.

ADD COMMENT
0
Entering edit mode

thank you for your suggestion; in fact I am no longer getting errors using the same field for both condition and tissue to create the consensus

ADD REPLY

Login before adding your answer.

Traffic: 386 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