Why proportions must be read as parts of a whole
A cell-type proportion is not an isolated measurement. It describes how a total number of cells is divided among categories. If the categories account for every cell exactly once, raising one category’s share necessarily changes the shares available to the others. This is a mathematical constraint, not evidence that cell types biologically compete or that one type caused another to change.
That distinction matters in differential-abundance analysis. A proportion can change because the number of cells of that type changed, because the total number of cells used as its denominator changed, or because both changed. Reading each percentage as if it varied independently can therefore lead to misleading descriptions of what changed and misleading combined evidence across cell types.
The definition relies on the categories being mutually exclusive and exhaustive for the total being used: each included cell belongs to one category, and every cell in that total belongs to one of the categories. The denominator must also be defined consistently for the comparison at hand. If categories overlap, or if some cells are omitted from the denominator without being accounted for, the listed proportions need not sum to one and do not describe the stated composition.
Deriving the closure constraint
The sum-to-one constraint follows directly from the definition. Each cell count is divided by the same total, so summing the proportions recovers the total count divided by itself:
This is called closure: the components are constrained to sum to a fixed total. If proportions are reported as percentages, the corresponding total is 100%, rather than 1. Closure also means there are only \(K-1\) freely varying components: once \(K-1\) proportions are specified, the last must equal one minus their sum.
The same constraint applies to changes. If the proportions for a sample change from \(p_{ij}\) to \(p'_{ij}\), then \(\sum_j(p'_{ij}-p_{ij})=0\). Thus, an increase in one or more components must be balanced by a decrease in at least one other component, unless all components are unchanged. This statement concerns relative shares; it does not say that any cell type’s absolute count must fall.
Worked Example: Adding Cells of One Type
Suppose a hypothetical sample has 20 type-A cells, 30 type-B cells, and 50 type-C cells. The total is 100 cells, giving proportions \(0.20\), \(0.30\), and \(0.50\). Now suppose 20 additional type-A cells are included, while the counts of types B and C stay fixed.
Before the change, the proportions are \(20/100=0.20\), \(30/100=0.30\), and \(50/100=0.50\). After the change, the counts are 40, 30, and 50, and the new total is 120. The new proportions are:
The changes are approximately \(+0.1333\) for type A, \(-0.0500\) for type B, and \(-0.0833\) for type C. They sum to zero, as closure requires. Yet neither B nor C lost cells: each still has exactly its original count. Their proportions fell because the denominator increased when A cells were added.
How a change in counts moves every proportion
The effect of changing one count can be calculated explicitly. Write the original total as \(N\) and the original proportion of type \(j\) as \(p_j=y_j/N\). If \(\delta\) cells of type \(j\) are added and all other counts are held fixed, the new total is \(N+\delta\). For any other type \(k\), its count stays \(y_k\), but its proportion changes from \(y_k/N\) to \(y_k/(N+\delta)\):
For \(\delta>0\), this difference is negative whenever \(y_k>0\). The changed type’s own proportion increases by \[ \frac{y_j+\delta}{N+\delta}-\frac{y_j}{N} =\frac{\delta(N-y_j)}{N(N+\delta)}, \] which is nonnegative when there is at least one cell outside type \(j\). The changes across all types still sum to zero. If \(\delta<0\), the direction reverses when the resulting counts remain valid. These calculations describe a change in the composition caused by changing counts; they do not identify why the counts changed.
More generally, if several counts change by small amounts \(dy_j\), and \(dN=\sum_jdy_j\), then the corresponding first-order change in proportion \(p_j\) is \[ dp_j=(dy_j-p_jdN)/N. \] The term \(p_jdN\) captures the effect of the changing denominator. A count can rise while its proportion falls if the total rises sufficiently faster.
Worked Example: More Cells but a Smaller Share
In a hypothetical first sample, a cell type has 40 cells among 200 total cells, so its proportion is \(40/200=0.2000\). In a second sample, it has 50 cells among 300 total cells, so its proportion is \(50/300=0.1667\).
The count increased by \(50-40=10\) cells, but the proportion changed by \[ 0.1667-0.2000=-0.0333, \] a decrease of about 3.33 percentage points. The type has more observed cells in the second sample, but it accounts for a smaller share of that sample’s larger total. Calling this simply an “increase” or “decrease” in abundance without specifying the scale would be ambiguous.
A useful check is to state both quantities and their denominators: the count rose from 40 to 50, while the share fell from 20.00% to about 16.67% of the included cells. Neither statement cancels the other; they answer different questions.
Dependence among components
Because proportions in a sample sum to one, their variation is constrained. If one component varies while the others are fixed in number or share, the remaining components must collectively compensate. This creates dependence in the observed proportions, even when there is no biological interaction among the cell types.
The constraint can be expressed as an exact covariance identity. Suppose proportions for \(K\) types are measured on the same \(n\) donors, with each donor’s vector summing to one. For components \(j\) and \(k\), define their sample covariance by \[ s_{jk}=\frac{1}{n-1}\sum_{i=1}^{n}(p_{ij}-\bar p_j)(p_{ik}-\bar p_k). \] For each fixed component \(j\), the covariances with all components sum to zero:
because \(\sum_k p_{ik}=1\) for every donor and \(\sum_k\bar p_k=1\). In particular, the variance of component \(j\), which is \(s_{jj}\), must be balanced by its covariances with the other components. If \(j\) varies across donors, those covariances cannot all be zero. This is a mathematical dependence among the measured shares; its presence alone does not establish any biological mechanism.
Worked Example: A Dependence Created by Closure
Consider three hypothetical donors with proportions \((A,B,C)\) equal to \((0.20,0.60,0.20)\), \((0.30,0.50,0.20)\), and \((0.40,0.40,0.20)\). Each row sums to one. For A, the mean is \(\bar p_A=(0.20+0.30+0.40)/3=0.30\); for B, \(\bar p_B=0.50\). The sample covariance of A and B is:
The sample variance of A is \[ s_{AA}=\{(-0.10)^2+0^2+(0.10)^2\}/2=0.0100. \] C is constant, so \(s_{AC}=0\). Therefore \(s_{AA}+s_{AB}+s_{AC}=0.0100-0.0100+0=0\), as the covariance identity requires. The negative association between A and B in this example follows from the constructed proportions: as A rises, B falls to keep C fixed and the total at one. It is not, by itself, evidence of a biological antagonism.
Why ordinary independent tests can mislead
A common approach is to test each cell-type proportion separately and then interpret the results as though each test described an unrelated outcome. That interpretation can fail for two reasons. First, the proportions from the same sample share a denominator and a fixed sum; they are not independent measurements. Second, a change in one component’s share can be induced by changes elsewhere, even if that component’s own count is unchanged.
Consequently, a set of separate results may obscure the joint change in the composition. One type’s share can increase while several others decrease, and those decreases do not necessarily represent losses of cells. Treating the component-wise results as statistically independent can also make combined statements about evidence or error rates incorrect: the tests’ outcomes are dependent, so an independence-based calculation for their joint behavior need not apply.
This does not mean every test of one proportion is automatically invalid. A well-specified marginal analysis can address a clearly defined question about one cell type’s proportion, with its sampling unit and uncertainty handled appropriately. The caution is against treating all components as unrelated outcomes, or interpreting a component’s percentage change as an isolated absolute change. The choice of estimand, denominator, and inferential model determines what a test can support.
Worked Example: Interpreting Separate Proportion Changes
Suppose two hypothetical conditions have the following group-average compositions: condition 1 has A = 0.20, B = 0.30, and C = 0.50; condition 2 has A = 0.30, B = 0.25, and C = 0.45. Each composition sums to one. The component changes are:
The changes sum to \(+0.10-0.05-0.05=0\). It is accurate to say that A’s share rose by 10 percentage points and B’s and C’s shares each fell by 5 percentage points. It is not possible from these proportions alone to conclude that B and C lost cells, or that the rise in A caused their declines. The totals and absolute counts would be needed to answer questions about cell numbers; the proportions describe relative allocation within each stated total.
If three separate tests were performed, their results would still concern components tied by this sum constraint. One should not combine their p-values or describe their joint pattern using a calculation that assumes independent test results unless that independence is justified. Nor does one component’s result, by itself, describe the whole composition.
Diagnostics, alternatives, and limits
Before interpreting cell-type proportions, check the structure that makes them compositional:
- Check the sum. Confirm that the included proportions sum to one, allowing for rounding. A substantial discrepancy may signal omitted categories, overlapping labels, inconsistent denominators, or a data-processing error.
- Name the denominator. State which cells are included in the total. Proportions among all captured cells answer a different question from proportions among a selected subset.
- Report the scale. When relevant, distinguish cell counts from proportions and give the denominator for each proportion. A higher count and a lower share can occur together.
- Keep the observational unit clear. Proportions calculated for different donors are observations across donors; the cell types within one donor’s composition are not independent replicates.
- Look for impossible interpretations. A claim that every component’s proportion increased in the same sample contradicts closure. A claim that a falling proportion proves a falling count does not follow from the proportion alone.
There are several useful ways to describe a change, depending on the scientific question. Absolute counts address how many cells of a type were observed, although they do not by themselves resolve sampling and study-design issues. Component-wise proportions describe each type’s share of a stated total. Joint composition-aware analyses are designed to respect the fact that components belong together. A one-type-versus-all-others contrast can be useful for a specific marginal question, but it still compares that type with a denominator made from the remainder; it does not make the full set of components independent.
No representation is universally sufficient. Proportions discard information about the total number of cells, while counts depend on how cells were collected and counted. A composition also depends on the categories chosen: merging, splitting, or omitting cell types changes the represented parts and can change the interpretation. Closure is therefore a necessary feature of proportion data, not a complete model of biological abundance or of the process that generated the observations.
Check Your Understanding
Answer each question, then compare your reasoning with the solutions.
- A sample has 12 type-A, 18 type-B, and 30 type-C cells. What are the three proportions, and why must they sum to one?
- Type B has 25 cells in a sample of 100 and 30 cells in a sample of 150. Did its count and its proportion move in the same direction? Calculate both proportions.
- Can every component’s proportion rise between two conditions if the same exhaustive categories and denominator definition are used? Explain.
- Why does a negative association between two cell-type proportions not, by itself, establish biological competition?
- What should be checked if reported proportions for supposedly exhaustive, non-overlapping categories sum to 0.82 rather than approximately 1?
Solutions. (1) The proportions are \(12/60=0.20\), \(18/60=0.30\), and \(30/60=0.50\). Their sum is \(60/60=1\), because the category counts add to the total. (2) The count rose from 25 to 30; the proportion fell from \(25/100=0.25\) to \(30/150=0.20\). The directions differ because the total increased faster than the type-B count. (3) No. The component changes must sum to zero, so at least one component must fall if any component rises. (4) Closure itself can induce dependence: when one share rises, other shares must collectively fall, without implying a biological interaction. (5) Check for omitted or overlapping categories, differing denominators, unassigned cells, and calculation or rounding errors. A gap of 0.18 is too large to attribute to ordinary rounding.