Note
Why a second annotation method? Manual annotation (Lec 03) is interpretable but biased by the annotator’s experience. Reference-based annotation is reproducible but biased by the reference’s coverage. Running both and reconciling is the modern best practice.
You’ll see these in the literature; we don’t install them for the workshop, but it’s worth knowing how they differ from Azimuth.
celldex); returns a delta confidence margin.Note
| Column | Meaning | Threshold |
|---|---|---|
predicted.celltype.l2 |
the label | — |
predicted.celltype.l2.score |
classification confidence | > 0.7 = strong |
mapping.score |
how well the cell projects onto the reference manifold | > 0.7 = mappable; lower = novel state |
Warning
Low mapping score = the reference doesn’t cover this cell type.
Don’t take the label at face value — your data may contain a population the reference doesn’t know about (a tumour-specific state, a perturbed phenotype, a developmental intermediate).
IFN-β stimulated cells will have systematically lower mapping scores — this is expected, not a bug.
The Azimuth PBMC reference was built from resting PBMCs.
After IFN-β stimulation, cells shift their transcriptional state away from the resting manifold: ISG expression drives them off-reference.
In Tutorial 04, STIM cells map correctly to their cell type but with noticeably lower mapping.score than their CTRL counterparts.
When you plot FeaturePlot(seu, "mapping.score") you will see STIM and CTRL cells separate by score — interpret this as the stimulation signal, not evidence of labelling failure.
Important
Predict before you click. For each case, decide: trust the automatic label, trust your manual label, or flag for review?
mapping.score = 0.45, and your manual markers (CD3D, IL7R) clearly say T cell.0.92, but you had called it “unknown” because no single marker stood out.Answers:
FindConservedMarkers)table(seu$manual, seu$predicted.celltype.l2)celltype_final column with the resolved label and a celltype_method column (“manual” / “azimuth” / “consensus”)Tip
"CD14+ Monocytes", "Memory CD4 T"). Azimuth returns its own controlled vocabulary (e.g. "CD14 Mono", "CD4 Memory").Warning
Never publish reference-only labels without spot-checking markers. A two-line DotPlot of canonical markers per predicted label is the minimum due diligence.
LLM tools (and wrappers like GPTCelltype) can suggest labels from a cluster’s marker list. Fine as a brainstorm, risky as an answer:
DotPlot and the literature. :::Single Cell RNA-seq Workshop · Lecture 04