Multi-factor with interaction model in EdgeR and DESeq2
1
0
Entering edit mode
@camillaalves-18089
Last seen 6.2 years ago

Hello all,

We have two variables from RNA-seq data: tissue (tissue1 and tissue2) and treatment (healthy and unhealthy). There are in total 4 healthy and 4 unhealthy animals, from which samples from tissues 1 and 2 were collected from each animal. We would like to perform a differentially expression gene analysis between healthy and unhealthy animals, considering the tissue effect (both tissues) in the same analysis. In 2015, we used EdgeR (version 3.2.2) to perform DE genes analysis between tissue 1 and tissue 2 only. At that time, EdgeR was not able to perform the DE analysis between healthy and unhealthy animals, considering the both tissues effect in the analysis, so we used DESeq2 for this purpose. Now we are considering to publish these data and the better would be that both analysis (tissue1 X tissue2) and (healthy X unhealthy, considering the tissue effect) have been performed by the same bioconductor package. My question is: does anyone know if EdgeR 2018 current version (3.5) is now able to perform the multi-factor with interaction model in the same way as DESeq2? My knowledge about these software is initial and I read the manuals but nothing is reported about any improvements or changes in EdgeR models during this period.

Thank you all.

edger deseq2 rnaseq differential gene expression • 1.5k views
ADD COMMENT
2
Entering edit mode
@mikelove
Last seen 10 days ago
United States

edgeR's use of complex designs predates DESeq2, so yes, edgeR can do this and has been able to for a while.

ADD COMMENT
0
Entering edit mode

Thank you very much for your prompt reply, Michael.

I would like to you ask you a couple of more questions:

-Was EdgeR already able to do this analysis since 2015?

-Based on you previous answer, it seems I will have to do the analysis again. I am studying the EdgeR guide and I guess the new analysis is something similar to section 4.4 RNA-Seq profiles of mouse mammary gland. Am I in the right track? in case not, I would appreciate very much if you could please suggest me some material to look for the proper analysis.

Thank you for your time and attention.

Camilla

 

 

ADD REPLY
0
Entering edit mode

I'll chip in here - yes, edgeR was able to do this in 2015. The capability was there when I started working on edgeR in earnest (2013, maybe?), at which time I migrated all of the existing R code to use C++.

As for the specific analysis; I also suspect that you have not been performing your analysis correctly. This is not a simple multi-factor model as the tissues come from the same animal. A full model would probably look like:

status <- rep(c("healthy", "unhealthy"), each=8)
tissue <- factor(rep(1:2, 8))
animal <- gl(8, 2)
design <- model.matrix(~0 + animal + tissue:status)
design <- design[,-c(9, 11)]

... for which you cannot directly compare between healthy unhealthy directly. You can only test for tissue differences within each status level, or compare "differences of differences" between tissue and status, i.e., differences in tissue-to-tissue differences between status levels.

If you want to compare directly between, e.g., healthy tissue 1 and unhealthy tissue 1, you need to subset your data so that each animal only contributes one sample. This ensures that there are not any correlations between the samples. Such correlations cannot be modelled by adding blocking factors, as then you would not be able to perform the desired contrasts.

Alternatively, you could use limma and voom with duplicateCorrelation, which avoids the need to discard any samples. Of course, all this assumes that a per-animal effect exists; if it doesn't, you can just use a multi-factor model with status and tissue, which can be accommodated by all popular DE analysis methods. 

ADD REPLY

Login before adding your answer.

Traffic: 591 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6