DiffBind question on adb.contrast
1
0
Entering edit mode
bright602 • 0
@bright602-14940
Last seen 6.3 years ago

Hi, I have been trying to use the DiffBind for analyzing my ChIP-seq data; during the dba.contrast step, I came across an error that I show below.

> H3K4me3 <- dba.contrast(H3K4me3, H3K4me3$masks$V1, H3K4me3$masks$S1, "V", "S",  minMembers=2)

Error in pv.addContrast(pv, group1, group2, name1, name2) :

  Null group, can not add contrast

 

Could anyone tell me hwo to fix it?

Thanks,

WY

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

One or both of the masks (either H3K4me3$masks$V1 or H3K4me3$masks$S1) is equal to NULL. You can check the valid mask names as follows:

> names(H3K4me3$masks)

It is also worth noting that the minMembers parameter only applies when you do not specify the groups explicitly, so in this case it will be ignored.

 

ADD COMMENT

Login before adding your answer.

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