eduKateSG · Why Science?
Align dissociated single-cell profiles with a spatial reference, project cell states and genes into tissue, and keep every colourful prediction tied to shared genes, mapping assumptions and independent checks
Reading routes
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 Merfish Error Robust Barcodes Spatial Rna Evidence; Why Science Starmap Hydrogel Tissue Chemistry Three Dimensional In Situ Sequencing Evidence; Education Hub; Singapore Secondary School Directory; Career Adulthood Hub. It also keeps current school and public claims traceable to visible primary sources: Tangram primary study; Tangram PubMed record; Tangram full text; Official Broad Institute Tangram repository; Tangram documentation; 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.
Tangram is a computational method that aligns single-cell or single-nucleus RNA-sequencing profiles with spatial measurements from the same or a comparable tissue. Its 2021 Nature Methods paper learned a mapping using genes measured in both datasets, then used that mapping to place cells or clusters and predict unmeasured spatial gene patterns. Demonstrations included mouse brain data from several spatial technologies. The result is a model, not a microscope image: tissue matching, shared-gene choice, cell-state coverage, density assumptions and independent validation determine what the map can support.
Inside this guide
1–12 · Foundations and models
- 1. Recover position after dissociation
- 2. Start with two expression matrices
- 3. Learn a cell-to-space mapping
- 4. Optimise agreement on shared genes
- 5. Choose cell, cluster or density modes deliberately
- 6. Separate measured from predicted expression
- 7. Keep the primary demonstrations specific
- 8. Match tissue, region and condition
- 9. Quality-control the single-cell reference
- 10. Quality-control the spatial matrix
- 11. Select informative shared genes
- 12. Normalise without erasing scale
13–24 · Evidence, testing and applications
- 13. Define density constraints honestly
- 14. Test held-out genes before storytelling
- 15. Practise with an invented mapping table
- 16. Read mapping weights as distributed evidence
- 17. Project cell types with marker checks
- 18. Predict genes beyond the spatial panel
- 19. Use cross-modality mapping carefully
- 20. Compare anatomy before fine claims
- 21. Use orthogonal markers
- 22. Challenge unmatched references
- 23. Challenge missing cell states
- 24. Challenge spatial resolution
25–36 · Learning, decisions and pathways
- 25. Challenge non-unique solutions
- 26. Compare Tangram with cell2location
- 27. Compare prediction with direct spatial assays
- 28. Treat failure as diagnostic
- 29. Build a classroom coordinate puzzle
- 30. Connect to Primary Science observation
- 31. Strengthen PSLE Science process skills
- 32. Extend into Secondary and O-Level Science
- 33. Use the topic for school choices
- 34. See the career pathways
- 35. Did You Know? A good-looking map can still be underdetermined
- 36. Keep the final claim bounded
Section 1 of 36
1. Recover position after dissociation
Single-cell RNA sequencing profiles thousands of genes per cell, but dissociating tissue removes the coordinates that once connected each cell to neighbours and anatomy. Tangram addresses that missing-location problem by aligning those rich cell profiles to a spatial dataset from the same or a comparable tissue. It reconstructs a plausible map; it does not reverse the experiment like a video.
Section 2 of 36
2. Start with two expression matrices
One matrix contains cells by genes. The other contains spatial locations by genes. Tangram uses genes measured in both datasets as landmarks, rather like matching two maps through shared street names. Differences in platform, depth, preparation and biological condition can distort those landmarks, so compatibility must be tested before optimisation begins.
Section 3 of 36
3. Learn a cell-to-space mapping
The model estimates how strongly each single-cell profile maps to each spatial location. A high mapping weight means the shared expression pattern fits that location under the model. It is not a probability that a photographed cell physically occupied an exact pixel unless the design and validation support that interpretation.
Section 4 of 36
4. Optimise agreement on shared genes
Tangram seeks mappings whose projected expression resembles the measured spatial expression for selected training genes. Good agreement shows that the model can reproduce information it was asked to fit. Held-out genes, independent markers and anatomical landmarks are stronger tests because they were not used to create the alignment.
Section 5 of 36
5. Choose cell, cluster or density modes deliberately
Different Tangram modes can map individual cells, aggregated clusters or distributions constrained by expected cell density. Individual-cell detail may look compelling while being underdetermined; cluster mapping sacrifices granularity for stability. Density priors can regularise a map, but a wrong prior can confidently pull cells toward the wrong regions.
Section 6 of 36
6. Separate measured from predicted expression
Genes assayed by the spatial platform are measured at locations. Other genes may be projected from the single-cell profiles through the learned mapping. Both can appear as similar colour maps, so figures and tables should label them clearly. Predicted expression is a testable model output, not an additional molecule detected in the tissue.
Section 7 of 36
7. Keep the primary demonstrations specific
The 2021 Nature Methods paper applied Tangram to mouse brain data and compared mappings across technologies including imaging- and sequencing-based spatial assays. The demonstrations show that shared expression can connect modalities and support useful prediction. They do not certify every organ, disease state, species or mismatched reference.
Section 8 of 36
8. Match tissue, region and condition
A cortex reference is not automatically suitable for another brain region, developmental age or treatment. Cell states can change while retaining familiar names. Record species, anatomy, age, sex where relevant, disease status, preservation and sampling depth for both datasets, then explain why one should represent the other.
Section 9 of 36
9. Quality-control the single-cell reference
Remove low-quality droplets, doublets and obvious ambient-RNA contamination before mapping. Check library size, genes per cell, mitochondrial fraction, batch and annotation evidence. Rare cell types need sufficient examples. A polished spatial map cannot repair a reference in which damaged cells or doublets define the landmarks.
Section 10 of 36
10. Quality-control the spatial matrix
Map molecule counts, detected genes, background, tissue coverage and missing locations. Damaged regions or low capture can attract or repel cells for technical reasons. Keep raw tissue images and masks beside processed values so a predicted boundary is not accepted where the underlying spatial assay was weak.
Section 11 of 36
11. Select informative shared genes
Training genes should be reliably measured, biologically informative and not dominated by stress, dissociation or batch. Highly abundant housekeeping genes may align global tissue while missing fine cell identity. Test several defensible gene sets and publish them; the shared-gene list is part of the model, not a private preprocessing detail.
Section 12 of 36
12. Normalise without erasing scale
Single-cell and spatial platforms have different count distributions. Normalisation can make patterns comparable, but aggressive transformation may flatten real abundance or magnify sparse signals. Record transformations and rerun key conclusions with plausible alternatives. A stable anatomical placement should not depend on one undocumented scaling choice.
Section 13 of 36
13. Define density constraints honestly
When a mapping uses expected numbers or density of cells per location, explain where those expectations came from. Histology, nuclear counts or platform geometry may provide evidence. Guessing a uniform density is convenient but can distort layered, necrotic or immune-rich tissue where occupancy genuinely varies.
Section 14 of 36
14. Test held-out genes before storytelling
Reserve a meaningful subset of shared genes before training, predict their spatial patterns and compare predictions with measurements. Report per-gene and region-level performance, not only a favourable average. Held-out prediction is valuable because it tests generalisation inside the paired data rather than merely restating the fitting objective.
Section 15 of 36
15. Practise with an invented mapping table
This fictional classroom table separates model fit from validation.
| Candidate map | Training similarity | Held-out similarity | Landmark agreement | First reading |
|---|---|---|---|---|
| A | 0.94 | 0.88 | strong | supported |
| B | 0.97 | 0.42 | weak | likely overfit |
| C | 0.81 | 0.79 | strong | modest but stable |
| D | 0.90 | 0.84 | mixed | inspect regions |
All values are invented for reasoning, not benchmarks.
Section 16 of 36
16. Read mapping weights as distributed evidence
A cell may map strongly to one location, weakly across a region or ambiguously between similar regions. Summaries should preserve entropy or concentration rather than forcing every cell to one dot. Uncertainty is especially important when closely related states share most training genes.
Section 17 of 36
17. Project cell types with marker checks
After mapping cells, researchers can sum weights by annotated cell type to create spatial distributions. Validate those patterns with known markers and morphology. A cell-type label inherited from the single-cell reference carries its own uncertainty, and a smooth distribution may reflect aggregation rather than direct observation.
Section 18 of 36
18. Predict genes beyond the spatial panel
Tangram can project genes measured in single cells but absent from a targeted spatial panel. Evaluate prediction on genes that were spatially measured but withheld, then state the expected operating range. Good prediction for common regional genes does not guarantee rare transcripts, isoforms or subcellular localisation.
Section 19 of 36
19. Use cross-modality mapping carefully
The original work also explored connections between spatial transcriptomics and other molecular profiles through shared cellular structure. Cross-modality predictions require a defensible bridge and matched biology. A chromatin or protein pattern inferred through RNA remains indirect until measured with an independent assay.
Section 20 of 36
20. Compare anatomy before fine claims
Begin validation with broad structures that should be recognisable in tissue images or established atlases, then move to narrower boundaries. If the global orientation is wrong, local cell assignments are not credible. Agreement should be quantified and assessed across independent sections rather than shown through one representative field.
Section 21 of 36
21. Use orthogonal markers
In-situ hybridisation, immunostaining or another spatial platform can test selected predicted genes and cell distributions. Choose targets before inspecting validation results and include expected negatives. Independent measurement is especially useful where Tangram predicts a surprising boundary or rare cell state.
Section 22 of 36
22. Challenge unmatched references
Remove one cell type, swap to a less compatible reference or perturb batch composition to see how the model fails. If missing states are redistributed among neighbours, mark that risk in the real analysis. A method that always produces a complete map may hide absence rather than reveal it.
Section 23 of 36
23. Challenge missing cell states
Disease, development and perturbation can create states absent from a healthy atlas. Forced mapping may rename them as the nearest known class. Inspect residual expression, low-confidence cells and unmapped patterns; allow an unresolved category instead of treating comprehensive colour as comprehensive knowledge.
Section 24 of 36
24. Challenge spatial resolution
A mapping can assign rich single-cell profiles onto locations larger than one cell. That does not physically resolve every cell in a mixed spot. Report spot or pixel dimensions, cell density and effective resolution, then distinguish deconvolution or prediction from direct single-cell spatial measurement.
Section 25 of 36
25. Challenge non-unique solutions
Several mappings may reproduce the same shared spatial genes because many cells have similar profiles or locations contain mixtures. Run different seeds and plausible settings, compare solutions and report unstable regions. An optimiser selecting one answer does not prove that biology selected only that answer.
Section 26 of 36
26. Compare Tangram with cell2location
Tangram learns a mapping from cells or clusters to space and can project genes; cell2location focuses on Bayesian abundance estimates for reference cell types at spatial locations. They answer related but different questions. Agreement is useful, while disagreement can expose reference, prior or resolution assumptions.
Section 27 of 36
27. Compare prediction with direct spatial assays
Imaging methods can directly detect selected RNAs at high spatial resolution, while sequencing-based assays measure broader transcriptomes at capture locations. Tangram can bridge their information, but prediction does not replace direct measurement when subcellular placement, rare molecules or clinical decisions matter.
Section 28 of 36
28. Treat failure as diagnostic
Poor held-out prediction may identify platform bias, unmatched tissue, weak gene selection or missing biology. Preserve those failures and map where they occur. A local mismatch can teach more than a global score because it points to the precise region where assumptions stop working.
Section 29 of 36
29. Build a classroom coordinate puzzle
Give groups a cell-by-gene table and a location-by-gene table with three shared marker genes. Students match cells to positions, hide one gene for testing and compare alternative maps. The activity makes training, prediction and ambiguity visible without biological materials.
Section 30 of 36
30. Connect to Primary Science observation
Young learners can distinguish the coloured squares they observe from the labels they infer. They can ask what additional clue would test a placement and explain why two cells with the same markers remain ambiguous. That is scientific reasoning in a friendly map puzzle.
Section 31 of 36
31. Strengthen PSLE Science process skills
A simplified mapping table supports comparison, pattern recognition, fair tests and conclusions bounded by evidence. Pupils can identify the held-out check, explain why Candidate B overfits and propose an additional marker rather than choosing the brightest diagram.
Section 32 of 36
32. Extend into Secondary and O-Level Science
Biology supplies cells, tissues and gene expression; Mathematics supplies matrices, similarity and uncertainty; Computing supplies optimisation and reproducible code. The topic complements current Singapore science and computing learning without pretending that a research algorithm is an examinable requirement.
Section 33 of 36
33. Use the topic for school choices
Students interested in biotechnology, data science or computing can use current official school information to check subject combinations, laboratories, enrichment and mentorship. This article names no school-specific promise and no admission requirement; programmes and criteria should always be verified at source.
Section 34 of 36
34. See the career pathways
Spatial genomics joins molecular biology, microscopy, statistics, software engineering and data stewardship. People build assays, curate references, validate maps and maintain open tools. Course places and jobs require current qualifications and evidence of skill; one exciting technique is a window into pathways, not a guarantee.
Section 35 of 36
35. Did You Know? A good-looking map can still be underdetermined
Two different cell placements can predict nearly the same shared gene pattern when cells are similar or spatial locations are mixtures. Held-out genes, anatomy and independent assays help distinguish them. Visual smoothness is presentation; identifiability is evidence.
Section 36 of 36
36. Keep the final claim bounded
A defensible Tangram conclusion names both datasets, shared genes, mapping mode, held-out performance, density assumptions, uncertainty, spatial resolution and independent validation. It may report a reproducible predicted distribution. It should not turn a learned mapping into a direct photograph or an unmatched reference into missing biology.
A publication-ready Tangram study starts with an explicit pairing argument. Record species, organ, region, developmental stage, condition, donor or animal structure, assay platform, preservation and sampling depth for both the single-cell and spatial datasets. Explain which differences are acceptable and which would invalidate transfer. A convenient public atlas is not automatically a representative reference.
Pre-register the mapping unit, training genes, held-out genes, normalisation, density prior, optimisation settings, primary spatial claim and validation assay. Exploratory maps can remain flexible, but confirmation should use an untouched specimen or target list. Locking decisions before viewing the most colourful prediction reduces the temptation to tune toward expected anatomy.
Publish a data funnel for both modalities: raw droplets or nuclei, quality-controlled cells, doublets removed, annotated cells, spatial locations, tissue-covered locations, genes retained and shared training features. Map exclusions back onto the tissue. Missing spatial data in one region and missing cell states in the reference are different problems and should remain distinguishable.
Shared-gene governance deserves a table. For every candidate landmark, report detection rate, abundance, platform compatibility, batch association and whether it was used for training, testing or neither. Stress and dissociation genes can dominate alignment without describing tissue position. Repeat the mapping after removing entire gene families that could provide an easy technical shortcut.
Held-out evaluation should include per-gene correlation, region-level accuracy and failure maps. A global average can look strong while a small but important structure is misplaced. Select held-out genes across abundance and spatial complexity, not only famous regional markers. Compare performance with simple baselines such as tissue averages or nearest reference regions.
Mapping uncertainty should appear in the main results. Show weight concentration, entropy, consensus across seeds and variation across plausible gene sets. When several locations fit a cell nearly equally, preserve that distribution. A dot placed at the maximum-weight location creates false precision and can make a diffuse inference look like direct single-cell imaging.
Density constraints require independent support. Nuclear images, estimated cell counts or platform geometry may justify expected occupancy, but the evidence should be measured on matched tissue. Repeat the analysis with wider priors and without the constraint where feasible. If a region’s cell abundance is largely supplied by the prior, say so.
Validation should travel from broad to fine. First confirm orientation and major anatomy with morphology and measured markers. Then test cell-type distributions, surprising boundaries and predicted genes with assays not used for training. A validation panel should include positive, negative and ambiguous targets, and it should be scored with blinded rules when possible.
Biological replication remains essential. Cells and spatial locations are nested within sections and specimens, and neighbouring locations are autocorrelated. Report specimen-level effects, balance processing across batches and avoid treating thousands of mapped cells as thousands of independent animals. Reproducibility across sections from one brain is useful but not population evidence.
Figures should distinguish measured spatial expression, training reconstruction, held-out prediction, mapped cell types and uncertainty. Use different legends or panels so a predicted gene never looks identical to a detected gene. Pair processed maps with raw counts, tissue images, missingness and residuals. Include at least one failure map to show the method’s operating boundary.
Reproducibility materials include raw matrices, metadata, annotations, shared-gene lists, normalisation, mapping mode, density inputs, code commit, environment, seeds, output matrices, validation measurements and checksums. Archive the exact Tangram version rather than linking only to a moving repository. Preserve intermediate mappings so reviewers can reproduce projections without rerunning every optimisation.
Negative results need a spatial detection envelope. Simulate held-out patterns of different abundance and size on the observed data, then report which kinds of signal the paired datasets could recover. A failed prediction may exclude a broad high-expression domain while leaving a sparse cell state unresolved. That bounded statement is more useful than either declaring absence or discarding the gene.
Protocol transfer should be treated as new validation. Tumour, embryo and adult brain differ in composition, dissociation response and anatomy. Recheck reference coverage, shared genes, density, resolution and independent markers whenever tissue or condition changes. The software may run unchanged while the biological assumptions fail completely.
A careful final sentence might say: ‘Using matched mouse-brain single-cell and spatial datasets, a prespecified Tangram mapping reproduced held-out regional genes and supported cell-type distributions that agreed with independent markers across specimens, while uncertainty remained in mixed or reference-poor regions.’ It should not call predicted transcripts measured molecules or imply a unique physical placement where several maps fit.
Contents · Previous section · Continue to the Science Learning Hub
