VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

Why Science? | cell2location, Bayesian Cell-Type Mapping and Spatial-Transcriptomics Evidence

Three students sit around open books and worksheets at a classroom table, reading, writing and discussing the work together.

eduKateSG · Why Science?

Resolve mixtures of cell types across spatial capture locations with a Bayesian model, then test how references, priors, technology and independent tissue evidence shape every abundance map

Full section index · Science Learning Hub

Science learning becomes useful when a familiar object or observation is turned into a system of quantities, mechanisms and claim limits. This guide owns one applied evidence-reading job inside eduKateSG’s wider Science estate. It connects naturally to Why Science Spatial Transcriptomics Tissue Coordinates Gene Expression Evidence; Why Science Single Cell Rna Sequencing Barcodes Transcriptome Heterogeneity Evidence; Why Science Slide Seq Dna Barcoded Bead Pucks Spatial Transcriptome Evidence; Why Science Pixel Seq Polony Gel Stamping Single Cell Spatial Evidence; Education Hub; Singapore Secondary School Directory; Career Adulthood Hub. It also keeps current school and public claims traceable to visible primary sources: cell2location primary study; cell2location PubMed record; Official Bayraktar Lab cell2location repository; Wellcome Sanger Institute cell2location overview; 2026 Singapore–Cambridge O-Level Biology syllabus; MOE G2/G3 Lower Secondary Science syllabus. The sources describe the scientific scope; this article translates that scope into a calm route for Primary Science, PSLE Science, Secondary Science, O-Level Science, STEM exploration, school choices and career pathways without inventing admission or employment outcomes.

cell2location is a Bayesian model for estimating the abundance of fine-grained cell types at spatial transcriptomics locations by combining spatial counts with reference signatures learned from single-cell RNA sequencing. The Nature Biotechnology study accounted for technical variation and shared information across locations, then demonstrated the approach in mouse brain, human lymph node and human gut. Those abundance maps are statistical estimates rather than direct cell photographs. Reference completeness, related cell types, prior assumptions, spatial assay sensitivity and orthogonal validation remain essential evidence boundaries.

Section 1 of 36

1. Begin with mixed capture locations

Many spatial transcriptomics spots contain RNA from several neighbouring cells. A spot-level count matrix therefore blends cell types and technical effects. cell2location estimates how much of each reference cell type is present at each location, converting mixed expression into an abundance map while keeping the result statistical rather than photographic.

Contents · Next section

Section 2 of 36

2. Learn reference signatures first

The model begins with single-cell RNA-sequencing data and estimates characteristic expression signatures for annotated cell types. These signatures should reflect the tissue and condition being mapped. Mislabelled cells, doublets, missing states or large batch differences can make two cell types appear interchangeable downstream.

Contents · Previous section · Next section

Section 3 of 36

3. Use a Bayesian generative model

cell2location describes how reference signatures, cell abundances and technical factors could generate observed spatial counts. Bayesian inference estimates a posterior distribution over unknown quantities. That framework supports uncertainty-aware reasoning, but priors and model structure still matter; Bayesian does not mean assumption-free.

Contents · Previous section · Next section

Section 4 of 36

4. Account for technical variation

Spatial platforms differ in detection sensitivity and background. The model includes components intended to separate biological abundance from location- or experiment-level technical variation. If a technical pattern aligns perfectly with anatomy or treatment, however, no equation can identify the cause without balanced design and controls.

Contents · Previous section · Next section

Section 5 of 36

5. Borrow strength across locations

Related locations help stabilise estimates where counts are sparse. This can reveal fine cell populations more clearly than treating each spot alone. Sharing information also risks smoothing true sharp boundaries, so raw counts, posterior abundance and tissue morphology should be viewed together.

Contents · Previous section · Next section

Section 6 of 36

6. Estimate abundance, not merely presence

A cell type can have a continuous estimated abundance at each location. Thresholding that value into present or absent discards uncertainty and can manufacture crisp borders. Report posterior summaries, detection limits and how results change across reasonable thresholds.

Contents · Previous section · Next section

Section 7 of 36

7. Keep the published demonstrations specific

The study mapped fine-grained cell types in mouse brain, human lymph node and human gut. Reported examples included astrocyte subtypes in thalamus and hypothalamus, rare pre-germinal-centre B cells in lymph node and immune populations in gut follicles. These demonstrations do not guarantee identical resolution in another specimen.

