18 — Reading a real result

Telling a finding from noise.

+ The questionHanded an omics report, how do you tell a real finding from noise?

What a differential table reports

A differential result is a table that compares two groups of samples feature by feature, and most omics studies end in one. Here a feature is anything the study measured, whether a gene, a protein or a metabolite, in a wider sense than the signals of an LC-MS run that Chapter 10 calls features. For each feature the table reports four things. It gives how large the difference between the groups is, as a fold change, and how surprising that difference would be if nothing were really different, as a p-value. It adjusts that p-value for the number of features tested. And it gives how abundant the feature was, because features present in small amounts are measured with more noise.

The 7 % of the opening story was a share of such a list: of the changes in gene expression seen during spaceflight, the share that had not returned to preflight levels six months after landing. Reading any such report means reading all four quantities together and knowing what each can and cannot say. The first, the fold change, is a ratio. If a gene averages 200 normalized counts in treated samples and 50 in controls, the fold change is 200 divided by 50, or 4, and the reverse comparison, 50 against 200, gives 0.25 (Chapter 7 explains normalized counts).

On a ratio scale those two look unequal, although they describe the same size of change in opposite directions. Counting the change in doublings makes them symmetric, which is why reports give the log₂ fold change: a fourfold rise is two doublings, a log₂ fold change of 2, and a fall to a quarter is two halvings, or −2. The rule of thumb practitioners carry follows from that: a log₂ fold change of 1 is a doubling, −1 is a halving, and every further unit is another factor of two. A value of 3 is therefore an eightfold increase, while a value of 0.2 is a 15 % increase, the kind of change that can be statistically significant and biologically unimportant.

Significance, and the price of testing everything

A p-value answers a narrow question: if there were truly no difference, how often would chance alone produce a difference at least this large? At the conventional threshold of 0.05, about one test in twenty will come out significant when nothing is going on. For one planned test that is an acceptable risk, but across 20,000 genes the same threshold fails badly, because 1,000 genes would be expected to pass by chance alone even if the treatment did nothing. Omics analysis therefore controls the false discovery rate, or FDR, which Chapter 8 introduced for the matching of spectra to peptides: the expected share of false findings among everything declared significant. The standard procedure comes from a 1995 statistical methods paper by Benjamini and Hochberg: it ranks the p-values and compares each with a threshold that rises with its rank.

Solved example: controlling the false discovery rate

Ten features are tested with a target false discovery rate of 5 %, and the sorted p-values are compared with thresholds equal to the rank divided by 10 and multiplied by 0.05. Rank 1 has a p-value of 0.001 against a threshold of 0.005, rank 2 has 0.004 against 0.010, and rank 3 has 0.012 against 0.015. Rank 4 has 0.030 against 0.020 and rank 5 has 0.041 against 0.025, while ranks 6 to 10 have p-values of 0.20 to 0.90 against thresholds of 0.030 to 0.050. The largest rank whose p-value is still below its threshold is rank 3, so features 1 to 3 are declared discoveries. Features 4 and 5 have p-values under 0.05 and are not discoveries, because across ten tests they are too likely to be chance.

A p-value is computed as if there were no effect

A p-value of 0.01 does not mean a 99 % chance that the finding is real, and a non-significant result does not show that there is no difference. A p-value says how surprising the data would be if there were no effect. How likely an effect is to be real also depends on how many hypotheses were tested and how plausible they were beforehand, which is exactly what false-discovery control and replication address.

The volcano plot

The standard picture of a differential result is the volcano plot, which places every feature by its log₂ fold change across the page and by its significance up the page. Significance is plotted in tenfold steps of the p-value, so that 0.001 sits one step above 0.01 and stronger evidence sits higher, and the resulting shape gives the plot its name. Features in the upper corners changed a lot and reliably, while the crowd at the bottom did not change detectably.

37 — Anatomy of a volcano plot
−4 −3 −2 −1 0 +1 +2 +3 +4 0 3 6 9 12 log2 fold change −log10 (p-value) schematic · 300 simulated genes 2-fold 2-fold FDR 5 % threshold (after multiple- testing correction) HIGHER IN TREATED LOWER IN TREATED NOT SIGNIFICANT big change, few reads: not significant highly significant, biologically small
RNAFocal detail
Plate 37 — A volcano plot sets the size of a change against the confidence in it. The two axes answer different questions: a tiny, highly significant change and a large, unreliable one both deserve skepticism. Findings worth following sit in the upper corners.

Two regions deserve suspicion rather than excitement. High up near the middle sit features with tiny changes and very small p-values, because with enough samples even trivial differences become highly significant. Far out at the sides but low down sit features with large changes and weak evidence, usually because they had few counts and therefore noisy estimates. The findings worth pursuing combine a change large enough to matter with evidence strong enough to trust.

Quality metrics decide whether any of it holds

