Thank you, but this does not help me with the nested variables issue. Basically, samples 4-12 have tx values that are nested within contralVar, and I'm not sure how to analyze this properly.
Understanding multifactor designs and control variables in DESeq2
I've read the DESeq2 documentation but I still don't understand how to analyze, interpret, and visualize multifactor designs for RNA-seq. Below is an example of what I am trying to figure out
Here, I have 4 groups that are differentiated by their values of controlVar and tx. I am interested in:
- How groups 2, 3, and 4 differ from group 1
- How groups 3 and 4 differ from each other
- How groups 3 and 4 differ from group 2
Any help on how to write the design formula to accomplish these would be tremendously appreciated. If I can provide further information, I will do so.
Here was my thought process:
- I'm guessing this looks at the effect of
txcontrolling for (i.e. stratifying by)controlVar?design = ~ controlVar + tx - I don't think I am interested in the interaction of
controlVarandtxbecause in theory thecontrolVarshould not be affecting anything - Would
txfor groups 3 and 4 be considered a nested variable? If so, I don't know how to write this.
• 1,459 views
•
link
1 answer
This page explains how to test which which model is best for your data. It is also explained in the documentation in the "Likelihood ratio test" section. Make sure to set factor levels correctly.
• 0 views
•
link
• 0 views
•
link
Log in to answer this question.