Hi,
I have the following matrix :
Status | Env | |
Sample1 | del | env1 |
Sample2 | del | env2 |
Sample3 | del | env1 |
Sample4 | del | env2 |
Sample5 | wt | env1 |
Sample6 | wt | env2 |
Sample7 | wt | env1 |
Sample8 | wt | env2 |
I need to compare : del(env1 versus env2) versus wt(env1 versus env2)
>design(dds) <- ~0+Status:Env
>resultsNames(dds)
[1] "Envenv1.Statusdel" "Envenv2.Statusdel" "Envenv1.Statuswt" "Envenv2.Statuswt"
>res <- results(dds,contrast=list(c("Envenv1.Statusdel","Envenv2.Statusdel"),c("Envenv1.Statuswt","Envenv2.Statuswt")))
>res
log2 fold change (MLE): Envenv1.Statusdel+Envenv2.Statusdel vs Envenv1.Statuswt+Envenv2.Statuswt
Wald test p-value: Envenv1.Statusdel+Envenv2.Statusdel vs Envenv1.Statuswt+Envenv2.Statuswt
DataFrame with 21272 rows and 6 columns
Please, how to make contrast model to obtain this comparaison : del(env1 versus env2) versus wt(env1 versus env2) ?
Is it possible ?
Thanks for your help and advices,
Sam