The one idea
A flow cytometry file is a data matrix: rows are cells, columns are markers. Everything this week, about observational units, preprocessing, unsupervised exploration, batch effects and small-n validation, applies to it.
Week 9’s flow cytometry readings treated the instrument and the gate as an analytical method: controls, compensation, template gating, counting and dose. This reading takes the next step. When a panel measures 25 markers on every cell, drawing gates by hand on two-dimensional plots stops scaling, and the analysis becomes a multivariate modeling problem.
The case: an autologous CAR-T lot
A chimeric antigen receptor T-cell (CAR-T) product is made from the patient’s own T cells. They are collected, engineered with a chimeric antigen receptor against CD19, expanded and returned to the same patient. Each lot is one patient.
Lot 0420 has two flow datasets.
| Panel | Markers | Purpose | Analysis |
|---|---|---|---|
| Release panel | Viability, CD45, CD3, CAR detection reagent | Identity, purity, CAR+ %, input to dose | Validated template gating, as in Week 9 |
| Characterization panel (spectral, 25 colours) | CD3, CD4, CD8, CAR, memory markers (CD45RA, CCR7, CD27, CD62L), exhaustion markers (PD-1, TIM-3, LAG-3), CD19, CD14, CD56 and others | Phenotype for process understanding and comparability | Exploratory, multivariate |

Lot 0420 passes release. The characterization panel shows something the release gates never looked at.
Why gating by hand stops scaling
With n markers there are n(n − 1)/2 two-dimensional plots. Four markers give 6. Twenty-five give 300. Manual gating follows a hierarchy the analyst chooses in advance: live, then single cells, then CD3+, then CAR+. Every cell outside that path is never examined in the other dimensions. Gating is also a source of operator variability, which is why Week 9 insisted on templates.

Automated methods ask a different question: what populations exist in these 25 dimensions, without assuming the hierarchy? An international comparison of automated methods against expert manual gating (FlowCAP) found that the best algorithms reproduced manual results well. Combining several algorithms did better than any single one, the ensemble lesson from reading 2 again1.
Preprocessing a cytometry file
The steps map onto reading 1 and reading 4.
| Step | Why | Chemometric analogue |
|---|---|---|
| Unmixing (or compensation) | Separate fluorophore signals | Classical least squares, reading 4 |
| Quality gates: time, single cells, live cells | Remove acquisition artefacts, doublets and dead cells | Removing bad spectra |
| Arcsinh transform | Fluorescence spans orders of magnitude, and unmixing gives values near and below zero. Arcsinh is log-like for bright signals and linear near zero | A transformation chosen for the measurement, like Yeo-Johnson |
| Per-marker scaling | Markers have different dynamic ranges | step_normalize |
| Batch normalization | Staining day, reagent lot and instrument shift intensities | Calibration transfer |
library(flowCore)
library(FlowSOM)
ff <- read.FCS("lot_0420_unmixed_live_singlets.fcs")
cols <- c("CD3", "CD4", "CD8", "CAR", "CD45RA", "CCR7", "CD27",
"PD-1", "TIM-3", "LAG-3", "CD19", "CD14", "CD56") # marker channels
ff <- transform(ff, transformList(cols, arcsinhTransform(b = 1/150))) # cofactor 150
fsom <- FlowSOM(ff, colsToUse = cols, scale = TRUE,
xdim = 10, ydim = 10, # 100 small clusters on a self-organizing map
nClus = 15, # merged into 15 metaclusters
seed = 2026) # clustering is stochastic, so fix the seed
table(GetMetaclusters(fsom)) # cells per metacluster
PlotStars(fsom) # marker profile of each cluster
flowCore reads the FCS file and applies the transform2; FlowSOM does the clustering3. In practice the column names are the file’s channel names, mapped to markers. The reading here is what matters: transform, cluster, inspect.
FlowSOM and UMAP

FlowSOM first assigns every cell to one of about 100 nodes on a self-organizing map, then merges those nodes into a chosen number of metaclusters3. It is fast enough for millions of cells and performed well in a benchmark of clustering methods for cytometry4. Each metacluster has a median marker profile that a biologist names: “CD8+ CAR+ effector memory”, “CD4+ CAR− naive”, and so on.
UMAP (and the older t-SNE) squeezes the 25 dimensions into a two-dimensional picture where similar cells sit near each other. It is excellent for seeing populations. It is not a measurement:
- Distances between clusters, and cluster sizes, on a UMAP plot are not quantitatively meaningful.
- The layout changes with random seed and settings.
- Gating on a UMAP plot puts a validated decision on top of an unvalidated picture. Count events in the original marker space, using a defined procedure.
The rule is the same as for PCA score plots in Week 11: an exploration tool suggests where to look, and a defined, tested procedure makes the decision.
What the clustering found in lot 0420
One small metacluster, 0.3% of live cells, is CAR+ but CD3−. The release gating path (CD3+, then CAR+) never looks at CD3− cells for CAR expression, so these cells were invisible to it. They also stain dim for CD19.

