CoChat

Moderated estimation of fold change and dispersion for RNA-seq data with DESeq2

Open access
Love, Michael I, Huber, Wolfgang, Anders, Simon · 2014 · Genome Biology

Published version of a preprint

The DOI matches its Crossref record; 67 of the 67 references it cites were found in a registry or an index; 6 of the 45 sources its claims cite were checked for support.

Abstract

In comparative high-throughput sequencing assays, a fundamental task is the analysis of count data, such as read counts per gene in RNA-seq, for evidence of systematic changes across experimental conditions. Small replicate numbers, discreteness, large dynamic range and the presence of outliers require a suitable statistical approach. We present DESeq2 , a method for differential analysis of count data, using shrinkage estimation for dispersions and fold changes to improve stability and interpretability of estimates. This enables a more quantitative analysis focused on the strength rather than the mere presence of differential expression. The DESeq2 package is available at http://www.bioconductor.org/packages/release/bioc/html/DESeq2.html .

Overview

CoChat Summary

TL;DR

DESeq2 introduces empirical Bayes shrinkage for dispersion and log fold changes in negative-binomial GLMs for RNA-seq count data, improving stability and interpretability of differential expression. It adds Wald tests, thresholded hypotheses, outlier detection, independent filtering, and an rlog transformation, with benchmarks showing controlled false positives and often high sensitivity.

Key findings

  • Shrinking LFCs toward zero improves reproducibility: when Bottomly et al. samples were split into independent halves, the overlap of the top 100 up/down-regulated genes increased from 21/100 with MLE LFCs to 81/100 with shrunken MAP LFCs.
  • In simulations of 10,000 genes with sample sizes m∈{6,8,10,20}, 20% true DE genes, and fold changes of 2, 3, and 4, DESeq2 and edgeR often had the highest sensitivity among algorithms controlling FDR at adjusted P<0.1; DESeq2 was particularly higher for small fold changes of 2 or 3.
  • In real-data benchmarks, all algorithms generally controlled false positives in 30 mock 5-vs-5 comparisons from 26 Pickrell et al. samples at P<0.01, while old DESeq and Cuffdiff 2 were overly conservative. Sensitivity estimates using Bottomly et al. 3-vs-3 evaluation and 7-vs-8 verification splits had median values typically between 0.2 and 0.4; DESeq2 was comparable to edgeR and voom but less sensitive than DSS.
  • The rlog transformation stabilized variance across the mean count range and produced clearer clustering by treatment and time in the Hammer et al. rat dorsal root ganglion dataset than log2 normalized counts plus pseudocount.

Methods

  • DESeq2 fits negative-binomial GLMs with a log link to per-gene counts, using median-of-ratios size factors or user-supplied normalization factors. Dispersion estimation uses gene-wise MLEs, a fitted dispersion-mean trend, and empirical Bayes MAP shrinkage; LFC estimation uses MLEs, a zero-centered normal prior, and MAP shrinkage. Inference uses Wald tests with Benjamini–Hochberg adjustment, independent filtering by mean normalized counts, Cook’s distance outlier flagging, and optional composite null tests for LFC thresholds.
  • Benchmarks used simulations of 10,000 genes with m∈{6,8,10,20}, 20% DE genes, and true fold changes of 2, 3, or 4; real datasets included Bottomly et al. mouse strains (10 vs 11, plus 3-vs-3 evaluation and 7-vs-8 verification splits), Pickrell et al. human lymphoblastoid cell lines (26 male 46-bp samples, 30 mock 5-vs-5 comparisons), and Hammer et al. rat dorsal root ganglion data. Comparisons included old DESeq, edgeR, edgeR robust, DSS, EBSeq, voom/limma, SAMseq, and Cuffdiff 2.
  • Main analyses assessed sensitivity, precision, false positive rate, LFC reproducibility and error (RMSE/MAE), and clustering recovery via adjusted Rand index.

Limitations

  • Stated: the rlog transformation can change the ordering of genes within a sample if neighboring genes undergo different shrinkage, and it is not part of the differential expression inference procedure. Gene-level total read counts can falsely detect differential expression when only isoform lengths change, and can even give the wrong LFC sign in extreme cases, though sign disagreements were rare in the benchmark.
  • Stated: outlier detection does not use samples from conditions with two or fewer replicates, because there are insufficient replicates to determine outlier status. For testing whether effects are weaker than a threshold, LFC shrinkage must be disabled because the zero-centered prior favors small LFCs.
  • Evident from the text: real-data sensitivity and precision benchmarks use calls from a larger verification set as a proxy for true differential expression, not direct truth; the paper notes this approximation has systematic and stochastic error, and that median sensitivity was relatively low (typically 0.2–0.4) partly because the evaluation set was small.

