Tutorials › Statistical Methods for Single-Cell RNA Sequencing › Sources Of Overdispersion In Single-Cell Counts

Noise Models and Dropout · Tutorial 51 of 700

Sources Of Overdispersion In Single-Cell Counts

Learn how distinct sources of cell-to-cell and technical variation create overdispersion, and how to interpret count variance without mistaking its cause.

Intermediate 12 min read

What You'll Learn

  • Define overdispersion relative to a specified Poisson mean and sampling unit.
  • Use the law of total variance to separate conditional counting noise from variation in expected counts.
  • Calculate the effects of cell heterogeneity, variable capture, and varying library exposure.
  • Distinguish variation among cells from extra variation conditional on measured cell characteristics.
  • Recognize why a variance excess alone does not identify its mechanism.
  • Check common assumptions and choose diagnostics appropriate to the suspected source.

Why Counts Can Vary More Than Poisson Sampling Predicts

For a fixed gene and a population of cells, the Poisson model provides a useful reference: if each cell has the same expected count and counts arise through independent sampling, the variance equals the mean. Real single-cell data often depart from that reference. Cells can differ in their expression state, capture efficiency can vary, and measurements can reflect unrecorded differences in library exposure or experimental conditions. These differences can make counts across cells more variable than a homogeneous Poisson model predicts.

The reason for the excess matters. A variance greater than the mean does not, by itself, show whether cells differ biologically, capture varies technically, or the model omits a relevant factor. The law of total variance, introduced in the earlier material on that subject, gives a direct way to separate variation in counts conditional on a cell’s expected rate from variation in that expected rate across cells.

Definition: For a nonnegative count \(Y\) with mean \(\mu_Y>0\), its Fano factor is \(\operatorname{Var}(Y)/\mu_Y\). Relative to a Poisson model with mean \(\mu_Y\), the count is overdispersed when \(\operatorname{Var}(Y)>\mu_Y\), or equivalently when its Fano factor exceeds 1. This comparison is meaningful only after specifying the population of cells or other sampling units being considered.

A Poisson distribution is equidispersed: if \(Y\sim\operatorname{Pois}(\lambda)\), then \(E(Y)=\operatorname{Var}(Y)=\lambda\). That statement applies to the distribution under the specified model. If cells with different values of \(\lambda\) are pooled, their overall count distribution need not be Poisson, even if each cell’s count follows a Poisson model conditional on its own rate.

Separating Conditional Noise From Variation in Rates

Let \(Y\) be the count for a particular gene in a randomly selected cell, and let \(Z\) represent a cell characteristic or latent factor that affects its expected count. The law of total variance states that

$$ \operatorname{Var}(Y)=E\{\operatorname{Var}(Y\mid Z)\}+\operatorname{Var}\{E(Y\mid Z)\}. $$

The first term is the average count variance among cells with the same value of \(Z\). The second is the variance in conditional means across values of \(Z\). If counts are conditionally Poisson, \(Y\mid Z\sim\operatorname{Pois}(\lambda_Z)\), then \(E(Y\mid Z)=\operatorname{Var}(Y\mid Z)=\lambda_Z\), giving

$$ E(Y)=E(\lambda_Z),\qquad \operatorname{Var}(Y)=E(\lambda_Z)+\operatorname{Var}(\lambda_Z). $$

Thus, variation in cell-specific Poisson rates adds to the marginal variance. The added term is nonnegative and is positive whenever the rates vary across cells. The conclusion requires finite means and variances, and the conditional Poisson assumption. It describes variation across the specified cell population; it does not establish that the conditional Poisson model is appropriate for every cell.

Worked Example: Cell-State Heterogeneity

Suppose a hypothetical sample contains equal numbers of two cell states for a gene. Counts are conditionally Poisson, with expected counts of 2 molecules per cell in state A and 6 in state B. What are the mean and variance when the states are pooled?

The conditional mean is 2 for half the cells and 6 for half, so the pooled mean is

$$ E(Y)=\frac{2+6}{2}=4\text{ molecules per cell}. $$

The mean conditional Poisson variance is also \((2+6)/2=4\) counts squared. The variance in the two conditional means is

$$ \operatorname{Var}(\lambda_Z) =\frac{(2-4)^2+(6-4)^2}{2} =4\text{ counts squared}. $$

Therefore, the pooled variance is \(4+4=8\) counts squared, twice the pooled mean of 4 molecules per cell. The cells need not violate the Poisson model within state: pooling two states with different rates is sufficient to produce overdispersion. If the scientific target is variation within a state, the pooled variance answers a different question and should not be interpreted as within-state noise.

Variable Capture and Variable Exposure

