I have a differential expression analysis in limma which is quite simple at first glance. I have 3 treatments distributed in 3 different tissues. All treatments are in all the different tissues. I would like to take into account the differentially expressed genes between tissues taking into account the covariate "tissue". To do so I have tried 2 different approaches:
- Generate a "group" variabla pasting the treatment and the tissue and then comparing the different treatments
- Treating tissue as a covariate and performing the contrast comparing the treatments.
Now fold changes are allways the same between the same comparisons in different approaches so I know I am performing the same substraction but Pvalues (and adjusted.P values too of course) change. Can someone explain me what's producing this change and which is the most correct approach, I have the sense it has to be the second but I'd like some explanation.
Thanks!
Thank you so much for the clarification, it was the first time in some months I had a model with covariates and I felt a bit rusty at the starting point !