Model-written summary. Check it against the paper before relying on it.

Integrity signals

Registry

Crossref · 10.1186/s13059-014-0550-8

Cites

67 of 67 references verified0 citation errors · 0 not checkable

Statistics

Nothing to recompute.

Figures

Figure 1 Shrinkage estimation of dispersion. Plot of dispersion estimates over the average expression strength (A) for the Bottomly et al. [16] dataset with six samples across two groups and (B) for five samples from the Pickrell et al. [17] dataset, fitting only an intercept term. First, gene-wise MLEs are obtained using only the respective gene’s data (black dots). Then, a curve (red) is fit to the MLEs to capture the overall trend of dispersion-mean dependence. This fit is used as a prior mean for a second estimation round, which results in the final MAP estimates of dispersion (arrow heads). This can be understood as a shrinkage (along the blue arrows) of the noisy gene-wise estimates toward the consensus represented by the red line. The black points circled in blue are detected as dispersion outliers and not shrunk toward the prior (shrinkage would follow the dotted line). For clarity, only a subset of genes is shown, which is enriched for dispersion outliers. Additional file 1: Figure S1 displays the same data but with dispersions of all genes shown. MAP, maximum a posteriori; MLE, maximum-likelihood estimate.
Figure 1 Shrinkage estimation of dispersion. Plot of dispersion estimates over the average expression strength (A) for the Bottomly et al. [16] dataset with six samples across two groups and (B) for five samples from the Pickrell et al. [17] dataset, fitting only an intercept term. First, gene-wise MLEs are obtained using only the respective gene’s data (black dots). Then, a curve (red) is fit to the MLEs to capture the overall trend of dispersion-mean dependence. This fit is used as a prior mean for a second estimation round, which results in the final MAP estimates of dispersion (arrow heads). This can be understood as a shrinkage (along the blue arrows) of the noisy gene-wise estimates toward the consensus represented by the red line. The black points circled in blue are detected as dispersion outliers and not shrunk toward the prior (shrinkage would follow the dotted line). For clarity, only a subset of genes is shown, which is enriched for dispersion outliers. Additional file 1: Figure S1 displays the same data but with dispersions of all genes shown. MAP, maximum a posteriori; MLE, maximum-likelihood estimate.CC BY · PubMed Central
Figure 2 Effect of shrinkage on logarithmic fold change estimates. Plots of the (A) MLE (i.e., no shrinkage) and (B) MAP estimate (i.e., with shrinkage) for the LFCs attributable to mouse strain, over the average expression strength for a ten vs eleven sample comparison of the Bottomly et al. [16] dataset. Small triangles at the top and bottom of the plots indicate points that would fall outside of the plotting window. Two genes with similar mean count and MLE logarithmic fold change are highlighted with green and purple circles. (C) The counts (normalized by size factors s j) for these genes reveal low dispersion for the gene in green and high dispersion for the gene in purple. (D) Density plots of the likelihoods (solid lines, scaled to integrate to 1) and the posteriors (dashed lines) for the green and purple genes and of the prior (solid black line): due to the higher dispersion of the purple gene, its likelihood is wider and less peaked (indicating less information), and the prior has more influence on its posterior than for the green gene. The stronger curvature of the green posterior at its maximum translates to a smaller reported standard error for the MAP LFC estimate (horizontal error bar). adj., adjusted; LFC, logarithmic fold change; MAP, maximum a posteriori; MLE, maximum-likelihood estimate.
Figure 2 Effect of shrinkage on logarithmic fold change estimates. Plots of the (A) MLE (i.e., no shrinkage) and (B) MAP estimate (i.e., with shrinkage) for the LFCs attributable to mouse strain, over the average expression strength for a ten vs eleven sample comparison of the Bottomly et al. [16] dataset. Small triangles at the top and bottom of the plots indicate points that would fall outside of the plotting window. Two genes with similar mean count and MLE logarithmic fold change are highlighted with green and purple circles. (C) The counts (normalized by size factors s j) for these genes reveal low dispersion for the gene in green and high dispersion for the gene in purple. (D) Density plots of the likelihoods (solid lines, scaled to integrate to 1) and the posteriors (dashed lines) for the green and purple genes and of the prior (solid black line): due to the higher dispersion of the purple gene, its likelihood is wider and less peaked (indicating less information), and the prior has more influence on its posterior than for the green gene. The stronger curvature of the green posterior at its maximum translates to a smaller reported standard error for the MAP LFC estimate (horizontal error bar). adj., adjusted; LFC, logarithmic fold change; MAP, maximum a posteriori; MLE, maximum-likelihood estimate.CC BY · PubMed Central
Figure 3 Stability of logarithmic fold changes. DESeq2 is run on equally split halves of the data of Bottomly et al. [16], and the LFCs from the halves are plotted against each other. (A) MLEs, i.e., without LFC shrinkage. (B) MAP estimates, i.e., with shrinkage. Points in the top left and bottom right quadrants indicate genes with a change of sign of LFC. Red points indicate genes with adjusted P value <0.1. The legend displays the root-mean-square error of the estimates in group I compared to those in group II. LFC, logarithmic fold change; MAP, maximum a posteriori; MLE, maximum-likelihood estimate; RMSE, root-mean-square error.
Figure 3 Stability of logarithmic fold changes. DESeq2 is run on equally split halves of the data of Bottomly et al. [16], and the LFCs from the halves are plotted against each other. (A) MLEs, i.e., without LFC shrinkage. (B) MAP estimates, i.e., with shrinkage. Points in the top left and bottom right quadrants indicate genes with a change of sign of LFC. Red points indicate genes with adjusted P value <0.1. The legend displays the root-mean-square error of the estimates in group I compared to those in group II. LFC, logarithmic fold change; MAP, maximum a posteriori; MLE, maximum-likelihood estimate; RMSE, root-mean-square error.CC BY · PubMed Central
Figure 4 Hypothesis testing involving non-zero thresholds. Shown are plots of the estimated fold change over average expression strength (“minus over average”, or MA-plots) for a ten vs eleven comparison using the Bottomly et al. [16] dataset, with highlighted points indicating low adjusted P values. The alternate hypotheses are that logarithmic (base 2) fold changes are (A) greater than 1 in absolute value or (B) less than 1 in absolute value. adj., adjusted.
Figure 4 Hypothesis testing involving non-zero thresholds. Shown are plots of the estimated fold change over average expression strength (“minus over average”, or MA-plots) for a ten vs eleven comparison using the Bottomly et al. [16] dataset, with highlighted points indicating low adjusted P values. The alternate hypotheses are that logarithmic (base 2) fold changes are (A) greater than 1 in absolute value or (B) less than 1 in absolute value. adj., adjusted.CC BY · PubMed Central
Figure 5 Variance stabilization and clustering after rlog transformation. Two transformations were applied to the counts of the Hammer et al. [26] dataset: the logarithm of normalized counts plus a pseudocount, i.e. f(K ij)= log2(K ij/s j+1), and the rlog. The gene-wise standard deviation of transformed values is variable across the range of the mean of counts using the logarithm (A), while relatively stable using the rlog (B). A hierarchical clustering on Euclidean distances and complete linkage using the rlog (D) transformed data clusters the samples into the groups defined by treatment and time, while using the logarithm-transformed counts (C) produces a more ambiguous result. sd, standard deviation.
Figure 5 Variance stabilization and clustering after rlog transformation. Two transformations were applied to the counts of the Hammer et al. [26] dataset: the logarithm of normalized counts plus a pseudocount, i.e. f(K ij)= log2(K ij/s j+1), and the rlog. The gene-wise standard deviation of transformed values is variable across the range of the mean of counts using the logarithm (A), while relatively stable using the rlog (B). A hierarchical clustering on Euclidean distances and complete linkage using the rlog (D) transformed data clusters the samples into the groups defined by treatment and time, while using the logarithm-transformed counts (C) produces a more ambiguous result. sd, standard deviation.CC BY · PubMed Central
Figure 6 Sensitivity and precision of algorithms across combinations of sample size and effect size. DESeq2 and edgeR often had the highest sensitivity of those algorithms that controlled the FDR, i.e., those algorithms which fall on or to the left of the vertical black line. For a plot of sensitivity against false positive rate, rather than FDR, see Additional file 1: Figure S8, and for the dependence of sensitivity on the mean of counts, see Additional file 1: Figure S9. Note that EBSeq filters low-count genes (see main text for details).
Figure 6 Sensitivity and precision of algorithms across combinations of sample size and effect size. DESeq2 and edgeR often had the highest sensitivity of those algorithms that controlled the FDR, i.e., those algorithms which fall on or to the left of the vertical black line. For a plot of sensitivity against false positive rate, rather than FDR, see Additional file 1: Figure S8, and for the dependence of sensitivity on the mean of counts, see Additional file 1: Figure S9. Note that EBSeq filters low-count genes (see main text for details).CC BY · PubMed Central
Figure 7 Benchmark of false positive calling. Shown are estimates of P(P value<0.01) under the null hypothesis. The FPR is the number of P values less than 0.01 divided by the total number of tests, from randomly selected comparisons of five vs five samples from the Pickrell et al. [17] dataset, with no known condition dividing the samples. Type-I error control requires that the tool does not substantially exceed the nominal value of 0.01 (black line). EBSeq results were not included in this plot as it returns posterior probabilities, which unlike P values are not expected to be uniformly distributed under the null hypothesis. FPR, false positive rate.
Figure 7 Benchmark of false positive calling. Shown are estimates of P(P value<0.01) under the null hypothesis. The FPR is the number of P values less than 0.01 divided by the total number of tests, from randomly selected comparisons of five vs five samples from the Pickrell et al. [17] dataset, with no known condition dividing the samples. Type-I error control requires that the tool does not substantially exceed the nominal value of 0.01 (black line). EBSeq results were not included in this plot as it returns posterior probabilities, which unlike P values are not expected to be uniformly distributed under the null hypothesis. FPR, false positive rate.CC BY · PubMed Central
Figure 8 Sensitivity estimated from experimental reproducibility. Each algorithm’s sensitivity in the evaluation set (box plots) is evaluated using the calls of each other algorithm in the verification set (panels with grey label).
Figure 8 Sensitivity estimated from experimental reproducibility. Each algorithm’s sensitivity in the evaluation set (box plots) is evaluated using the calls of each other algorithm in the verification set (panels with grey label).CC BY · PubMed Central
Figure 9 Precision estimated from experimental reproducibility. Each algorithm’s precision in the evaluation set (box plots) is evaluated using the calls of each other algorithm in the verification set (panels with grey label).
Figure 9 Precision estimated from experimental reproducibility. Each algorithm’s precision in the evaluation set (box plots) is evaluated using the calls of each other algorithm in the verification set (panels with grey label).CC BY · PubMed Central

