Dear all,
I have 4 treated and 2 control conditions.
treated1 treated2 treated3 treated4
control1 control2
From my PCA plot I could see that treated1, 2, 3 form a cluster and I want to compare these cluster against both control 1 and 2. I know in DESeq2 for two conditions it is possible to do like this:
res <- results(dds, contrast=c("condition","treated1","control1"), alpha = 0.0001)
But I want to do somethins like in this pseudocode. How to do this in DESeq2?
res <- results(dds, contrast=c("condition","treated1" ,"treated2","treated3" VERSUS "control1","control2")), alpha = 0.0001)
Cross-posted: https://support.bioconductor.org/p/9141807/
This gives me this error, this is because deseq created already the contrasts ie.
"condition_treated1_vs_control1"
,With two sample comparison I used to do like thiscontrast=c("condition","treated1","control1")
.also since I have 3 rep each, does this create some problem due to unequal size of samples, ie. 9 treated samples vs 6 o3 controls.
Comparing 6 to 9 samples is not a problem.. As for the rest, read the page I specified to get the correct syntax if you want to do it that way. Or do it the other way.