Contents · Previous section · Next section

Section 8 of 36

8. Build a representative single-cell reference

Sample the same tissue compartment, biological condition and relevant donors where possible. Retain enough cells for rare populations and related subtypes. A reference dominated by common cells can make rare signatures noisy and inflate confident assignments to the nearest abundant class.

Contents · Previous section · Next section

Section 9 of 36

9. Audit annotation evidence

Every reference label should be supported by marker genes, clustering context and appropriate expertise. Closely related immune or glial populations require particular care. Preserve uncertain or hierarchical labels instead of forcing fine names that the reference data cannot distinguish.

Contents · Previous section · Next section

Section 10 of 36

10. Quality-control spatial counts

Inspect tissue coverage, library size, genes detected, background, edge effects and histology. Spatial locations with little RNA can yield unstable mixtures; locations over folds or damaged areas can carry misleading signal. Map exclusions rather than hiding them in a spreadsheet.

Contents · Previous section · Next section

Section 11 of 36

11. Align gene identifiers and biology

Reference and spatial datasets must share consistent gene identifiers and comparable biology. Duplicated symbols, missing genes and different genome annotations silently shrink the informative overlap. Record the exact shared set and assess whether subtype markers survived that intersection.

Contents · Previous section · Next section

Section 12 of 36

12. Choose priors from measurement

Priors such as expected cells per location should be informed by spot size, nuclear density, tissue morphology or calibration. They regularise sparse problems, but a prior tuned for one tissue can distort another. Sensitivity analyses should vary plausible values and report which regions change.

Contents · Previous section · Next section

Section 13 of 36

13. Fit the model reproducibly

Record software version, random seeds, hardware, training settings and diagnostics. Convergence or a low training loss does not validate cell identity. Inspect posterior stability across runs and compare inferred total abundance with independent estimates of tissue cellularity.

Contents · Previous section · Next section

Section 14 of 36

14. Summarise posterior uncertainty

Posterior means make clean maps, but intervals or quantiles reveal where evidence is weak. Related cell types may trade abundance while their combined lineage remains stable. Report both fine and broad annotations when the data support different levels of certainty.

Contents · Previous section · Next section

Section 15 of 36

15. Practise with an invented location table

This fictional table shows why abundance and confidence belong together.

LocationAstrocyte estimateB-cell estimatePosterior uncertaintyFirst reading
L15.80.1lowastrocyte-rich
L22.92.7highmixed, uncertain
L30.24.9lowB-cell-rich
L40.40.3highweak evidence
Invented classroom data for comparison practice; not an operational, product-certification or safety dataset.

Values are invented and are not biological benchmarks.

Contents · Previous section · Next section

Section 16 of 36

16. Read the mouse-brain result

In mouse brain data, the study resolved spatial distributions of astrocyte subtypes across regions including thalamus and hypothalamus. The evidence combines reference signatures and measured spatial counts. It should be described as model-supported localisation, with subtype markers and anatomy used as validation.

Contents · Previous section · Next section

Section 17 of 36

17. Read the lymph-node result

In human lymph node, cell2location helped identify a rare pre-germinal-centre B-cell population and its tissue context. Rare-population claims need reference support, posterior evidence and orthogonal markers. A small estimated abundance is not automatically a newly discovered cell type.

Contents · Previous section · Next section

Section 18 of 36

18. Read the gut result

The human gut analysis mapped fine immune populations in and around lymphoid follicles. Follicle morphology offers an independent frame for checking distributions. Donor variation and section choice still matter; many locations from one section are not many independent people.

Contents · Previous section · Next section

Section 19 of 36

19. Analyse neighbourhoods after mapping

Once abundance maps exist, researchers may study which cell types co-occur. Define spatial radius and null model before testing. Co-location can suggest a tissue niche, but it does not prove communication, direction or causal influence.

Contents · Previous section · Next section

Section 20 of 36

20. Replicate donors and specimens

Spots are nested inside sections, sections inside specimens and specimens inside people or animals. Generalisation should use independent biological units. Hierarchical models or specimen-level summaries prevent thousands of locations from creating false precision.

Contents · Previous section · Next section

Section 21 of 36

21. Confirm with orthogonal evidence

