How to combine repeated experiments in one graph (pseudoreplication and SuperPlots)
When you pool cells or wells from three repeats of an experiment and count each one as n, the P value becomes much smaller than it should be (pseudoreplication). Here is how to decide what n is, and how to draw a SuperPlot that shows cell-to-cell variation and run-to-run reproducibility at once, with numbers you can check.
What is pseudoreplication?
Pseudoreplication means treating measurements that are not independent as if they were. If you measure 6 cells in each of 3 experiments you have 18 cells, but cells from the same dish on the same day share the medium, the passage, the reagent lot and more. They tend to resemble each other, so 18 cells are not 18 independent experiments.
Statistical tests assume independent data and shrink the standard error as n grows. Counting cells as n therefore lets the number of cells you measured, rather than the size of the effect, decide the P value.
- Count n as the unit that received the treatment independently (run, animal, culture)
- Cells, fields and wells are repeats within that unit: average them first
- Three experiments means n = 3; if groups were run side by side in each, use a paired test
- A SuperPlot shows cell variation and run reproducibility in one graph
Example: how much does P change?
Made-up data on neurite length in control and drug-treated neurons: three experiments, six cells per group in each. The overall level differs a little between runs, as it often does in real experiments.
| Control mean | Drug mean | Difference | |
|---|---|---|---|
| Run 1 | 57.6 µm | 36.6 µm | 21.0 µm |
| Run 2 | 64.4 µm | 44.1 µm | 20.3 µm |
| Run 3 | 41.2 µm | 30.2 µm | 11.1 µm |
| Analysis | n | Result |
|---|---|---|
| t test with cells as n (wrong) | 18 per group | t(34) = 4.99, P = 1.8 × 10−5 |
| Unpaired t test on run means | 3 per group | t(4) = 2.19, P = 0.093 |
| Paired t test on run means | 3 pairs | t(2) = 5.45, P = 0.032 |
With cells as n, P = 0.00002 looks like an overwhelming effect; analyzed correctly on run means, P = 0.032 (paired). The size of the difference is the same (about 17.5 µm, 95% CI 3.7 to 31.2 µm), but the confidence in it differs by three orders of magnitude. The paired test gives a smaller P than the unpaired one (P = 0.093) because comparing within each run cancels the day effect, such as run 3 being lower overall.
How to draw a SuperPlot
The SuperPlot, proposed by Lord et al. (2020, J Cell Biol), overlays every cell’s value with the mean of each run.
- Plot cells as small dots, jittered within each group so they do not overlap.
- Color (and shape) by run, so run-to-run shifts are visible. Using shapes as well as colors keeps the plot readable for color-blind readers.
- Overlay run means as large symbols in the same color and shape, with an outline.
- Compute the group summary from run means: the line (mean) and error bar (e.g. SD) come from the three run means. State what the error bar is in the legend (see SD vs SEM vs 95% CI).
- Test on run means too, and write “n = 3 independent experiments” and the test used (e.g. paired t test) in the legend.
For three or more groups, use repeated-measures or one-way ANOVA with a multiple-comparison test on run means. In BenchFig, choosing “Match by run” with a run column runs repeated-measures ANOVA on the run means (see choosing a statistical test). For qPCR, compute ΔΔCt within each run, then compare runs on the ΔCt (log) scale (see the ΔΔCt method).
What BenchFig does
- Graph screen: add a run column and the graph becomes a SuperPlot, with t tests (paired or unpaired) or ANOVA + Tukey on run means.
- Repeated qPCR runs: load several CFX files at once, match sample and gene names, compute ΔΔCt per run and test on run means.
FAQ
What should I count as n?
The unit to which the treatment was independently applied: experimental runs, animals, separately cultured dishes. Cells in the same dish or replicate wells of the same sample are repeated measurements within that unit and are not n.
I only have two experiments.
With n = 2 a test has almost no power and the variability cannot be estimated. Do at least three runs if you can; otherwise show each run without a test and say so in the legend.
Can I use a mixed-effects model instead of run means?
Yes. A linear mixed model with run as a random effect uses the cell-level information well. With only 3–4 runs, though, the conclusion usually matches a test on run means, which is simpler to explain.
Why a paired test?
If control and treatment were run side by side in each experiment (same day, same passage), pairing removes the overall day-to-day shift. If groups were not matched within runs, use an unpaired test.
Related guides
Product and journal names are trademarks or registered trademarks of their respective owners.