How to adjust the DESeq2 formula when there is no control group for one factor?
1
0
Entering edit mode
Bingqian • 0
@0d94efb0
Last seen 8 weeks ago
Norway

Hello, I'm working on GLM model in DEseq2 with an experimental design of 4 treatments , and each treatment has 5 replicates. I have two factors: temperature (with control and high temperature) and shore level (high shore and low shore).

enter image description here

I've been running a GLM model in DESeq2 using the following design:

dds <- DESeqDataSetFromMatrix(countData = counts,
                                 colData = group,
                                 design = ~temperature* shore_level)

In this design, the two shore levels were coded as 0 and 1, as well as the two temperature conditions. In this case, the control temperature low shore group is used as the baseline, which means the temperature main effect will only be calculated between control temp low shore and high temp low shore. However, this is actually not what I expected because, in my design, low shore is not regarded as a control group and there might be also interactions between low shore and high temp. The ideal way to measure the temperature effect would be taking the information of both shore levels into consideration.

Using a different way in coding of groups seems could retain the effect of temperature correctly, i.e. high shore encoded as 1 and low shore encoded as -1 in the glm formula. Unfortunately I didn't find a good way from the tutorial to apply this kind of design in deseq2 analysis. Could you please give me some guidance about how to set the formula in deseq2?

Any advice would be greatly appreciated. Thanks a lot!

DESeq2 • 215 views
ADD COMMENT
0
Entering edit mode
swbarnes2 ★ 1.4k
@swbarnes2-14086
Last seen 3 days ago
San Diego

You are overthinking this. You have two time points, you compare them to each other. You can't compare them to a time point you don't have.

ADD COMMENT

Login before adding your answer.

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