Tutorials › Statistical Methods for Single-Cell RNA Sequencing › Adaptive Mitochondrial Thresholds Across Cell Types

Quality Control, Doublets and Ambient RNA · Tutorial 24 of 700

Adaptive Mitochondrial Thresholds Across Cell Types

Learn to choose and assess mitochondrial-fraction thresholds that reflect sample and cell-group distributions without treating naturally high fractions as automatic evidence of poor-quality cells.

Intermediate 11 min read

What You'll Learn

  • Define fixed and adaptive mitochondrial-fraction thresholds for cell-level quality control.
  • Use medians and median absolute deviations to construct robust, group-specific cutoffs.
  • Compare fixed cutoffs with sample-specific and cell-group-specific approaches.
  • Identify assumptions, sparse-group problems, and ways thresholds can misclassify cells.
  • Interpret a threshold as a screening rule rather than proof of cell damage.

Why a Single Mitochondrial Cutoff Can Mislead

A mitochondrial RNA fraction is useful for identifying cell barcodes whose expression profiles may reflect damaged or stressed cells. But the fraction is not a universal measure of quality: cell types can have different baseline mitochondrial expression, and samples can differ in their distributions. A single fixed cutoff is easy to apply, yet it can exclude a biologically plausible population simply because that population tends to have higher fractions.

The goal of an adaptive threshold is not to make every group retain the same proportion of cells, nor to guarantee that all retained cells are valid. It is to compare cells with an appropriate reference distribution while keeping the biological meaning of the groups in view. The threshold is a screening decision that should be documented and checked, not a direct measurement of cell viability.

Definition: For cell \(i\), let \(M_i\) be its count of mitochondrial RNA molecules and \(T_i\) its total count over the genes included in the denominator. Its mitochondrial fraction is \(f_i=M_i/T_i\), provided \(T_i>0\). A fixed threshold applies the same upper limit to every cell. An adaptive threshold allows the limit to depend on a defined reference group, such as a sample or a sufficiently supported cell group. A cell is flagged when its fraction exceeds the chosen limit.

The denominator must be defined consistently across cells and samples. For example, if \(T_i\) is the total gene-associated count in the count matrix, then \(f_i\) is the share of those counts assigned to mitochondrial genes. A threshold stated as 0.10 is equivalent to 10%. The fraction is compositional: it can rise because mitochondrial counts increase, because other counts decrease, or both. Thus, a high fraction alone does not identify its cause.

Fixed and Adaptive Rules

A fixed rule has the form \(f_i>c\), where \(c\) is chosen in advance, for example \(c=0.10\). Its strengths are transparency, simplicity, and comparability when the same rule is appropriate across the data being compared. Its weakness is that it assumes the same fraction has the same QC meaning in every relevant sample and cell group. That assumption may be unreasonable when baseline distributions differ.

An adaptive rule first defines a reference group and then estimates a cutoff from the fractions in that group. Possible reference groups include all cells in one sample or cells assigned to a cell group within that sample. The grouping decision matters: a threshold calculated from all cells can be dominated by abundant cell types, while a threshold calculated within a tiny group can be unstable. If cell-group labels are not available independently, grouping by labels inferred from the same data may also create circularity: the cutoff can depend on a classification that is itself affected by QC.

Definition: For fractions \(f_1,\ldots,f_n\) in a reference group, the median \(m\) is the middle value when the observations are ordered (or the average of the two middle values for even \(n\)). The median absolute deviation is \(\mathrm{MAD}=\mathrm{median}(|f_i-m|)\). A robust upper rule can be written \(f_i>m+k(1.4826\,\mathrm{MAD})\), where \(k\) is a chosen multiplier.

The factor 1.4826 makes the MAD a scale estimate comparable to the standard deviation under a normal distribution. This does not make the fractions normally distributed, nor does it make the resulting cutoff a universal statistical test. The multiplier \(k\), the reference group, and the use of a one-sided upper rule are choices that require justification in context.

An alternative adaptive rule is a group-specific empirical quantile, such as flagging fractions above the 99th percentile. This controls the fraction of reference observations above the empirical cutoff approximately by construction, but it does not ensure that the flagged cells are poor quality. With few cells, quantiles are coarse and sensitive to individual observations. Robust location-and-scale rules and empirical quantiles answer different questions: the former scales a cutoff to estimated spread, while the latter sets a rank-based upper tail boundary.

Why the Robust Cutoff Has This Form

