DESeq2, edgeR and limma-voom are the three differential-expression packages most often used for bulk RNA-seq. They are mature, well documented and capable of producing publication-quality results. Beginners are often told to pick one without being told what differs. That makes the choice feel arbitrary and makes disagreements hard to interpret. This article explains the shared model, the design of each package and the practical differences that matter when you run them.
The shared starting point
All three tools start from a matrix of raw counts: one row per gene, one column per sample, with the number of reads assigned to each gene. They model counts rather than continuous intensities. Sequencing produces discrete counts with a mean–variance relationship: lowly expressed genes are noisier, and the variance grows with the mean.
All three also estimate biological variability from replicates and use that estimate to moderate the test statistic. This borrowing of information across genes is what makes small RNA-seq experiments analysable at all. And all three fit a model that includes the experimental design, so a comparison can be adjusted for batch, sex or another covariate rather than being reduced to a simple two-group t-test.
The differences lie in how they normalise, how they estimate and moderate variability, and which test statistic they report.
DESeq2
DESeq2 fits a negative binomial generalised linear model. Its default normalisation is the median-of-ratios method. For each gene it computes the ratio of a sample's count to the gene's geometric mean across samples. It then takes the median of those ratios as the sample's size factor. The idea is to estimate sequencing depth from genes that are expressed and not strongly affected by the condition.
DESeq2 estimates a dispersion for each gene and shrinks those estimates towards a fitted trend. Genes with little information borrow strength from the rest of the dataset. The default test for a two-group comparison is the Wald test. Likelihood-ratio tests are available for multi-factor comparisons. DESeq2 also performs independent filtering. This removes genes with very low counts before multiple-testing correction and can increase discoveries without inflating the false discovery rate.
A distinctive feature is fold-change shrinkage. lfcShrink pulls noisy log2 fold changes, especially those from low-count genes, towards zero, using methods such as apeglm or ashr. This does not change the p-values in the default workflow, but it makes effect sizes more stable and makes volcano and MA plots more honest. The package is documented in a long vignette and a book, and its syntax is consistent across the workflow.
edgeR
edgeR also fits a negative binomial model but has a longer history and a broader set of testing options. Its default normalisation is TMM (trimmed mean of M-values), which estimates scaling factors from a trimmed set of genes and is designed to be robust to a few highly expressed or differentially expressed genes.
For simple designs, edgeR offers an exact test. For general linear models it provides likelihood-ratio tests and, more recently, the quasi-likelihood F-test (glmQLFit), which models gene-specific dispersion and accounts for uncertainty in the dispersion estimates. The quasi-likelihood approach is often recommended for routine differential-expression analysis because it gives good error control when replicate numbers are small.
edgeR also offers glmTreat, a test for whether a fold change exceeds a chosen threshold rather than simply differing from zero. This is useful when you care about biological magnitude, not just statistical significance. The package is fast, handles large matrices well and is used in many pipelines and courses.
limma-voom
limma was originally built for microarray data, where log intensities are approximately normal. voom adapts it to counts: it transforms counts to log2 counts per million, estimates the mean–variance relationship from the data, and assigns each observation a precision weight. Those weights are then passed to limma's linear modelling machinery, which includes empirical Bayes moderation of variances and moderated t-tests.
The result is a method that behaves like a robust linear-model framework while respecting the count-based mean–variance relationship. limma-voom is particularly attractive when the design is complex, when there are many samples, or when the same framework is already used for other omics data. It is also fast and memory-efficient. For very small counts, the voom transformation can be less stable. limma-trend is an alternative when library sizes are similar.
A practical difference is conceptual: limma-voom works with log-CPM values and precision weights, while DESeq2 and edgeR work more directly with counts and dispersion parameters. That affects diagnostics and the interpretation of model output, but not the underlying goal.
The differences in one table
| Feature | DESeq2 | edgeR | limma-voom |
|---|---|---|---|
| Core model | Negative binomial GLM | Negative binomial GLM | Linear model on log-CPM with precision weights |
| Default normalisation | Median of ratios | TMM | TMM by default in voom |
| Variance handling | Shrunk gene-wise dispersion | Shrunk dispersion; quasi-likelihood option | Empirical Bayes moderation of weighted variances |
| Common test | Wald test | Exact test, LRT or quasi-likelihood F | Moderated t-test |
| Fold-change shrinkage | Built in (lfcShrink) | Possible via separate methods | Via treat for thresholded tests |
| Typical strength | Coherent workflow and effect-size shrinkage | Flexible testing and speed | Complex designs and large sample sets |
Which should you use?
For a standard two-group or multi-group comparison with at least a few replicates, all three are defensible. Results for strong effects usually agree closely. Differences become more visible with small counts, few replicates, unbalanced designs or unusual normalisation, which is why sensitivity analysis with a second method is a reasonable habit for a paper.
Choose DESeq2 if you want a single coherent workflow with built-in shrinkage and extensive documentation. Choose edgeR if you want flexible testing options, quasi-likelihood error control or thresholded tests. Choose limma-voom if you already use limma, have a complex design or want a fast linear-model framework.
Do not choose a tool because someone once called it the best. There is no universal best, and the assumptions and diagnostics matter more than the label. The important thing is to understand what the model is doing and to report it accurately.
What matters more than the tool
The choice of package is usually less important than design and data handling. A confounded batch, pseudoreplication or a count matrix built with the wrong annotation will not be rescued by any test. Give all three tools raw counts, not TPM, FPKM or already normalised values, and include known covariates in the design formula.
Check the data before testing: library sizes, sample clustering, outliers and the mean–variance relationship. After testing, use adjusted p-values, inspect an MA plot and a volcano plot, and confirm that the direction of each contrast is what you think it is. The RNA-seq analysis workflow puts these steps in order, and the article on how many replicates you need explains why the same tool can give unstable answers when replication is thin.
Key points
- DESeq2, edgeR and limma-voom all model raw counts, estimate biological variability and support adjusted comparisons.
- They differ in normalisation, variance moderation and test statistic, not in their basic goal.
- DESeq2 uses median-of-ratios normalisation and offers built-in fold-change shrinkage.
- edgeR uses TMM and provides exact, likelihood-ratio and quasi-likelihood tests.
- limma-voom converts counts to weighted log-CPM values and applies limma's moderated linear model.
- Clear effects usually produce similar results across the three; small counts and small samples expose differences.
- Design, annotation, normalisation input and diagnostics matter more than the package name.
When to ask for help
If you have a count matrix and are unsure which model fits your design, or if two tools give different gene lists and you need to understand why, an analyst can compare the assumptions and the diagnostics rather than simply picking the longer list. You can order an analysis or discuss a differential-expression project through our RNA-seq analysis service.
Sources
- Love et al., Moderated estimation of fold change and dispersion for RNA-seq data with DESeq2 (Genome Biology, 2014)
- Robinson, McCarthy and Smyth, edgeR: a Bioconductor package for differential expression analysis of digital gene expression data (Bioinformatics, 2010)
- Law et al., voom: precision weights unlock linear model analysis tools for RNA-seq read counts (Genome Biology, 2014)
- Ritchie et al., limma powers differential expression analyses for RNA-sequencing and microarray studies (Nucleic Acids Research, 2015)
- Bioconductor edgeR user guide
- Bioconductor DESeq2 vignette
Written by the Solagene team for research and education. Found an error? Tell us and we will correct it.