eduKateSG · Why Science?
Map single-cell profiles back into tissue coordinates with co-embedding and metric learning—without presenting inferred locations as microscope-measured positions
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 Tangram Single Cell Spatial Mapping Gene Expression Evidence; Why Science Cell2Location Bayesian Cell Type Mapping Spatial Transcriptomics Evidence; Why Science Spagcn Graph Convolution Spatial Domains Histology Evidence; Education Hub; Singapore Secondary School Directory; Career Adulthood Hub. It also keeps current school and public claims traceable to visible primary sources: CellTrek primary study; CellTrek PubMed record; CellTrek full text; Official CellTrek repository; 2026 Singapore–Cambridge O-Level Biology syllabus; MOE G2/G3 Lower Secondary Science syllabus; 2026 MOE G2 Computing 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.
CellTrek is a computational framework for mapping single-cell RNA-sequencing profiles into spatial transcriptomic coordinates. Its 2022 Nature Biotechnology study combines co-embedding with metric learning and evaluates the approach in simulations, in situ data and several tissues, including mouse brain, mouse kidney and ductal carcinoma in situ samples. The mapped coordinates are predictions constrained by reference similarity and spatial training data. They should be interpreted alongside density, landmarks, repeated specimens and held-out evidence—not as direct measurements of each cell’s original address.
Inside this guide
1–12 · Foundations and models
- 1. Begin with cells that lost their addresses
- 2. Treat mapping as prediction
- 3. Co-embed single-cell and spatial profiles
- 4. Learn a distance with metric learning
- 5. Predict continuous tissue coordinates
- 6. Analyse colocalisation after placement
- 7. Keep the demonstrated datasets specific
- 8. Create a paired-data contract
- 9. Verify spatial coordinates and masks
- 10. Audit single-cell quality and labels
- 11. Build the shared feature set transparently
- 12. Reserve spatial landmarks
13–24 · Evidence, testing and applications
- 13. Record training density
- 14. Archive the mapping configuration
- 15. Practise with an invented CellTrek audit table
- 16. Read point maps as predicted locations
- 17. Quantify coordinate stability
- 18. Respect spatial topology
- 19. Interpret colocalisation at the supported scale
- 20. Use coexpression as hypothesis generation
- 21. Replicate across tissues and specimens
- 22. Audit co-embedding choices
- 23. Audit metric-learning choices
- 24. Audit training subsets
25–36 · Learning, decisions and pathways
- 25. Validate against independent location evidence
- 26. Compare simple transfer baselines
- 27. Keep a rejection option
- 28. Turn unstable locations into experiments
- 29. Build a classroom model before code
- 30. Start with Primary Science habits
- 31. Use PSLE Science to practise claim limits
- 32. Connect Secondary and O-Level Science
- 33. Let Computing support the science
- 34. Choose school opportunities by fit
- 35. See the connected career families
- 36. Finish with a bounded scientific claim
Section 1 of 36
1. Begin with cells that lost their addresses
Single-cell RNA sequencing measures rich expression but usually loses tissue coordinates during dissociation. Spatial transcriptomics retains location but may measure fewer features or aggregate cells. CellTrek asks whether paired datasets can help place single-cell profiles back into a tissue coordinate system.
Section 2 of 36
2. Treat mapping as prediction
A mapped cell receives a predicted coordinate based on learned relationships. That coordinate is not recovered from a hidden label inside the cell. It depends on reference similarity, spatial training points, tissue coverage and the mapping algorithm.
Section 3 of 36
3. Co-embed single-cell and spatial profiles
CellTrek first places the two modalities in a shared representation so comparable expression patterns can meet. Successful mixing can support transfer, but excessive mixing may hide genuine modality or condition differences. The co-embedding must preserve positive biological controls.
Section 4 of 36
4. Learn a distance with metric learning
Metric learning connects distances in the shared expression representation to spatial relationships observed in the spatial data. It is powerful because the mapping is learned rather than hard-coded. It is conditional because the training tissue defines what distances mean.
Section 5 of 36
5. Predict continuous tissue coordinates
The fitted model assigns spatial coordinates to single-cell profiles. Coordinates allow fine-grained visualisation and neighbourhood analysis. They remain estimates whose local precision varies with training density, landmark uniqueness and expression overlap.
Section 6 of 36
6. Analyse colocalisation after placement
Mapped cells can support exploratory colocalisation and coexpression analyses, including utilities described with the official project. Such downstream patterns inherit mapping error. A cell pair that appears adjacent computationally was not necessarily observed side by side.
Section 7 of 36
7. Keep the demonstrated datasets specific
The 2022 Nature Biotechnology study evaluated simulations and in-situ data and applied CellTrek to mouse brain, mouse kidney and two ductal carcinoma in situ tissues. Those examples demonstrate the method in reported settings, not universal coordinate accuracy.
Section 8 of 36
8. Create a paired-data contract
Record tissue, condition, specimen, platform, genes, count layers, spatial units, images, annotations and preprocessing. State whether the spatial and single-cell data come from the same specimen, a matched specimen or a broader reference. Mapping confidence cannot exceed compatibility.
Section 9 of 36
9. Verify spatial coordinates and masks
Overlay barcodes or cells on the tissue image and mark empty regions, tears and off-tissue locations. Preserve raw and transformed coordinates separately. Predicted cells should not silently populate impossible geometry.
Section 10 of 36
10. Audit single-cell quality and labels
Check depth, mitochondrial signal, doublets, donor balance, cell-cycle or dissociation effects and annotation support. Metric learning can faithfully map technical structure if it dominates expression.
Section 11 of 36
11. Build the shared feature set transparently
Document gene intersection, identifier conversion, normalisation and variable-feature selection. Repeat important results with a defensible alternative set. Tissue landmarks supported by many genes are more robust than those owned by one marker.
Section 12 of 36
12. Reserve spatial landmarks
Before fitting, hold back genes, cells or anatomical cues that can test placement. Reusing all landmarks for training and validation makes agreement circular. A prospective holdout turns an attractive map into a genuine prediction test.
Section 13 of 36
13. Record training density
Map how many spatial observations and expression neighbours support each tissue region. Sparse or unique regions may have poor coordinate resolution even when the plot shows precise points. Density should accompany each mapped-cell display.
Section 14 of 36
14. Archive the mapping configuration
Save preprocessing, co-embedding parameters, metric-learning settings, training splits, seeds, model objects, coordinate transforms, package version and hashes. Make every mapped point traceable to its original cell and model run.
Section 15 of 36
15. Practise with an invented CellTrek audit table
This fictional table teaches interpretation, not performance.
| Region | Training density | Coordinate stability | Held-out landmark | Tissue-mask fit | First reading |
|---|---|---|---|---|---|
| Cortex | high | high | agrees | valid | supported |
| Border | medium | low | mixed | valid | boundary uncertain |
| Cavity | low | low | absent | invalid | reject |
| Niche | low | medium | agrees | valid | cautious |
Section 16 of 36
16. Read point maps as predicted locations
Plot mapped cells over measured spatial observations and tissue masks. Use transparency or uncertainty summaries so dense predictions do not look like direct microscopy. A single coordinate is a convenient summary of a possible location.
Section 17 of 36
17. Quantify coordinate stability
Repeat mapping across seeds, training subsets and parameters. Measure displacement, region agreement and neighbour retention. Stable region membership may be supportable even when exact point coordinates are not.
Section 18 of 36
18. Respect spatial topology
Check whether mapped cells cross cavities, tissue edges or known barriers. Nearest expression similarity does not guarantee a physically connected route. Mask-aware diagnostics catch impossible placements.
Section 19 of 36
19. Interpret colocalisation at the supported scale
Evaluate whether cell types share a region, neighbourhood or exact coordinate only to the resolution supported by validation. Avoid causal interaction claims from computational proximity alone. Interaction requires molecular or experimental evidence.
Section 20 of 36
20. Use coexpression as hypothesis generation
Spatially mapped coexpression can nominate local programmes. Return to measured counts, control for cell type and validate with independent assays. Mapping and expression uncertainties both contribute to the final pattern.
Section 21 of 36
21. Replicate across tissues and specimens
A beautiful map from one section demonstrates feasibility, not generality. Train or evaluate on independent specimens and show which landmarks, regions and cell-type patterns transfer. Preserve specimen identity throughout.
Section 22 of 36
22. Audit co-embedding choices
Vary dimensions, features and integration settings within a declared plan. Track positive controls, modality mixing and mapped regions. Choose settings by held-out evidence rather than by the smoothest picture.
Section 23 of 36
23. Audit metric-learning choices
Change model complexity and neighbourhood settings, then compare coordinate displacement and region accuracy. An overly flexible learner may reproduce training geometry while generalising poorly.
Section 24 of 36
24. Audit training subsets
Leave out one spatial region or specimen and test whether cells from that biology map sensibly. This reveals dependence on local landmarks and identifies regions where extrapolation is unsafe.
Section 25 of 36
25. Validate against independent location evidence
Use held-out in-situ genes, protein imaging, pathology landmarks or known anatomical layers. Report error by region and cell type, including failures. Average accuracy can hide one poorly mapped population.
Section 26 of 36
26. Compare simple transfer baselines
Compare CellTrek with nearest-neighbour label transfer or another spatial mapping method under matched inputs. Metric learning adds value when it improves held-out geography and topology, not merely point density.
Section 27 of 36
27. Keep a rejection option
Some cells may have no credible spatial counterpart because the reference contains a missing condition, stage or region. Mark them unmapped or low confidence rather than forcing every profile into the tissue.
Section 28 of 36
28. Turn unstable locations into experiments
When a population moves between two plausible regions across runs, identify discriminating markers or morphology and measure them directly. Mapping uncertainty can guide the most informative spatial assay.
Section 29 of 36
29. Build a classroom model before code
Give students anonymous cards containing feature lists and a town map with labelled example locations. Ask them to learn which features predict areas, then test hidden landmarks and flag cards that do not belong anywhere. Keep observations, transformations, assumptions and conclusions in separate columns. The aim is not to imitate specialist software but to make each evidence hand-off visible and testable.
Section 30 of 36
30. Start with Primary Science habits
Primary Science already teaches the habits beneath CellTrek: observe carefully, compare fairly, record consistently and keep conclusions within the experiment. A map of plants, light or water can show why location changes interpretation without advanced mathematics.
Section 31 of 36
31. Use PSLE Science to practise claim limits
PSLE Science connects observations to processes and explanations. CellTrek adds a modern reminder that a statistical pattern is not automatically a cause. Ask what changed, what was measured, what remained uncontrolled and which new observation would separate competing explanations.
Section 32 of 36
32. Connect Secondary and O-Level Science
Secondary Science and O-Level Biology develop cells, organisation, variation, experimental design and evaluation. CellTrek is a contemporary case where molecular measurements, tissue position and computing meet. The learning goal is disciplined reasoning, not memorising software.
Section 33 of 36
33. Let Computing support the science
Computing contributes data structures, algorithms, optimisation, visualisation and reproducibility. Biology supplies the specimen, mechanism and independent validation. CellTrek shows why correct code is necessary but insufficient: an algorithm can run perfectly on mislabelled, confounded or incomplete data.
Section 34 of 36
34. Choose school opportunities by fit
Families should verify Biology, Computing, mathematics, research programmes and ethical data interpretation on current official school and MOE pages. A mention of genomics, AI or data science does not guarantee programme depth, admission or a career outcome. Look for sustained inquiry, careful teaching, accessible mentoring and time to explain evidence.
Section 35 of 36
35. See the connected career families
Reasoning used in CellTrek appears in single-cell genomics, machine learning, pathology, spatial biology, bioinformatics and biomedical imaging. Routes can pass through polytechnic, junior college, university or continuing education with different blends of biology, mathematics, statistics, computing and communication. Check current course requirements directly; one project cannot guarantee entry or employment.
Section 36 of 36
36. Finish with a bounded scientific claim
A defensible conclusion states exactly what CellTrek estimated and under which inputs, settings and specimens. CellTrek predicts coordinates from paired expression data; it does not recover measured cell addresses, prove cell–cell interaction or guarantee placement for biology absent from the spatial training set. Report uncertainty, sensitivity, replication, negative results and orthogonal validation together. That boundary is not weakness; it makes the result testable and reusable.
A publication-quality CellTrek workflow separates three questions: can the modalities share a useful representation, can learned distances predict spatial regions, and can exact coordinates be supported? Passing the first question does not automatically pass the third. Report evaluation at several scales—tissue compartment, neighbourhood and point displacement—so precision follows the evidence rather than the plotting resolution.
Design the holdout before model tuning. One option withholds spatial observations from a region while retaining enough surrounding tissue to train. Another withholds landmarks or an entire specimen. Evaluate whether the model returns cells to the correct compartment and whether uncertainty rises where training support is sparse. Random point holdouts can be too easy because their neighbours remain in training.
Co-embedding needs both mixing and conservation metrics. Technical modality labels should mix where comparable biology exists, while known cell types, conditions and landmarks should remain separable when biologically appropriate. Perfect modality mixing is not the goal if it erases a disease-specific or region-specific programme. Plot original and shared spaces together.
Metric learning should be evaluated out of sample. Track training loss, held-out region accuracy, coordinate displacement and tissue-mask violations. A complex learner can memorise training geography through narrow expression cues. Regularisation, simpler baselines and external specimens help distinguish learned biological structure from dataset-specific lookup.
Create a spatial support map for every prediction. Useful summaries include distance to training observations in expression space, local training density, agreement across seeds and region consistency across feature sets. These quantities may not form a formal posterior probability, but they expose where a point map is robust and where it is speculative.
Mapped density is not measured cell density unless the sampling scheme supports that interpretation. Single-cell references often enrich or deplete particular cell types during dissociation and filtering. Display raw mapped counts separately from normalised spatial preference, and compare with segmentation or histology before making abundance claims.
Topology tests catch errors that average distance misses. Count predictions outside masks, across cavities or on the wrong side of a known barrier. Check preservation of layer order or compartment adjacency. A map can have reasonable average displacement yet violate an essential anatomical relationship for one important population.
Downstream colocalisation should propagate mapping uncertainty. Repeat the analysis across credible mappings and report relationships that persist. Use region-level or neighbourhood-level language when exact coordinates are unstable. A predicted proximity can nominate an interaction experiment, but ligand–receptor expression or perturbation evidence is needed before claiming communication.
When analysing ductal carcinoma in situ or other pathology, keep lesion boundaries, pathology review and specimen identity visible. Avoid turning a mapped transcriptional pattern into a diagnostic or prognostic claim without an appropriate clinical study. Computational cartography and clinical utility are different evidence standards.
Did you know? Two cells with nearly identical expression can have different positions because anatomy contains information not present in RNA counts. A mapping algorithm must either express that ambiguity or resolve it using additional evidence. A precise dot does not mean the ambiguity disappeared.
Build an ‘unmappable’ control set from cells or states expected to be absent from the spatial tissue, when scientifically defensible. The method should not place them confidently into a plausible region. If it does, establish a rejection threshold or label the mapping as forced. This control tests whether every input receives a convincing-looking address by construction.
Archive input matrices, metadata, coordinates, images, masks, feature lists, co-embedding objects, train–test splits, metric-learning configuration, checkpoints, seeds, predicted coordinates, support metrics, tissue-mask checks, validation results, versions and hashes. Preserve the original cell barcode beside every predicted point so any surprising cluster can be traced back.
A careful conclusion could say: ‘CellTrek mapped the analysed single-cell profiles to reproducible tissue compartments, with coordinate patterns that survived prespecified embedding and training-subset checks and agreed with held-out landmarks.’ It should not say the coordinates were measured, that computational proximity proves interaction or that cells without spatial counterparts were located reliably.
Use a coordinate-resolution ladder in every results table. Level one means the cell maps to the correct broad compartment; level two means the local neighbourhood is supported; level three means point displacement is small against a measured benchmark. Do not promote a result to a finer level merely because the software returns decimal coordinates. This ladder lets an analysis remain valuable when compartment placement is reproducible but exact point placement is not.
Review maps with someone who has not seen the training choices. Ask them to identify impossible placements, suspiciously dense zones and conclusions that rely on colour-scale changes. A blinded visual audit does not replace quantitative validation, but it catches presentation-driven errors and forces the team to explain which points were measured, predicted, jittered or filtered. Preserve those decisions in the figure provenance record.
Close the analysis with a sampling proposal. Choose one stable compartment, one uncertain boundary and one rejected population; for each, specify the marker panel, imaging field and result that would support or overturn the map. This makes the limits operational. Readers can see not only what CellTrek suggests, but also exactly how the coordinate claims could be challenged with fresh spatial evidence in a follow-up experiment.
Contents · Previous section · Continue to the Science Learning Hub
