+ Part IV · From signals to populations

How rows of numbers become kinds of cell.

Two analysis programs given the same file can report different percentages. Nothing in the instrument can account for that difference, because both programs read the same data. Chapter 10 explains how software separates dyes whose light reaches the same detectors. Chapter 11 covers the controls that decide where a positive signal begins, and Chapter 12 the boundaries that group events into the populations a result reports. Each of these steps is taken by people or software after the instrument has finished, and each can change the answer.

10 — Compensation

When two dyes land in one detector.

+ The questionWhat does compensation fix when it subtracts one dye's light from another dye's detector, what can it never fix, and why is spectral unmixing the same problem?

Every detector sees more than one dye

Compensating a forty-dye panel would mean measuring 1,560 spillover values, one for each dye in each of the 39 other dyes' detectors.

The emission band of a dye is broad, tens of nanometers wide, with a long tail toward the red (Chapter 3). A bandpass filter passes a slice of the spectrum to each detector, and that slice usually contains the tail of a neighboring dye as well as the peak of the detector's own dye. Fluorescein glows most strongly near 520 nanometers, but part of its light reaches a detector set for phycoerythrin near 575. The fraction of a dye's signal that appears in another dye's detector is called spillover, which puts a number on the overlap of Chapter 3. Spillover is a property of the dye, the filters and the detector settings, not of the cell, so it is the same for every cell measured under the same conditions, except where a tandem dye degrades on some cells (Chapter 5).

26 — Every detector sees more than one dye
RELATIVE EMISSION 500 550 600 650 700 nm 530/30 575/26 FLUORESCEIN PHYCOERYTHRIN (PE) schematic spectra; spillover values illustrative 2 % spillover: the same for every cell 15 % of fluorescein's signal (illustrative)
FluorescenceFocal detail
Plate 26 — A dye's emission is broad, so part of fluorescein's light falls in the phycoerythrin detector's window. That fraction, the spillover, is a property of dyes, filters and settings, the same for every cell.

Spillover is also linear. A cell carrying twice as much fluorescein sends twice as much light into the phycoerythrin detector, so each detector's reading is a sum of contributions, one from each dye, and each contribution is proportional to the amount of that dye on the cell. That linearity is what makes the problem solvable: if the fraction each dye contributes to each detector is known, the readings can be converted back into the amount of each dye.

Compensation undoes the mixing

Compensation is that conversion. In a 2001 review, Mario Roederer called it "a simple application of linear algebra, with the goal to correct for spillovers of all dyes into all detectors." The fractions are measured with single-stain controls: samples each stained with only one of the panel's dyes, so that any light in the other detectors must be spillover. With two dyes there are two fractions to measure. In general there is one value for each dye in each detector other than its own, the number of dyes times one less than that number, so an eight-color panel has 56 spillover values and a twenty-color panel 380. Together the values form a table, the spillover matrix, with one row for each dye and one column for each detector.

Two dyes, worked

Suppose 15 % of fluorescein's signal spills into the phycoerythrin detector and 2 % of phycoerythrin's into the fluorescein detector. A cell carrying fluorescein worth 10,000 and phycoerythrin worth 4,000 reads 10,080 in the fluorescein detector and 5,500 in the phycoerythrin detector. Subtracting 15 % of the first reading from the second leaves 3,988. Dividing by 1 − 0.15 × 0.02, which is 0.997, restores 4,000. The same steps restore 10,000 for fluorescein. The correction is exact for the averages, and the division changes the result noticeably only when two dyes spill heavily into each other, which makes the divisor small. The values are illustrative, chosen for this guide.

The calculation is done by software, not by the instrument. The FCS 3.1 file stores the detector readings as measured and can carry the spillover values alongside them, and the standard states that "the stored data is always uncompensated." A laboratory can therefore recompute compensation with a better matrix long after acquisition. Older instruments that compensated in their electronics did not allow such a recalculation. Chapter 18 shows what happens when software drops the matrix.

What compensation can never remove

Compensation restores the average amount of each dye. It cannot restore the precision that spillover took away. The light that spills into a detector arrives as photons, and the photoelectrons they produce fluctuate by the square root of their number (Chapter 8). Subtracting the average spillover leaves the fluctuation behind, so a population that carries none of the second dye ends up centered on zero but spread more widely than cells that carried neither dye. In the 2001 review, Roederer showed that the spread rises with the square root of the spilled signal and that subtracting more cannot remove it, "because compensation is a linear process."

How much spread spillover adds

On average, a cell bright in fluorescein spills light worth 400 photoelectrons into the phycoerythrin detector. Counting statistics give that light a spread of about 20 photoelectrons, the square root of 400. After compensation the cell's phycoerythrin value is centered on zero, with that spread around it. A cell four times brighter spills 1,600 photoelectrons and leaves a spread of 40: four times the light, twice the spread. A dim phycoerythrin label that adds 30 photoelectrons to a positive cell is lost within the spread of the bright cells, though it would stand clear of unstained ones. The figures are illustrative, derived for this guide.

On a plot, the effect looks like a fan: the compensated negatives widen as the first dye grows brighter, and the widened edge can look like a dim positive population. The authors of a 2013 study named the effect spillover spreading. They defined a value for each dye and each detector it spills into, which measures the spreading independently of how brightly the cells are stained, and they collected the values into a spillover spreading matrix for each instrument. The authors of a 2021 study showed that this value changes with detector voltage, so it describes an instrument at its settings, not the dyes alone. They proposed an index that does not change with voltage.