Verification

Claims the paper makes

5 Valid · 2 Not valid · 23 Not checked · 131 Own results and interpretations

92 more claims

Create a free account to see all 161 claims and to verify the 37 references still open.

See all claims — free account
  • It may state two separate claims as one. 46
  • Probably not a substantial claim. 25
  • The quote only partly states this claim. 1

Create a free account to see these claims.

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

21 more claims about this paper

Create a free account to see every claim other papers make about this one.

See all claims — free account

Citations

Cites

Cited by

See all 106,327

Metadata

Authors
Love, M. I., Huber, W., & Anders, S.
Affiliations
  • Harvard University (US)
  • European Molecular Biology Laboratory (DE)
Corresponding author
Anders, Simon
Venue
Genome Biology
Published
2014-12-05
Volume
15
Issue
12
Pages
550-550
ISSN
  • 1465-6906 (ISSN-L)
  • 1474-760X
OpenAlex
W2179438025
Cited by
95,106
References
67
Citations by year
2026: 11574 · 2025: 14475 · 2024: 15115 · 2023: 12521 · 2022: 11630 · 2021: 10434 · 2020: 7275 · 2019: 4975 · 2018: 3356 · 2017: 2108 · 2016: 1106 · 2015: 434 · 2014: 42
FWCI
505.48
Type
journal article
Language
en
Open access
Licence
Locations
  • Genome biology (publishedVersion, cc-by)
  • bioRxiv (Cold Spring Harbor Laboratory) (acceptedVersion, cc-by)
  • Europe PMC (PubMed Central) (publishedVersion, cc-by)
  • PubMed Central (publishedVersion, cc-by)
  • PubMed (publishedVersion)
  • Digital Access to Scholarship at Harvard (DASH) (Harvard University) (submittedVersion, cc-by)
  • MPG.PuRe (Max Planck Society) (submittedVersion, other-oa)
