hi，I run the code successfully:
yap <- dba.count(yap) yap <- dba.contrast(yap,categories=DBA_CONDITION,minMembers=2) yap 4 Samples, 31676 sites in matrix: ID Condition Treatment Replicate Caller Intervals FRiP 1 IP1 IP IP 1 counts 31676 0.53 2 IP2 IP IP 2 counts 31676 0.56 3 IgG1 IgG IgG 1 counts 31676 0.46 4 IgG2 IgG IgG 2 counts 31676 0.46
but when I uesd the'dba.analyze',it shows that:
yap <- dba.analyze(yap) converting counts to integer mode Error in .local(object, ...) : all genes have equal values for all samples. will not be able to perform differential analysis In addition: Warning message: In DESeqDataSet(se, design = design, ignoreRank) : all genes have equal values for all samples. will not be able to perform differential analysis
and why when i completed the 'dba.contrast', it shows the same 'Intervals'. thank you!!!