Immunostaining, RNA imaging, morphology or another spatial platform can test selected cell distributions. Validation targets should include common, rare and confusingly similar populations. Use markers not already decisive in constructing the reference when possible.

Contents · Previous section · Next section

Section 22 of 36

22. Challenge an incomplete reference

Remove a known cell type from a benchmark reference and observe where its signal goes. This reveals how the model redistributes missing biology. In real studies, keep an unresolved component and inspect residual expression instead of assuming the reference catalogue is complete.

Contents · Previous section · Next section

Section 23 of 36

23. Challenge correlated signatures

Closely related cell types may share most expressed genes. Their individual abundances can be unstable even when the combined lineage is reliable. Report signature correlations, marker coverage and aggregated results so fine labels do not outrun molecular separation.

Contents · Previous section · Next section

Section 24 of 36

24. Challenge prior sensitivity

Repeat inference across defensible expectations for cellularity, background and overdispersion. A robust region should persist in direction and broad location. If a rare population appears only under one convenient prior, present it as exploratory.

Contents · Previous section · Next section

Section 25 of 36

25. Challenge technical confounding

Capture sensitivity, tissue thickness, batch and chemistry may vary across the slide. Compare abundance maps with library size, background and processing metadata. A cell type apparently enriched along an edge may instead mark weaker capture or different tissue contact.

Contents · Previous section · Next section

Section 26 of 36

26. Compare cell2location with Tangram

cell2location estimates cell-type abundance through a Bayesian count model; Tangram learns a cell-to-space mapping and can project genes. Their outputs are not interchangeable. Concordance can support a broad pattern, while disagreement invites checks of reference, density, shared genes and model objectives.

Contents · Previous section · Next section

Section 27 of 36

27. Compare with direct imaging

Direct RNA or protein imaging can localise selected markers without deconvolving a mixed sequencing spot. It offers a valuable test but has its own sensitivity, panel and segmentation limits. Agreement should be assessed on matched tissue scales rather than by visual impression alone.

Contents · Previous section · Next section

Section 28 of 36

28. Treat absence as a detection statement

A near-zero estimate may mean true scarcity, missing reference signatures, low capture or strong uncertainty. Use positive controls and simulations to define the smallest population the workflow could recover. Say ‘not supported above this detection limit’ rather than ‘absent’.

Contents · Previous section · Next section

Section 29 of 36

29. Build a classroom mixture model

Students mix coloured counters into paper ‘spots’, observe only combined colour totals and use reference recipes to estimate contents. Two similar recipes demonstrate why uncertainty rises. Changing the expected number of counters shows how priors influence an answer.

Contents · Previous section · Next section

Section 30 of 36

30. Connect to Primary Science classification

Young learners can sort counters, compare mixtures and explain that the same total may come from different combinations. They practise distinguishing what was counted from what was inferred, a foundation for careful scientific language.

Contents · Previous section · Next section

Section 31 of 36

31. Strengthen PSLE Science process skills

A fictional abundance table supports pattern comparison, variable control and evaluation of evidence. Pupils can identify the uncertain mixed location, suggest another marker and avoid claiming that a low estimate proves no cells exist.

Contents · Previous section · Next section

Section 32 of 36

32. Extend into Secondary and O-Level Science

Biology supplies tissues and cell specialisation; Mathematics supplies probability and mixtures; Computing supplies iterative inference and visualisation. The method illustrates current interdisciplinary science while official syllabuses remain the source for examinable learning outcomes.

Contents · Previous section · Next section

Section 33 of 36

33. Use the topic for school choices

Students can verify current subject offerings, science facilities and computing opportunities through official school sources. No named-school strength or admission outcome is inferred here. A research topic can guide questions at open houses without becoming an admissions claim.

Contents · Previous section · Next section

Section 34 of 36

34. See the career pathways

Building cell maps involves experimental biologists, pathologists, statisticians, software engineers and data stewards. Each role requires training, reproducibility and teamwork. This guide shows connected disciplines; it does not promise a qualification, course place or career outcome.

Contents · Previous section · Next section

Section 35 of 36

35. Did You Know? Rare does not mean invisible

A model can pool information across locations and reference genes to support a rare population that no single marker map makes obvious. That strength also demands careful validation, because a rare estimate may be sensitive to priors or a missing related cell type.

Contents · Previous section · Next section

Section 36 of 36

36. Keep the final claim bounded

