Contrast Scatter — Compare Two Contrasts¶
In the app: Differential expression › Contrast Scatter
Needs at least two contrasts; with only one, the page says so instead.
Contrast Scatter answers "do two contrasts move the same genes in the same direction?" It joins the two contrasts' results on gene ID and plots each shared gene's log2FC in contrast A (x-axis) against its log2FC in contrast B (y-axis). Use it to compare two treatments, two time points or two tissues against a common reference.
The full DESeq2 results are used behind pipeline-filtered files, so genes significant in only one contrast, or in neither, are included.

Example output from the sample project.
Findings¶
- How many genes are in both contrasts and the Pearson correlation of their log2FC.
- Four tiles counting each class:
- Concordant — significant in both contrasts, in the same direction.
- Discordant — significant in both, in opposite directions.
- One significant — significant in only one of the two.
- Not significant — significant in neither.
Filters¶
Contrast A (X-axis)¶
Defaults to the first contrast.
Contrast B (Y-axis)¶
Defaults to the second. Choosing the same contrast for both asks you to pick two different ones.
Scatter plot¶
Titled log2FC: A vs B (r = …), with axes log2FC — A and log2FC — B. Points are coloured by class — Concordant in the Up colour, Discordant in the Select colour, One significant in the Down colour, Not significant in the Others colour. Thin lines mark zero on each axis and a dotted diagonal marks equal change. When more than 3,000 genes are not significant, a random 3,000 of them are drawn; all other classes are drawn in full.
Raw data¶
- Raw data — Concordant genes and Raw data — Discordant genes, each sorted by padj in contrast A.
- Raw data — All shared genes — the first 1,000 rows; Download All CSV has every shared gene.
| Column | Meaning |
|---|---|
| gene_id | The gene's identifier |
| log2FC_A / padj_A / dir_A | Fold change, adjusted p-value and direction (Up, Down, Other) in contrast A |
| log2FC_B / padj_B / dir_B | The same for contrast B |
| concordance | The gene's class |
A gene_desc column is added when the results carry descriptions.
Report settings that apply¶
Adjusted p-value threshold and log2 Fold Change threshold decide which genes are significant, and so every class; Dot Size and the colours style the plot. The Report settings Contrast is not used — this report has its own two selectors. See Report Settings.
Reading it¶
Points along the diagonal respond alike in both contrasts; points along one axis respond in only one condition; points in the off-diagonal quadrants respond in opposite directions. The correlation uses every shared gene, most of which did not change, so it is often low even when the significant genes agree — read the Concordant and Discordant counts as well. For more than two contrasts at once, use Upset or Enrichment Compare.