Entering edit mode
3.4 years ago
Rob
▴
170
Hello I have done gene differential expression analysis for HT-Seq count data using two packages DESeq2 and edgeR. I have different results forr two packages, and edgeR gives more significant genes compared to DESeq2. Why the results are different? which one is reliable? Thanks
There was a question related to this just yesterday. Please confirm that you have searched for an answer? The lack of details in your post makes it very difficult for anybody to respond with any definitive answer. You need to explain exactly how you processed your data and show the code.
Thanks Kevin This is my code for edgeR:
#
This is my code for DESeq2:
The never ending story of edgeR vs DESeq2, this has been asked so many times before. A proper comparison requires proper knowledge of the internals, see e.g. https://mikelove.wordpress.com/2016/09/28/deseq2-or-edger/. You should also follow the manuals, as you are missing both the FilterByExpr filter for edgeR and use the relatively old LRT test rather than the currently recommended QLFTest. My honest opinion, just use what you feel more familiar with, what feels better in your hands. Both DESeq2, edgeR as well as limma-voom work well, are tested, maintained, well-accepted. I personally use edgeR because I find it a little easier to fit more complex designs via
model.matrix
andmakeContrasts
even though the same is possible with DESeq2. The latter now offers explicit fold change shrinkage which can be nice in certain situations when you really want to use the effect sizes for some ranking purposes like GSEA. Eventually, much more important is what you make out of these results the tools produce which are only the beginning of the journey.Thanks The reason I am asking the difference between two packages is that when I plot heatmap with significant genes resulted from two packages I don't see pattern and I believe they are not really differentially expressed and I was thinking maybe these two packages are not appropriate tools for HT-Seq data...
So it is not about DESeq2 or edgeR but on a heatmap problem, have stated that right away. No offense but the probability is higher that there is a flaw in your heatmap code than that the arguably two most established and tested packages for DE testing produce nonsensish results.