A defensible cell2location conclusion names reference construction, shared genes, priors, spatial assay, posterior uncertainty, cell-type resolution, technical covariates, validation and biological replication. It may report reproducible abundance enrichment. It should not call inferred counts direct cell observations or spatial co-occurrence causal communication.

A rigorous cell2location study begins with reference governance. Archive donor and tissue metadata, quality filters, doublet rules, annotation hierarchy, marker evidence and the numbers of cells per label. Rare and closely related populations need extra scrutiny. When reference labels are uncertain, model broader lineages alongside fine subtypes rather than presenting one resolution as unquestionably true.

Pre-register the spatial platform, specimens, reference construction, shared genes, expected cells per location, technical factors, training settings, posterior summary, primary abundance contrast and validation. Exploratory searches for new niches can follow, but confirmatory maps should be tested in independent tissue with locked choices. Priors should be justified before looking at desired anatomy.

Publish a paired data funnel: starting cells, quality-controlled cells, labels retained, spatial locations, tissue locations, genes shared, locations passing count thresholds and locations used in each result. Map failures and low-count areas onto histology. A posterior estimate in weakly measured tissue should not receive the same visual certainty as one supported by abundant counts.

Reference signatures should be inspected for specificity and correlation. Show top genes, detection rates and how signatures change across batches or donors. For cell types that remain highly correlated, report a combined abundance as the stable result and fine estimates as tentative. Mathematical separation cannot create distinctive markers that the assays did not measure.

Prior sensitivity belongs in the main analysis. Vary expected cellularity, background and other defensible hyperparameters, then quantify rank, direction and spatial overlap of abundance maps. A robust tissue compartment should persist across a reasonable range. A rare cell type that appears only with one narrow setting needs additional evidence before publication.

Posterior uncertainty should be summarised per cell type and region, not hidden behind mean maps. Report credible intervals or quantiles, stability across runs and trade-offs among related cell types. Thresholds for presence should be predeclared and accompanied by sensitivity. Continuous abundance often communicates the evidence better than a binary mask.

Technical covariates require spatial plots. Compare inferred abundance with total counts, detected genes, background, edge position, section thickness and batch. Balance groups across runs and include stable tissue controls. If a technical gradient overlaps a biological region, use independent measurements or experimental redesign rather than relying only on model adjustment.

Validation should test cell identity and quantity separately. Marker imaging may confirm where a population occurs; nuclear or cell counts test whether estimated abundance is calibrated. Select common, rare and confusable populations. Blinded pathology or image scoring and matched tissue sections reduce confirmation bias.

Neighbourhood analyses are downstream of abundance uncertainty. Propagate posterior samples into co-occurrence or niche statistics instead of treating mean abundance as fixed truth. Define spatial radius and null model before testing. A credible niche should appear across independent specimens and survive plausible thresholds and graph choices.

Statistics must respect the hierarchy of donors, specimens, sections and locations. Use biological replicates for generalisation and show every donor-level effect. Large numbers of spatial spots improve within-section detail but cannot compensate for a small or unrepresentative cohort. Report both within-specimen maps and between-specimen uncertainty.

Figures should pair histology, raw molecule density, reference-marker evidence, posterior mean, posterior uncertainty, sensitivity maps and validation. Use common colour scales where comparisons are intended. Mark excluded tissue and reference labels with insufficient support. A beautiful abundance gradient is persuasive only when readers can trace it through counts, signatures and priors.

Reproducibility materials include raw and processed matrices, reference annotations, signature estimates, gene intersection, model configuration, software commit, environment, random seeds, posterior samples, abundance matrices, validation images, analysis code and checksums. Clinical data may require controlled access, but metadata and analytical decisions should remain auditable.

Negative results should be calibrated with synthetic mixtures or held-out regions that resemble the observed platform. Estimate the smallest abundance and spatial area recoverable for each cell-type signature. A near-zero posterior may rule out a large well-marked population while leaving a sparse or poorly distinguished population unresolved. State that boundary directly.

A careful final sentence might say: ‘Across independently processed specimens, a prespecified cell2location model using quality-controlled reference signatures supported reproducible enrichment of defined cell populations, with posterior uncertainty, prior sensitivity and orthogonal markers reported.’ It should not call posterior abundance a direct cell count or turn spatial co-location into observed communication.

Contents · Previous section · Continue to the Science Learning Hub