Funders
  • International Max Planck Research School for Environmental, Cellular and Molecular Microbiology
  • European Commission
  • National Institutes of Health
  • National Cancer Institute (T32CA009337)
Topics
  • Life Sciences › Biochemistry, Genetics and Molecular Biology › Molecular Biology › Gene expression and cancer classification
  • Life Sciences › Biochemistry, Genetics and Molecular Biology › Molecular Biology › Genomics and Phylogenetic Studies
  • Life Sciences › Biochemistry, Genetics and Molecular Biology › Molecular Biology › Single-cell and spatial transcriptomics
Keywords
DESeq2, differential gene expression, RNA-seq, count data, shrinkage estimation, dispersion estimation, fold change, Bioconductor package
MeSH terms
Algorithms, Models, Genetic, RNA, Software, Sequence Analysis, RNA, Computational Biology, High-Throughput Nucleotide Sequencing

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

The claim verdicts this report counts are experimental: their accuracy is not yet measured.

A language model drew the claims from the paper on 2026-11-17, under version 3 of the claim definition (model deepseek-v4.1-flash, prompt extract-v3).

A second model labelled each claim on 2026-11-17 (model jev-1.13-20260917, definition revision gold-guideline-v0.2).

Cited sources are checked with a language model’s help (qwen3.8-omni-flash).

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.