Multiple comparisons in DESeq2
1
0
Entering edit mode
thkapell ▴ 10
@tkapell-14647
Last seen 15 months ago
Helmholtz Center Munich, Germany

Hi,

I have a design like the one shown below and I want to test whether there are DE genes in condition 1 between Factor A, B and C (multiple comparisons). Is there a way to do this, other than performing all pairwise comparisons, e.g. B.1-A.1, C.1-A.1 and C.1-B.1?

Factor    Condition

A                  1

A                  2

A                  3

B                  1

B                  2

B                  3

C                  1

C                  2

C                  3

 

deseq2 • 593 views
ADD COMMENT
0
Entering edit mode
@mikelove
Last seen 23 minutes ago
United States

Do you have replicates, or is the above table the colData of your experiment?

ADD COMMENT
0
Entering edit mode

These are my different conditions. Yes, I have replicates on top of these (total number of replicates is 52).

ADD REPLY
1
Entering edit mode

You can do a likelihood ratio test. You can create a model matrix:

mm <- model.matrix(~condition + condition:factor)

Then you want to test the columns "condition1:factorB" and "condition1:factorC" at once. So you can use:

red <- mm[,-grep("condition1:", colnames(mm))]
dds <- DESeq(dds, test="LRT", full=mm, reduced=red)
res <- results(dds)
ADD REPLY

Login before adding your answer.

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