Entering edit mode
Hi,
Below is my samples and conditions info:
Sample_ID Conditions
1 A
2 A
3 A
4 B
5 B
6 B
7 C
8 C
9 C
For A_vs_C, I followed:
res_A_vs_C= lfcShrink(dds, contrast=c("Conditions", "A", "C"), type='ashr')
Now, I want to compare samples with A and B conditions together versus condition C (A+B_vs_C). How can I do that from the above dds (if there is a way)?
Or do I need to group A+C and create a new column, and then run a new DESeq()? Please guide.
Thanks.
Thank you ATpoint ! Considering I used C after A in my last comparison, so this one would be:
or should I use: (will the order matter? and If so, then I will need to do res_C_vs_A instead of res_A_vs_C)
Thanks.
It should not matter, only the sign of the logFC will be other. I always adjust this to the story I want to tell. Say you do treatment vs normal then in my head treatment effects should have a positive logFC in plots etc, so I would put treatment vs (control1,control2)/2.