27 — What compensation cannot remove
10² 10³ 10⁴ 10⁵ FLUORESCEIN (LOG) −100 +100 0 COMPENSATED PE (PHOTOELECTRONS, LINEAR) dim PE positive, +30 400 spilled SPREAD ±20 1,600 spilled ±40 4× LIGHT → 2× SPREAD lost in the spread, not the average schematic; values from the worked example
ReadoutFocal detail
Plate 27 — Compensation centers negatives on zero but cannot remove the counting noise of spilled light. Four times the light gives twice the spread, so a dim marker read in the receiving detector is lost in the fan.

The spillover spreading matrix completes the panel-design rule of Chapter 5. The first half of that rule is to pair the brightest dyes with the scarcest proteins. The second half is to avoid reading a dim marker in a detector that receives heavy spread from a dye that is bright on the same cells. Vesicle labels lie near the detection limits that the more sensitive instruments of Chapter 5 reached, of the order of 10 to 100 molecules of equivalent soluble fluorochrome, so every source of spread raises the level that a vesicle's label must clear, which argues for few colors and well-separated dyes.

A compensated plot can show cells that are not there

Too little compensation leaves a diagonal population that looks positive for two dyes. Too much pushes negatives below zero and can hide dim positives. Spillover spreading can look like a dim population. Editing the matrix by eye until a plot looks clean changes the averages to hide a spread that compensation cannot remove, and it makes the result wrong in a way that no later reader can detect.

Unmixing is the same arithmetic with more detectors

A full-spectrum or spectral cytometer replaces one detector per dye with many detectors per laser (Chapter 2). Each dye is then recorded as a signature: the pattern of its light across all the detectors. A cell's readings are the sum of the signatures of the dyes it carries, each weighted by the amount of that dye. With more detectors than dyes and noisy readings, there is in general no exact solution. Unmixing finds the amounts whose combined signatures fit the readings best, usually by the method of least squares. In a 2022 comparison, the founder of an analysis-software company describes conventional compensation as a special case of the same mixture model: the square case, in which the number of detectors equals the number of dyes.

28 — Unmixing is the same arithmetic
SIGNATURES ACROSS 16 DETECTORS DYE 1 DYE 2 DYE 3 similar signatures amplify spread CELL READINGS 1 16 detector cell readings = a₁ × dye 1 + a₂ × dye 2 + a₃ × dye 3 CONVENTIONAL 3 detectors × 3 dyes: square → compensation SPECTRAL 3 dyes × 16 detectors: more detectors than dyes → least-squares fit rows: dyes · columns: detectors
FluorescenceReadoutFocal detail
Plate 28 — A spectral cytometer records each dye as a signature across many detectors and finds the amounts whose signatures best fit a cell's readings. Compensation is the square case of the same model, with as many detectors as dyes.

Unmixing inherits both limits of compensation: it restores the averages and leaves the counting noise. It also makes common a third limit, which compensation meets only when two dyes spill heavily into each other. The divisor of the worked example, 0.997 there, then becomes small, and dividing by it magnifies every fluctuation. When two signatures are similar, small fluctuations in the readings can be assigned to either dye, and that amplifies the spread. A 2026 study measured this unmixing-dependent spreading on four spectral instruments from three manufacturers. An engineer at one manufacturer led the study, with academic co-authors. The authors found that the spreading is not new noise but a magnification of uncertainty already present in the raw data.

Plain least squares also assumes that every detector is equally noisy, which photon counts are not. In a 2013 analysis, the same software developer and academic colleagues argued that photon-count data violate the assumptions of plain least squares. They linked the violation to spreading and negative values, and they proposed a model built on photon statistics. Cells also glow faintly without any dye, which is called autofluorescence (Chapter 11). Unmixing can treat that glow as one more signature and subtract it the same way. The similarity indices that software reports for pairs of dyes have no peer-reviewed formula, and Chapter 14 weighs when a spectral instrument is the better choice.

The matrix is only as good as its controls

Every spillover value comes from a single-stain control, so the controls decide whether compensation is right. A 2006 guideline by staff of one manufacturer asked that each control be stained with one of the panel's own reagents and be at least as bright as the test samples. A later guideline for spectral cytometry added that controls use "the same antibody lot" and be treated like the samples, because fixation and pH can change a dye's spectrum. A manufacturer's staff were among that guideline's authors. Tandem dyes need controls from the same vial and lot, because their spillover changes as they degrade (Chapter 5).

EuroFlow is a European consortium that standardized cytometry panels and procedures for blood cancers such as leukemia, and its protocol puts these rules on a fixed schedule. Its leukemia panels return in Chapter 21. Its protocol sets compensation with samples each stained with a single antibody, by default once a month. For the protocol's two tandem dyes, the values are specific to each conjugate. In a test of eight laboratories, the compensation matrices of the seven instruments compared were similar, which is part of what lets a pattern read in one laboratory mean the same in another.

Treat the matrix as part of the result

In an assay specification, define the single-stain controls by reagent, lot, cell or bead type and brightness relative to the samples. State how often the matrix is recalculated and its acceptance limits. Keep the uncompensated data and the matrix used for each result. Design panels against a spillover spreading matrix measured on the instrument at its settings, and recalculate after a change of reagent lot, detector voltage, filter or laser.

+ What this chapter established
  • Dye emission is broad, so each detector receives light from several dyes; spillover is linear and depends on dyes, filters and settings, not on the cell.
  • Compensation inverts the mixing with spillover values, one for each dye in each detector other than its own, measured on single-stain controls, and the FCS standard requires data to be stored uncompensated.
  • Compensation restores averages but not precision: spread grows with the square root of the spilled light and limits dim markers in receiving detectors.
  • Spectral unmixing is the same model with more detectors than dyes; it magnifies the spread already present in the data when signatures are similar, as compensation does when two dyes spill heavily into each other, and depends just as much on its controls.
Created with Claude (Anthropic).
Educational reference material, not engineering, regulatory or clinical advice. Product and company names referenced are the property of their respective owners.