Question: EdgeR analysis with 3 conditions
gravatar for Matina
4.9 years ago by
United Kingdom/University of Edinburgh
Matina160 wrote:

Hi guys, 

I have human samples coming from 3 conditions (control, breast cancer and endometrial cancer). I want to do pairwise DE analysis between conditions using EdgeR but i'm not sure how to set up the samples table. Should I use a table with counts from all conditions and compare the conditions of my interest specifying the pair in the exact test function or set up a different table each time with the counts from the conditions i want to compare? Ive tried both ways and they seem to give me different lists of DE genes so I was wondering which one is the correct way to do it. My guess is that the differences come from the estimation of dispersion for each gene. 

Sorry if my question is a bit basic but im a beginner. 

Thanks a lot for any comments or input you might have. 


edger rna-seq • 2.3k views
ADD COMMENTlink modified 2.7 years ago by Biostar ♦♦ 20 • written 4.9 years ago by Matina160
gravatar for Devon Ryan
4.9 years ago by
Devon Ryan89k
Freiburg, Germany
Devon Ryan89k wrote:

If you're going to make pairwise comparisons anyway, then keep everything in one table with a single design matrix and then just use a contrast with the last comparison. There's an example of exactly this in section 2.9.3 of the edgeR manual. You're correct that the difference between doing things this way and making separate pairwise tests with different count tables is in the dispersion estimation, which should be more reliable with the GLM.

ADD COMMENTlink written 4.9 years ago by Devon Ryan89k

Thank you so  much! 

ADD REPLYlink written 4.9 years ago by Matina160
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1132 users visited in the last hour