Hi,
I have a gene expression dataset that is equivalent to Example 3 in your ?results help page: 3 temperatures (cold, room, warm) and 2 conditions (control, treatment).
I ran DESeq2 with the following design: ~temperature + condition + temperature:condition. I have three research questions:
(1) Which genes are differentially expressed between control samples of the three different temperatures?
(before editing: What is the effect of the temperature on the control?)
results(dds, name="temperature_cold_vs_room", alpha=0.05, pAdjustMethod="BH") results(dds, name="temperature_warm_vs_room", alpha=0.05, pAdjustMethod="BH")
(2) Which genes are differentially expressed between control and treatment samples in a given temperature?
(before editing: What is the effect of the treatment for each temperature?)
results(dds, name="condition_treatment_vs_control", alpha=0.05, pAdjustMethod="BH") results(dds, contrast=list(c("condition_treatment_vs_control", "temperaturecold.conditiontreatment")), alpha=0.05, pAdjustMethod="BH") results(dds, contrast=list(c("condition_treatment_vs_control", "temperaturewarm.conditiontreatment")), alpha=0.05, pAdjustMethod="BH")
(3) The expression of which genes changes upon treatment, but changes differently depending on the temperature?
(before editing: What is the effect of the temperature on the treatment?)
results(dds, name="temperaturecold.conditiontreatment", alpha=0.05, pAdjustMethod="BH") results(dds, name="temperaturewarm.conditiontreatment", alpha=0.05, pAdjustMethod="BH")
Could you confirm that what I am doing is correct? And finally, for question 1, I don't know yet how to extract the respective results for warm versus cold?
Many thanks in advance,
Katrin
-- Edit: I have edited the wording of my questions, trying to make the questions more concise.
Thanks a lot for your reply! In fact, I have already done that. But we are interested in the interaction term, and my question 3 refers to your question. I tried to rephrase my questions to make them more concise and according to your wording.