Capture variability is another source of differences in expected observed counts. Consider a simple model in which the number of molecules before capture in a cell is Poisson with mean \(\lambda\). Each molecule is captured independently with probability \(q\), and \(q\) may vary across cells. Conditional on \(q\), Poisson thinning gives \(Y\mid q\sim\operatorname{Pois}(q\lambda)\). This model assumes a Poisson precursor, independent capture of molecules given \(q\), and a capture probability that applies to the molecules considered.

The conditional mean and variance are both \(q\lambda\). Applying the law of total variance,

$$ E(Y)=\lambda E(q),\qquad \operatorname{Var}(Y)=\lambda E(q)+\lambda^2\operatorname{Var}(q). $$

The first term in the variance equals the mean. The second is the excess arising from cell-to-cell variation in capture probability under these assumptions. If capture is constant across cells, this added term is zero. This result depends on the Poisson precursor: with a fixed number of precursor molecules, independent capture instead has a binomial conditional distribution, whose variance is below its mean. It is therefore inaccurate to say that every form of variable capture must produce overdispersion relative to a Poisson model.

Worked Example: Variable Capture Efficiency

In a hypothetical experiment, suppose each cell has a precursor count \(N\sim\operatorname{Pois}(10)\) for a gene. Half the cells have capture probability \(q=0.5\), and half have \(q=0.9\). Assume independent capture of each molecule and no other source of variation. Find the mean and variance of the observed count.

The average capture probability is \(E(q)=(0.5+0.9)/2=0.7\). The variance of the capture probability is

$$ \operatorname{Var}(q) =\frac{(0.5-0.7)^2+(0.9-0.7)^2}{2} =0.04. $$

The observed mean is \(10(0.7)=7\) molecules per cell. The variance is

$$ \operatorname{Var}(Y)=10(0.7)+10^2(0.04)=7+4=11\text{ counts squared}. $$

The variance exceeds the mean by 4 counts squared because the expected captured count differs between the two groups of cells. If every cell instead had \(q=0.7\), the observed count would be Poisson with mean and variance both equal to 7 under this model. The observed variance excess is consistent with variable capture in this example, but in real data it could also reflect other rate differences.

A related issue is varying exposure, such as differences in effective library size. To illustrate, let \(s\) be a dimensionless cell-specific exposure and suppose \(Y\mid s\sim\operatorname{Pois}(s\mu)\). If \(s\) is not accounted for, cells with larger \(s\) have larger conditional means. A known exposure can be included when comparing cells; if it is omitted, its variability contributes to the pooled variance.

Worked Example: Unmodeled Library Exposure

Suppose the baseline expected count for a hypothetical gene is \(\mu=4\) molecules per cell. Half the cells have exposure \(s=0.5\), and half have \(s=1.5\). Conditional counts are Poisson with mean \(s\mu\), and exposure is not included in the comparison. Calculate the pooled mean and variance.

The average exposure is \(E(s)=(0.5+1.5)/2=1\), and

$$ \operatorname{Var}(s) =\frac{(0.5-1)^2+(1.5-1)^2}{2} =0.25. $$

The pooled mean is \(E(s\mu)=4E(s)=4\) molecules per cell. The total variance is

$$ \operatorname{Var}(Y)=4E(s)+4^2\operatorname{Var}(s) =4+16(0.25)=8\text{ counts squared}. $$

The variance is twice the mean. This excess arises because exposure was left unmodeled, not because the conditional count distributions differ from Poisson. If the exposure values are measured and conditioned on, the conditional variance equals the conditional mean in each group: 2 counts squared at \(s=0.5\), and 6 counts squared at \(s=1.5\).

Other Sources and What a Variance Excess Can Show

Not every source of excess variation is simply a random Poisson rate. Transcriptional dynamics may produce counts that vary more than a Poisson distribution even after conditioning on measured cell characteristics. Unrecorded batch conditions, cell cycle, activation state, or differences in sample handling can also leave cells with different expected counts. Correlated measurements or dependence between molecules can violate the independent-event assumptions behind a Poisson model. In general, if \(Z\) describes measured or unmeasured conditions, then

$$ \operatorname{Var}(Y)-E(Y) = E\{\operatorname{Var}(Y\mid Z)-E(Y\mid Z)\} +\operatorname{Var}\{E(Y\mid Z)\}. $$

This identity separates two broad contributions: excess or deficit variance within conditions, and variation in conditional means between conditions. If each conditional distribution is Poisson, the first term is zero; if conditional counts are themselves overdispersed, that term can be positive as well. The formula does not identify which biological or technical mechanism generated either contribution.