The normal-consistency factor can be justified directly. If observations come from a normal distribution with median \(\mu\) and standard deviation \(\sigma\), then the population median absolute deviation is the value \(d\) satisfying \(P(|X-\mu|\le d)=0.5\). Standardizing \(Z=(X-\mu)/\sigma\), this becomes \(P(|Z|\le d/\sigma)=0.5\). By symmetry, each tail has probability 0.25, so \(d/\sigma=\Phi^{-1}(0.75)\approx0.67449\). Therefore \(\mathrm{MAD}\approx0.67449\sigma\), and \(\mathrm{MAD}/0.67449\approx1.4826\,\mathrm{MAD}\) estimates \(\sigma\) under that model.

Consequently, \(m+k(1.4826\,\mathrm{MAD})\) is a robust, distribution-scaled upper boundary. It is not automatically a calibrated false-positive threshold. For example, interpreting a particular \(k\) as having a specified tail probability would require a distributional model and a suitable calibration. Mitochondrial fractions are bounded between 0 and 1 and may be skewed or multimodal, so that interpretation should not be assumed.

Worked Example: A Fixed Cutoff Excludes a Naturally High-Fraction Group

Suppose a hypothetical sample has six cells in each of two independently identified cell groups. Their mitochondrial fractions are A: 4%, 5%, 6%, 7%, 8%, 9%; and B: 12%, 14%, 16%, 18%, 20%, 22%. A fixed rule flags fractions above 10%.

Under the fixed rule, all six cells in group A are retained because \(9\%\le10\%\), while all six in group B are flagged because even its smallest fraction is \(12\%>10\%\). This rule removes 6 of 12 cells, or 50%, entirely from group B.

For comparison, calculate the robust cutoff separately in each group using \(k=3\). In group A, \(m=(6+7)/2=6.5\%\). The absolute deviations are 2.5, 1.5, 0.5, 0.5, 1.5, and 2.5 percentage points, so \(\mathrm{MAD}=(1.5+1.5)/2=1.5\) percentage points. The cutoff is \(6.5+3(1.4826)(1.5)=13.17\%\), to four significant figures.

In group B, \(m=(16+18)/2=17\%\). The absolute deviations are 5, 3, 1, 1, 3, and 5 percentage points, giving \(\mathrm{MAD}=(3+3)/2=3\) percentage points. Its cutoff is \(17+3(1.4826)(3)=30.34\%\). No cell in either group exceeds its group-specific cutoff.

This comparison shows how group-specific thresholds can avoid automatic exclusion of a group with a higher baseline distribution. It does not prove that every group B cell is healthy: the data provide no independent evidence about cell integrity, and six observations per group give limited information about the tails.

Worked Thresholds Within a Sample

Worked Example: Flagging an Extreme Cell Within a Cell Group

In a hypothetical cell group, the mitochondrial fractions are 12%, 14%, 16%, 18%, 20%, 22%, and 55%. Use the robust rule with \(k=3\).

The median is \(m=18\%\), the fourth ordered value. The absolute deviations from 18% are 6, 4, 2, 0, 2, 4, and 37 percentage points. Ordered, these are 0, 2, 2, 4, 4, 6, 37, so the MAD is 4 percentage points. The upper cutoff is \(18+3(1.4826)(4)=35.79\%\). The six observations from 12% through 22% are below this cutoff, and the 55% observation exceeds it. The rule flags that cell for review.

The calculation is resistant to the extreme value because both the median and MAD are based on ranks. It remains a screening flag, not a diagnosis. In a group of only seven cells, the observed distribution may not represent the full population, and the extreme fraction could have a biological or technical explanation that requires separate investigation.

Worked Example: Sample-Specific Rules Can Reflect Different Distributions

Suppose two hypothetical samples contain cells from the same broad cell group. Sample A has fractions 2%, 3%, 4%, 5%, 6%, 7%, 8%, 9%, 10%, and 11%. Sample B has 8%, 9%, 10%, 11%, 12%, 13%, 14%, 15%, 16%, 17%, and 40%. Calculate separate robust cutoffs using \(k=3\).

For sample A, the median is \((6+7)/2=6.5\%\). The ordered absolute deviations are 0.5, 0.5, 1.5, 1.5, 2.5, 2.5, 3.5, 3.5, 4.5, and 4.5 percentage points. The MAD is the average of the fifth and sixth values, \(2.5\) percentage points. Thus the cutoff is \(6.5+3(1.4826)(2.5)=17.62\%\). No sample A value exceeds it.

For sample B, the median is 13%. The ordered absolute deviations are 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, and 27 percentage points, so the MAD is 3 percentage points. The cutoff is \(13+3(1.4826)(3)=26.34\%\). The 40% value exceeds the cutoff; the other ten values do not.

