Heatmap by Gene — Expression Z-scores¶
In the app: Expression › Heatmap by Gene
Heatmap by Gene shows how each gene's expression varies across samples. Each row is a gene, each column a sample, and each cell the gene's z-score: its log2(normalised count + 1) in that sample, centred on the gene's own mean and scaled by its standard deviation. Because every row is scaled separately, the colours show where a gene is high or low relative to itself, so genes of very different abundance can be compared by pattern.

Example output from the sample project.
Findings¶
- How many genes were considered, where they came from — all genes, the sidebar gene filter, or the highlighted genes — and across how many samples.
- When more genes qualify than the report shows, a note such as "145991 genes found — showing top 20 by variance."
Which genes are shown¶
- If Filter by gene ID or Filter by gene desc is set in Report settings, those genes.
- Otherwise, if Highlight gene ID or Highlight genes desc is set, those genes.
- Otherwise, all genes.
From that set, if it is larger than Top N (Report settings, default 20), the Top N genes with the highest variance across samples are kept. Rows appear in order of variance, highest first; they are not clustered.
Heatmap¶
Titled Gene Expression Heatmap (Z-score of log2 Normalised Counts), with Sample on the x-axis and Gene on the y-axis. Rows are labelled with the gene description where one exists, otherwise the gene ID. The colour scale runs from blue (−3, below the gene's mean) through white (its mean) to red (+3, above it). On small heatmaps (up to 200 cells) each cell also shows its value.
Raw data¶
Raw data — Z-score table — open by default. One row per gene shown: gene (description or ID), then one column per sample with the z-score, rounded to three decimals. Download CSV saves it.
Report settings that apply¶
Top N sets how many genes are drawn; Filter by gene ID / desc and Highlight gene ID / desc choose the gene set as described above. Appearance sets size and font. Thresholds do not change this report. See Report Settings.
Reading it¶
Look for blocks: samples of one group that share red (or blue) across many genes point to a group-level difference. A single sample column that disagrees with its replicates is worth checking in Heatmap by Sample or PCA. Z-scores say nothing about absolute abundance — a gene with almost no reads can still show deep red; check counts in Gene Card or TPM Explorer.