The earlier material on diagnosing the Poisson mean-variance assumption provides the context for comparing observed variability with a Poisson reference. In practice, a sample variance above a sample mean is only a warning sign, not a mechanism test. Sample sizes are finite, and estimated means and variances fluctuate. A useful investigation asks whether the excess persists after comparing cells with similar measured characteristics, and whether it changes with plausible exposure or batch variables.

Possible sourceHow it can increase pooled varianceUseful distinction
Cell-state heterogeneityDifferent states have different conditional gene-expression means.Compare cells within biologically meaningful states; pooled and within-state variance answer different questions.
Variable capture efficiencyWith a Poisson precursor and independent capture, varying capture probability varies the observed mean across cells.Under a fixed-molecule binomial model, capture alone does not imply variance above the Poisson mean.
Unmodeled exposure or library sizeDifferent effective exposures create different expected observed counts.Check whether the excess changes when measured exposure is accounted for.
Extra conditional variation or dependenceCounts may vary more than Poisson even among cells with similar modeled means.Assess whether the assumed conditional count model remains plausible after relevant stratification.

Diagnostics, Comparisons, and Limitations

The homogeneous Poisson model is a useful baseline when cells under comparison have a common expected count and the conditional count process is plausibly Poisson. A stratified or covariate-conditional Poisson comparison is more appropriate when measured states or exposures differ. Explicitly accounting for a known exposure addresses that source of mean variation, while adding state or batch information can reveal whether pooled heterogeneity explains some of the excess. These approaches do not guarantee that the remaining conditional counts are Poisson.

Diagnostics should be tied to the proposed mechanism. Examine whether mean and variance comparisons change within relevant cell groups, whether counts vary systematically with library exposure, and whether differences align with recorded batch or state information. Check that groups have enough cells for their variance estimates to be informative. If apparent groups are defined after inspecting the same noisy counts, treat the resulting comparison cautiously. A single gene’s observed variance, especially in a small group, is not a precise estimate of its underlying variance.

The main limitation is identifiability: the same marginal mean and variance can result from distinct mixtures or from extra conditional noise. Counts alone generally cannot establish whether the source was biological heterogeneity, capture variability, exposure differences, or a misspecified conditional model. Additional measurements, experimental design information, or replicated observations may be needed to distinguish causes. Overdispersion is a property of the count distribution relative to a stated model; it is not a diagnosis of its cause.

Common Mistake

Wrong reasoning: “The variance across all cells exceeds the mean, so the Poisson model fails within every cell type and the extra variation must be technical.” This treats a pooled comparison as if all cells shared one conditional mean.

Correction: A mixture of cell populations with different Poisson means can have a variance larger than its pooled mean, as the first worked example shows. Compare like with like where possible, and distinguish variation between conditional means from extra variation within groups. Even after the latter is found, variance alone does not assign a biological or technical cause.

Key takeaway: Under conditionally Poisson sampling, heterogeneity in cell-specific expected counts adds \(\operatorname{Var}(\lambda_Z)\) to the marginal variance. That excess signals variation relative to a homogeneous Poisson reference, but further information is needed to identify its source.

Check Your Understanding

Answer each question using the specified model. Brief solutions follow the questions.

  1. Two equally common cell states have conditional Poisson means of 3 and 7 counts. Find the pooled mean and variance.
  2. Suppose a Poisson precursor has mean 5 molecules, and every cell has the same capture probability \(q=0.6\). What are the observed mean and variance under independent capture?
  3. A Poisson precursor has mean 8 molecules. Capture probability is 0.4 in half the cells and 0.8 in the other half. Find the observed mean and variance.
  4. Why does a fixed number of precursor molecules with independent capture not automatically imply overdispersion relative to a Poisson model?
  5. Does a pooled variance greater than the pooled mean establish that the conditional count model is overdispersed within each cell state? Explain.

Solutions. (1) The pooled mean is \((3+7)/2=5\). The variance is the mean conditional variance, 5, plus the variance of the two means, \(\{(3-5)^2+(7-5)^2\}/2=4\), for a total of 9 counts squared. (2) Poisson thinning gives mean and variance \(5(0.6)=3\), so both equal 3. (3) Here \(E(q)=0.6\) and \(\operatorname{Var}(q)=0.04\). The mean is \(8(0.6)=4.8\); the variance is \(4.8+8^2(0.04)=7.36\) counts squared. (4) With a fixed precursor count \(m\), independent capture gives a binomial count with variance \(mq(1-q)\), which is less than its mean \(mq\) for \(0<q<1\). (5) No. Different conditional means across states can produce pooled overdispersion even when counts are Poisson within every state; assess the conditional distributions separately.

Clinical Biostats