Separate reference distributions allow the center of the rule to differ by sample, while the robust spread prevents the single 40% observation from inflating the cutoff greatly. Such a result is useful only if the samples are meaningfully comparable and the group definition is consistent. A shift in a sample's fractions could reflect biology, handling, or measurement differences; the threshold calculation alone cannot distinguish among these explanations.

Choosing a Reference Group and Checking the Result

An adaptive threshold depends as much on the reference group as on the formula. Sample-specific thresholds can accommodate sample-to-sample shifts, but pooling cell types within a sample may conceal distinct baseline distributions. Cell-group-specific thresholds address that issue when group labels are credible and groups have enough observations. In practice, a reasonable choice follows the known design and biology rather than a search for a rule that retains a desired number of cells.

Before applying a rule, inspect the distribution within each proposed reference group. Check its center, spread, shape, and sample size, and look for multimodality or a long upper tail. A single median-and-MAD summary may be uninformative for a mixture of subpopulations. Also verify that fractions were computed from the intended genes and denominator, and that zero-denominator cells were handled explicitly rather than assigned an artificial fraction.

After applying a threshold, report how many cells are flagged overall and in each sample and cell group. Examine whether an entire group is being removed, whether the cutoff is determined by only a few observations, and whether cells just above and below the boundary look meaningfully different. The boundary is a practical decision point, not evidence of a sharp biological transition.

1
Define the fraction and comparison unit.
Specify the mitochondrial numerator, total-count denominator, and whether reference distributions are sample-level or cell-group-level.
2
Inspect distributions and group support.
Check spread, skew, multimodality, and the number of cells. Avoid treating an unstable estimate from a tiny group as precise.
3
Choose and calculate a rule.
State the fixed cutoff or adaptive estimator and multiplier before interpreting which cells it flags.
4
Review flags in biological context.
Report flagged counts by group and investigate whether the rule disproportionately removes a plausible population. A flag is not, by itself, a reason to assert that a cell is invalid.

Common Mistakes and Limitations

  • Using one cutoff because it is familiar. A conventional fixed limit may be convenient but still be inappropriate for a population with a naturally higher fraction. Compare the observed distributions and biological context before applying it.
  • Assuming an adaptive rule is automatically superior. Group-specific cutoffs can be noisy, especially for small groups, and can normalize away a genuine quality problem shared by an entire group.
  • Calling every flagged cell damaged. The rule identifies a high fraction relative to a chosen boundary; it does not establish why the fraction is high or prove that the cell is unusable.
  • Choosing groups after seeing which rule preserves the desired cells. This makes the result difficult to interpret. Define groups and cutoff procedures using defensible biological or design information, and document the choices.
  • Treating the robust cutoff as a formal outlier test. Median plus a multiple of scaled MAD is a descriptive screening rule unless a probabilistic model and calibration justify a formal error interpretation.

Fixed cutoffs remain a reasonable alternative when a common criterion is justified and comparability across samples is the priority. Quantile-based rules are useful when the aim is to flag a chosen upper tail, but their flagged proportion is partly determined by the chosen quantile. Robust median-and-MAD rules are less sensitive to extreme observations, but can struggle with very small, highly skewed, or multimodal groups. No single method resolves the central limitation: mitochondrial fraction is only one aspect of a cell's observed profile, and its interpretation requires biological and technical context.

Key takeaway: A mitochondrial threshold should be matched to a defensible reference distribution. Fixed cutoffs provide a common boundary; adaptive cutoffs can accommodate sample- or cell-group differences. In either case, inspect the distributions, report the rule and its consequences, and interpret flags as QC evidence to review rather than as proof of cell damage.

Check Your Understanding

Answer each question using the definitions and procedures above.

  1. A cell has \(M_i=30\) mitochondrial counts and \(T_i=300\) total counts. What is its mitochondrial fraction? If the fixed cutoff is 12%, is it flagged?
  2. Why does the factor 1.4826 multiply the MAD in the robust cutoff?
  3. A group has a higher median mitochondrial fraction than other groups, but no values exceed its group-specific robust cutoff. Does this establish that the group is healthy? Explain.
  4. Name one situation in which a sample-specific threshold could be misleading.

Solutions. (1) \(f_i=30/300=0.10=10\%\). Since \(10\%\) is not greater than \(12\%\), the cell is not flagged. (2) For a normal distribution, the MAD is approximately \(0.67449\sigma\); dividing by 0.67449, or multiplying by approximately 1.4826, gives a scale estimate comparable to the standard deviation under that assumption. (3) No. The rule describes the cell's position relative to that group's distribution; it does not establish cell integrity or rule out a shared quality problem. (4) It could be misleading if a small or mixed sample produces an unstable reference distribution, or if a biological or technical shift moves the entire sample's fractions upward.

Clinical Biostats