The biology in a report can be interpreted only after the measurement itself has been shown to work, so a careful reader checks the quality metrics first. Each layer has its own quality metrics, the ones Chapter 16 tied to specific conversions, and the table lists them with what a problem looks like. Two rows of the table rely on the coefficient of variation, or CV, the spread of repeated measurements as a percentage of their mean, measured on a pooled quality-control sample that mixes a little of every sample and is run at intervals through the batch. For untargeted metabolomics, a 2018 review of quality-control practice by Broadhurst and colleagues gives a CV of 20 % or, for some sample types, 30 % as the usual limit for keeping a feature.

LayerMetrics to checkWhat a problem looks like
DNA sequencingQ30 fraction, coverage distribution, duplicate and mapping ratesthin or uneven coverage over the regions that matter
RNA-seqRNA integrity, reads per sample, genes detected, ribosomal fractionone sample with far fewer genes detected than its group
Proteomicsidentifications at 1 % FDR, missing values, CV of pooled QC injectionsdrifting QC signal across the run order
MetabolomicsCV of pooled QC samples, identification levelsmany features with QC CV above about 20–30 %
Cytometryevents in each gate, viability, calibration beadsa rare population defined by a few dozen events
EVsdetection limit in calibrated units, buffer and lysis controlscounts that do not fall on dilution

When the batch is the biggest signal

Samples are rarely processed in one go. They are extracted on different days, run on different plates and sequenced on different flow cells. Each set of samples processed together is a batch, and each batch leaves a small systematic shift on every measurement. With thousands of features, those small shifts add up to a signal that can be larger than the biology. A 2010 review by Leek and colleagues described how such batch effects lead to wrong conclusions when they line up with the comparison a study is making.

Principal component analysis shows the problem. It finds the directions along which the samples differ most and plots the samples along them. In a well-behaved experiment the leading components do not line up with processing batches, and they may reflect the groups being compared or other biology such as sex or donor. When the leading components separate the processing days instead, the batch dominates. If every treated sample was processed on one day and every control on another, the two are perfectly confounded, and no analysis can separate them afterwards.

38 — When the batch is the biggest signal
colored by condition: no separation control (8) treated (8) PC2 (11 %) PC1 (48 % of variance) schematic · 16 simulated samples grouped by processing day: clean separation along PC1 PC2 (11 %) PC1 (48 % of variance) processed on day 1 processed on day 2 the largest source of variation is technical
ReadoutFocal detail
Plate 38 — Principal component analysis shows what varies most between samples. Here it is the day the samples were processed, not the treatment. Unless the design balances conditions across batches, a batch effect can be mistaken for biology or can hide it.

The remedy therefore lies in the design of the experiment more than in any correction afterwards. In a sound design each group is spread evenly across batches, the run order is randomized, and pooled quality-control samples are included at intervals through every batch, because statistical batch correction works only when the design gives it something to work with. A batch effect is one fault of a longer chain that runs from the blood tube to the report, and Chapter 17 describes the others, such as swapped samples and contamination, together with the controls that catch them.

Reading a report row by row

The table below is an extract in the form of a typical differential expression report, with illustrative values and a plain-language reading of each row. Two of its rows carry the traps of the volcano plot. Gene 2 rose by only 13 %, yet its abundance and its adjusted p-value make the change reliable, so it is real and probably unimportant. Gene 3 changed about tenfold, but the estimate rests on a mean count of about nine reads per sample, and its p-value of 0.004 becomes 0.21 once it is adjusted for the number of genes tested. The last row is as important as any gene. A spike-in is one of the controls described in Chapters 16 and 17: a synthetic molecule added at the same amount to every sample. It should show no change, and if it did, every other row would be in doubt.

GeneMean countlog₂ FCp-valueAdjusted pReading
Gene 15,4002.11 in 10¹²4 in 10⁹about fourfold higher, abundant, strong evidence: a finding
Gene 212,8000.183 in 10⁸2 in 10⁵reliably higher, but only by 13 %: real and probably unimportant
Gene 393.40.0040.21tenfold change estimated from a mean count of about nine reads per sample: not significant after correction
Gene 4870−1.32 in 10⁵0.003about 2.5-fold lower, good evidence: a finding
Gene 51,1500.050.710.93no detectable change
Spike-in control3,0000.020.880.97a known constant reads as constant: the pipeline is not inventing differences
In practice

When an omics report arrives, read it in this order: the quality metrics and controls; the design, meaning replicates, batches and whether they were balanced; the principal-component plot; the adjusted p-values and fold changes together, never either alone; and only then the biology. Ask for the full table, not just the significant list, and for the software and settings used. Confirm a finding that will drive a decision in independent samples.

+ What this chapter established
  • Fold change is read on a log₂ scale, where 1 is a doubling, and a small fold change can be significant and unimportant.
  • Testing thousands of features needs false-discovery control, because a threshold of 0.05 alone would let about 1,000 of 20,000 genes pass by chance when nothing has changed.
  • A volcano plot shows the size of a change and the evidence for it together, and a finding worth pursuing needs both.
  • Quality metrics, controls and a balanced design come before any biological interpretation.