This is not an abstract worry. In one published case, a patient’s CAR-T product contained a single leukemic B cell that had been transduced with the CAR. The CAR bound CD19 on that same cell’s surface, masking it both from detection and from the patient’s CAR-T cells, and the clone expanded into a CAR-expressing, therapy-resistant relapse5. A marker that is supposed to identify a cell can be hidden by the product itself.
For lot 0420 the honest interim position is the one from Week 11’s capstone: separate what is known, what is inferred and what is unresolved. The cluster is real if it survives a different seed, a different number of metaclusters and a re-stain. Next come doublet and viability checks on those events. Its identity needs orthogonal evidence: B-cell markers not masked by CAR binding, and molecular methods. A 0.3% cluster in an exploratory panel does not by itself fail a lot. It does start an investigation, escalated through the quality system, and passing the routine specification does not remove the need to assess a credible new risk before disposition.
Batch effects masquerade as biology
Cluster products stained on different days, and you may find a cluster that is really a staining day: slightly brighter CD8 across every cell from one run. This is the column-lot problem from reading 4 in cytometry form. The defences are the same:
- Run a shared reference sample (an aliquot of one control product, or beads) with every batch, as Week 9’s instrument trending did for single markers.
- Normalize each batch to the reference before clustering. CytoNorm does this using the shared control6.
- Randomize sample-to-batch assignment where you can (reading 3), so that run day cannot line up with the factor you are studying.
Normalization has its own risk. Applied carelessly, it can erase a genuine biological difference or hide an instrument that is out of control, so the reference sample’s own trend should be reviewed before it is used to correct anything.
One patient per lot: small n, many features

Autologous products break the assumptions behind reading 5’s “set of good batches”. Most lot-to-lot variability comes from the starting material: the patient’s age, disease and prior chemotherapy. It does not come from the process. There is no stable population of identical inputs from which to draw a normal envelope.
The pull, then, is to correlate product phenotype with clinical response. Studies have linked memory-like CAR-T phenotypes in the product with durable response7. But a typical dataset has 40 patients and hundreds of candidate features: every metacluster’s frequency, every marker’s intensity. With that ratio, some feature will correlate with response by chance alone. The safeguards are this week’s:
- The patient is the observational unit. Cells are not; there are millions of them, and they are not independent evidence (reading 1).
- Cross-validate by patient, and confirm in an independent cohort before believing a biomarker.
- Prefer the simplest model that the evidence supports (reading 2).
- A correlation between phenotype and response is a hypothesis about cause, to be tested by changing the process (reading 3).
Where release sits, and where this sits
Release decisions for cell therapy use validated, template-gated methods with defined controls. Clustering is itself a model, with a seed, a cluster count and a training set, so it would need its own validation before it could make a release call. Today high-dimensional analysis mainly supports characterization, process development, investigations and comparability after a process change, where ICH Q5E asks whether quality attributes are highly similar before and after. Panels and analyses that prove their worth there are how future release methods get designed. Moving one into release means fixing its intended purpose, locking the preprocessing and model settings, validating it and managing it over its lifecycle, the path ICH Q14 describes for any analytical procedure.

Where the analyst sits
The analyst decides what counts as an observation (cell, sample or patient), checks that a cluster survives reasonable changes to the analysis, and recognizes a batch effect before it is named as biology. They keep exploratory pictures out of release decisions and report a surprising population as an open question with a plan.
For discussion
- Why could the release gating path never detect the CAR+ CD3− population?
- Give two ways to tell a real rare population from a clustering artefact.
- A study finds that 3 of 200 phenotype features predict response in 40 patients. What would you need before using any of them in a specification?
- How is a staining-day batch effect like a column-lot effect in HPLC, and how is each corrected?
Bridge back to the week
This is the last reading. Return to Week 12 for the M7 case, the capstone and the presentations.
Sources
Lot 0420, its panels and the CAR+ CD3− cluster are constructed for teaching. The transduced-leukemic-cell case5 is real. The figures are schematic teaching illustrations, not experimental data.
N. Aghaeepour et al., “Critical assessment of automated flow cytometry data analysis techniques,” Nature Methods 10(3) (2013) 228–238. DOI. ↩︎
F. Hahne et al., “flowCore: a Bioconductor package for high throughput flow cytometry,” BMC Bioinformatics 10 (2009) 106. DOI. ↩︎
S. Van Gassen et al., “FlowSOM: Using self-organizing maps for visualization and interpretation of cytometry data,” Cytometry Part A 87(7) (2015) 636–645. DOI. R package on Bioconductor. ↩︎ ↩︎
L. M. Weber and M. D. Robinson, “Comparison of clustering methods for high-dimensional single-cell flow and mass cytometry data,” Cytometry Part A 89(12) (2016) 1084–1096. DOI. ↩︎
M. Ruella et al., “Induction of resistance to chimeric antigen receptor T cell therapy by transduction of a single leukemic B cell,” Nature Medicine 24 (2018) 1499–1503. DOI. ↩︎ ↩︎
S. Van Gassen et al., “CytoNorm: A Normalization Algorithm for Cytometry Data,” Cytometry Part A 97(3) (2020) 268–278. DOI. ↩︎
J. A. Fraietta et al., “Determinants of response and resistance to CD19 chimeric antigen receptor (CAR) T cell therapy of chronic lymphocytic leukemia,” Nature Medicine 24 (2018) 563–571. DOI. ↩︎