DESeq2 Internals — Can I Trust These Results?¶
In the app: QC & samples › DESeq2 Internals
Available when the pipeline delivered DESeq2's intermediate files: size_factors.tsv, featurecounts_summary.tsv, a <contrast>.dispersion.tsv or loo_deg_overlap.tsv.
The differential-expression reports read DESeq2's results. While fitting its model, DESeq2 also computes quantities that answer a different question: can these results be trusted? This report shows them — size factors, dispersion estimates, Cook's distance and leave-one-out stability — exactly as the pipeline wrote them. Nothing is refitted here; the only number Insights derives itself is DESeq2's default Cook's cutoff, when the pipeline did not record the one it used.
Each section appears only when its file exists, so a project may show some of them and not others.

Example output from a demonstration project with synthetic data.
Findings¶
The Findings box opens with "The quantities DESeq2 computed while fitting the model, as the pipeline wrote them. Nothing is refitted here." Then, as the data allow:
- Dispersion level — "Fitted dispersion at high expression ≈ … (biological CV ≈ …%)", the median fitted dispersion of the top tenth of genes by expression, with its square root as the biological coefficient of variation. The page notes that typical cell-line work is below 0.05 and that tissue and in-vivo samples run higher.
- ⚠️ Heavy shrinkage — when more than half the genes had their dispersion shrunk by more than half toward the trend: with few replicates, the trend drives the estimates.
- ⚠️ Size-factor spread — when size factors span more than 4×: depth differs a lot between libraries, and low-depth samples carry more noise.
- ⚠️ Size factor vs library size — samples whose size factor and relative library size disagree (ratio outside 0.67–1.5), which points to a difference in RNA composition: a few very highly expressed genes, or contamination.
- Cook's distance — how many genes exceed the Cook's cutoff the run used (or DESeq2's default,
qf(0.99, p, m − p)), with the sample and coefficient counts, and whether DESeq2 replaced outlier counts and refitted those genes or flagged them by setting their p-value to NA. When the design has no more samples than coefficients, the cutoff is reported as not applicable. - Leave-one-out — either that every leave-one-out run keeps at least 50% of the DEG set, so no single sample drives the result, or a ⚠️ line for each sample whose removal leaves less than that.
Filters¶
Shown only when the project has more than one contrast with the relevant file.
Dispersion contrast¶
Which contrast's dispersion estimates to plot. Lists every contrast with a .dispersion.tsv file.
Cook's distance contrast¶
Which contrast's Cook's distances to plot. Lists the contrasts whose DESeq2 results carry a per-gene maximum Cook's distance.
Charts¶
Size factors vs relative library size¶
One bar per sample for its DESeq2 Size factor, with a diamond for its Library size (relative) — the library size divided by the geometric mean across samples. The two usually track each other; a sample where they part company has an unusual RNA composition.
featureCounts assignment¶
When featurecounts_summary.tsv is present: a stacked bar per sample showing, as % of reads, how featureCounts assigned the reads (Assigned and each Unassigned category).
Dispersion estimates¶
DESeq2's dispersion plot, both axes on a log scale: Mean of normalised counts against Dispersion, with grey points for each gene's Gene-wise estimate, blue points for the Final (shrunk) value, and a red line for the Fitted trend. Final values pulled onto the trend are what DESeq2 uses for testing. For large projects a note under the chart says how many genes are drawn, evenly spaced over mean expression.
Cook's distance¶
A histogram of each gene's maximum Cook's distance (log10 scale), with the cutoff as a dashed red line. The title gives the cutoff and how many genes are over it; a note under the chart says where the cutoff came from.
Leave-one-out stability¶
When loo_deg_overlap.tsv is present: one bar per left-out sample (and contrast) giving the Jaccard overlap between the DEG set with every sample and the DEG set without that one. Bars below the dashed 0.5 line are red.
Raw data¶
Raw data — Size factors¶
| Column | Meaning |
|---|---|
sample |
Sample name |
size_factor |
DESeq2's size factor for the sample |
library_size |
Total counts for the sample |
library_size_source |
Where the library size came from: pipeline, or all.raw_counts.tsv column sums when the pipeline left it empty |
sf_over_depth |
Size factor divided by relative library size; values outside 0.67–1.5 are flagged in Findings |
Raw data — Top 25 genes by Cook's distance¶
The 25 genes with the largest maximum Cook's distance in the chosen contrast, with the columns available among gene_id, gene_name, baseMean, log2FoldChange, pvalue, padj and maxCooks.
Raw data — Leave-one-out stability¶
| Column | Meaning |
|---|---|
contrast |
The contrast |
left_out_sample |
The sample left out of the refit |
n_deg_full |
DEGs with every sample |
n_deg_loo |
DEGs without that sample |
n_shared |
DEGs found both ways |
jaccard |
Overlap of the two sets (shared / union) |
Interactive / All options¶
Interactive (the default) is the view described above. All options shows the report as the app's full report page, with its own Contrast selector, and charts that follow the Appearance settings in the Report settings panel (see Report Settings).
Reading it¶
- Dispersion measures how much a gene's counts vary between replicates beyond counting noise. High dispersion means less power: a real change has to be larger to reach significance.
- When most final dispersions sit on the trend, the replicates were too few for DESeq2 to trust each gene's own estimate. Results are still valid, but gene-specific variability is hidden.
- A gene with a large Cook's distance has one sample pulling its fit. Check such genes in Gene Card before relying on them.
- A low leave-one-out Jaccard means the DEG list leans on one sample; look at that sample in Sample QC and PCA.