eduKateSG · Why Science?
Use annotated single-cell references to decompose spatial transcriptomics pixels into cell-type mixtures—while checking platform effects, reference coverage, related cell types and the physical resolution behind every estimate
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 Slide Seq Dna Barcoded Bead Pucks Spatial Transcriptome Evidence; Why Science Cell2Location Bayesian Cell Type Mapping Spatial Transcriptomics Evidence; Education Hub; Singapore Secondary School Directory; Career Adulthood Hub. It also keeps current school and public claims traceable to visible primary sources: RCTD primary study; RCTD PubMed record; RCTD full text; Official spacexr repository; Bioconductor RCTD tutorial; 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.
Robust Cell Type Decomposition, or RCTD, uses annotated single-cell RNA-sequencing references to estimate which cell types contribute RNA to spatial transcriptomics pixels or capture locations. The Nature Biotechnology study introduced a statistical model that also corrects systematic differences between single-cell and spatial platforms, then evaluated it with simulations and mouse-brain Slide-seq and Visium data. The output is an estimate of mixture composition, not a photograph of individual cells. Reference completeness, closely related cell types, pixel size, molecule counts and independent tissue evidence set the boundary of every claim.
Inside this guide
1–12 · Foundations and models
- 1. Begin with a mixed spatial pixel
- 2. Build reference cell-type profiles
- 3. Correct cross-platform effects
- 4. Use a probabilistic count model
- 5. Distinguish singlet, doublet and multiplet settings
- 6. Estimate mixture weights
- 7. Keep the published scope specific
- 8. Match reference and spatial biology
- 9. Quality-control the reference
- 10. Quality-control spatial locations
- 11. Choose genes deliberately
- 12. Estimate platform effects cautiously
13–24 · Evidence, testing and applications
- 13. Fit the model reproducibly
- 14. Summarise uncertainty and competition
- 15. Practise with an invented decomposition table
- 16. Read Slide-seq examples by scale
- 17. Read Visium examples by spot geometry
- 18. Analyse cell-type-specific spatial expression
- 19. Separate composition from state
- 20. Replicate at the specimen level
- 21. Validate with independent measurements
- 22. Challenge an incomplete reference
- 23. Challenge similar cell types
- 24. Respect the physical pixel
25–36 · Learning, decisions and pathways
- 25. Treat doublet mode as a model choice
- 26. Compare RCTD with cell2location
- 27. Compare decomposition with direct imaging
- 28. Let negative results remain useful
- 29. Try a classroom model
- 30. Start the habit in Primary Science
- 31. Strengthen PSLE Science reasoning
- 32. Connect Secondary and O-Level Science
- 33. Use Computing as a partner
- 34. Choose schools by fit, not a single buzzword
- 35. See the career pathways
- 36. Finish with a bounded claim
Section 1 of 36
1. Begin with a mixed spatial pixel
Many spatial transcriptomics technologies collect RNA from an area containing more than one cell. RCTD asks which reference cell types could have contributed those counts and in what relative amounts. It is a decomposition problem: one measured mixture must be explained with candidate expression profiles, while noise and platform differences remain visible.
Section 2 of 36
2. Build reference cell-type profiles
Annotated single-cell RNA-sequencing data provide examples of expression for each candidate type. RCTD aggregates that evidence into type-specific profiles. These profiles are only as trustworthy as the cells, labels and donors behind them; mislabeled doublets or missing states can send every later pixel toward the wrong explanation.
Section 3 of 36
3. Correct cross-platform effects
Single-cell and spatial platforms can capture genes with different efficiencies. The RCTD model includes gene-specific platform effects so reference profiles are adjusted before explaining spatial counts. This correction is important, but it is estimated from the available data and cannot guarantee compatibility between different tissues, conditions or sample preparations.
Section 4 of 36
4. Use a probabilistic count model
RCTD evaluates how likely the observed spatial counts are under different cell-type combinations. Count depth, gene profiles and platform effects enter the likelihood. The best-supported mixture is therefore conditional on the model and inputs; it is not a direct census made by looking at nuclei in the tissue.
Section 5 of 36
5. Distinguish singlet, doublet and multiplet settings
A location may be treated as mainly one type, a mixture of two types or a broader mixture. RCTD offers modes suited to different platform resolutions and questions. Choosing a doublet mode for a coarse capture spot can be unrealistic, while unrestricted mixtures may spread small weights across many similar types.
Section 6 of 36
6. Estimate mixture weights
The fitted weights express how strongly each reference type contributes to a spatial location under the model. Large weights support presence and relative contribution, but they are not automatically calibrated cell numbers. RNA content per cell, cell size and platform sensitivity can make equal cell counts produce unequal molecular contributions.
Section 7 of 36
7. Keep the published scope specific
The primary RCTD study used simulations and mouse-brain spatial data, including Slide-seq and Visium, to evaluate localisation and mixtures. It also supported cell-type-specific spatial expression analyses. Those demonstrations establish useful operating examples, not universal accuracy for every organ, disease, species or reference atlas.
Section 8 of 36
8. Match reference and spatial biology
Compare species, organ, region, age, condition, sex where relevant, preservation and sampling. A healthy adult reference may omit activated, developmental or disease-associated states. If the biology is mismatched, the model may redistribute unfamiliar expression among familiar labels and still produce a complete-looking map.
Section 9 of 36
9. Quality-control the reference
Inspect detected genes, library sizes, mitochondrial signal, doublets, ambient RNA, batches and label evidence. Retain enough cells per type to estimate stable profiles. Rare types with a few damaged examples can look distinctive for technical reasons, so reference quality must be reported before spatial results.
Section 10 of 36
10. Quality-control spatial locations
Map counts, detected genes, tissue coverage, background, edges and damaged regions. Low-count pixels contain less information for separating related types. Exclude locations by prespecified rules and show them on histology; otherwise missing or poor tissue can quietly become an apparent biological boundary.
Section 11 of 36
11. Choose genes deliberately
Genes used for decomposition should be reliably detected and informative across platforms. Stress, dissociation and housekeeping genes can dominate without distinguishing position or type. Publish the gene set and repeat important results with plausible alternatives, especially after removing families that could encode a batch-specific shortcut.
Section 12 of 36
12. Estimate platform effects cautiously
Platform correction uses shared data to learn systematic gene differences. Check whether correction factors are stable across specimens and dominated by a few abundant genes. A large correction may signal genuine technology bias, but it may also warn that the reference and spatial samples are biologically unmatched.
Section 13 of 36
13. Fit the model reproducibly
Record software version, spacexr settings, mode, genes, thresholds, seeds and computing environment. Monitor warnings and failed locations rather than discarding them silently. A reproducible workflow lets another analyst determine whether differences came from biology, preprocessing or a changed implementation.
Section 14 of 36
14. Summarise uncertainty and competition
Closely related types can trade weight while leaving the total lineage stable. Report combined lineages when fine labels are not identifiable, compare seeds and map ambiguous locations. A crisp colour per pixel hides competition; uncertainty or entropy maps show where the data genuinely discriminate.
Section 15 of 36
15. Practise with an invented decomposition table
This fictional table is for reasoning, not a performance benchmark.
| Pixel | Type A weight | Type B weight | Type C weight | First reading |
|---|---|---|---|---|
| P1 | 0.92 | 0.05 | 0.03 | A-dominant |
| P2 | 0.48 | 0.46 | 0.06 | A/B mixture |
| P3 | 0.10 | 0.12 | 0.78 | C-dominant |
| P4 | 0.34 | 0.32 | 0.34 | unresolved |
Section 16 of 36
16. Read Slide-seq examples by scale
Slide-seq uses barcoded beads to sample tissue at fine spatial spacing, yet a bead can still receive transcripts from nearby cells. RCTD’s mouse-brain analyses showed how reference profiles can help interpret those mixtures. Fine bead spacing improves the question; it does not guarantee that every inferred type corresponds to one intact cell.
Section 17 of 36
17. Read Visium examples by spot geometry
Visium capture spots usually contain multiple cells, making mixture decomposition particularly relevant. Compare inferred compositions with histology, known brain anatomy and measured markers. Smooth abundance gradients may be plausible, but neighbouring spots are correlated and cannot replace independent animals or sections.
Section 18 of 36
18. Analyse cell-type-specific spatial expression
After decomposition, RCTD can support analyses asking whether a cell type changes expression with its spatial environment. This is more demanding than locating types because composition and expression are entangled. Require sufficient cells, repeated specimens and controls for depth before calling an environment-dependent gene.
Section 19 of 36
19. Separate composition from state
A region with more of one cell type can show different bulk expression even if each cell behaves identically. Conversely, a type can change state without changing abundance. Model and visualise these possibilities separately; otherwise a compositional shift may be narrated as cell activation or regulation.
Section 20 of 36
20. Replicate at the specimen level
Thousands of pixels from one section are not thousands of biological replicates. Use independent animals or donors, balance processing batches and report every specimen. Spatial autocorrelation should be handled in statistics so dense sampling does not create artificial certainty.
Section 21 of 36
21. Validate with independent measurements
Use histology, in-situ RNA, protein staining or another spatial platform to test representative common, rare and confusable types. Preselect markers where possible and include expected negatives. Validation should challenge surprising maps, not merely decorate well-known regions after the answer is visible.
Section 22 of 36
22. Challenge an incomplete reference
Remove one cell type in a controlled analysis and observe where its pixels go. This reveals the model’s failure signature when a real state is absent. Low fit, diffuse weights or redistribution to a related lineage should trigger an unresolved label rather than forced completeness.
Section 23 of 36
23. Challenge similar cell types
Closely related neurons or immune subtypes may share most genes. Aggregate them, inspect discriminating markers and test sensitivity to annotation resolution. If only the broader lineage is stable, that is the publishable result; fine labels remain hypotheses for targeted validation.
Section 24 of 36
24. Respect the physical pixel
Deconvolution estimates contributors inside a measured capture area. It does not locate individual cells within that area or recover subcellular RNA coordinates. Report pixel dimensions, expected cellularity and effective resolution beside every high-resolution-looking heat map.
Section 25 of 36
25. Treat doublet mode as a model choice
Doublet mode can be powerful when locations usually contain one or two types, but it imposes that expectation. Compare with broader mixture modes and independent cell counts. If conclusions change, report the dependence instead of selecting the visually tidiest map.
Section 26 of 36
26. Compare RCTD with cell2location
Both methods combine single-cell references with spatial counts, but their models, priors and outputs differ. Concordance across broad lineages can strengthen evidence; disagreement can reveal reference, cellularity or platform assumptions. Method agreement is supportive, not a substitute for tissue validation.
Section 27 of 36
27. Compare decomposition with direct imaging
Targeted imaging can directly localise selected RNAs or proteins, while RCTD estimates mixtures from broader count data. Use decomposition for transcriptome-scale context and imaging for selected spatial confirmation. Neither automatically answers cell identity, state and physical contact at once.
Section 28 of 36
28. Let negative results remain useful
If a type is not detected, calibrate what abundance and signature strength the experiment could have recovered. A null result may exclude a large, well-marked population while leaving a sparse or transcriptionally similar one unresolved. That detection boundary is more honest than declaring absence.
Section 29 of 36
29. Try a classroom model
Give students three reference colour spectra and four mixed samples. Let them estimate mixtures, then secretly omit one source and watch how weights are forced onto the remaining colours. Ask students to state what was observed, what was inferred and what information remains unresolved. That three-column habit transfers directly to laboratory reports and prevents a plausible calculation from being mistaken for a new measurement.
Section 30 of 36
30. Start the habit in Primary Science
Primary Science builds careful observation, comparison and fair testing. A child can learn the foundation of RCTD without advanced algebra by sorting evidence from explanation, checking repeated measurements and asking whether a model has enough information. Those habits matter in PSLE Science and much later in computational biology.
Section 31 of 36
31. Strengthen PSLE Science reasoning
For PSLE Science, the useful link is not memorising software names. It is answering with evidence: identify the variable, read the table, connect cause and effect, and avoid a conclusion that exceeds the results. RCTD makes that familiar discipline visible in a modern research setting.
Section 32 of 36
32. Connect Secondary and O-Level Science
Secondary Science and O-Level Biology develop cells, organisation, variation, experimental design, graphs and evaluation. RCTD adds a contemporary example in which gene counts, tissue position and computation meet. Students can practise interpreting axes, controls, uncertainty and alternative explanations while keeping syllabus fundamentals central.
Section 33 of 36
33. Use Computing as a partner
Computing contributes data structures, algorithms, iteration, visualisation and reproducibility. Science contributes the question, samples, controls and biological interpretation. The productive boundary is clear: code can organise and test evidence, but it cannot rescue a weak reference or turn an assumption into an observation.
Section 34 of 36
34. Choose schools by fit, not a single buzzword
Families comparing Singapore schools should verify current subject combinations, laboratories, applied learning, CCAs, mentoring and timetable fit on official school and MOE pages. A fashionable term such as RCTD is not evidence of programme quality. Look for sustained inquiry, sound teaching and opportunities to explain results.
Section 35 of 36
35. See the career pathways
The reasoning behind RCTD appears in bioinformatics, pathology, neuroscience, genomics, biostatistics and scientific software. Pathways can include polytechnic, junior college, university and continuing education, with different mixtures of biology, statistics, computing, engineering and communication. Careers depend on qualifications and experience; one school project does not promise an outcome.
Section 36 of 36
36. Finish with a bounded claim
A careful conclusion keeps the central distinction visible: RCTD estimates reference-type contributions to measured spatial counts; it does not directly count or photograph cells. Report the data, model, uncertainty, sensitivity and validation together. That measured language is not timid—it is how science remains useful when the result moves from a colourful figure toward a decision.
A publication-ready RCTD study begins with a reference contract. Record species, tissue, region, developmental stage, condition, donor structure, single-cell technology, dissociation protocol, annotation method and number of cells per label. Explain why the reference should contain the states present in the spatial specimens. If a disease or treatment can create unfamiliar states, define how unresolved expression will be detected rather than forcing every pixel into a known category.
Pre-register the RCTD mode, spatial platform, gene set, count filters, platform-effect estimation, cell-type hierarchy, mixture threshold, primary contrast and validation assay. Singlet, doublet and multi modes encode different expectations about location composition. Choose using pixel size and histological cellularity, not whichever mode produces the clearest colours. Exploratory alternatives remain valuable when they are labelled and followed by independent confirmation.
Publish paired data funnels. For the reference, list raw droplets, quality-controlled cells, doublets removed, cells per annotation and donors retained. For spatial data, list raw locations, tissue-covered locations, count thresholds, genes retained and pixels successfully fitted. Map failed or excluded locations onto histology. Missingness can have structure, especially near tears, low-density regions and tissue edges.
Reference identifiability deserves its own analysis. Calculate similarity among cell-type profiles and inspect the genes distinguishing each pair. When two neuronal or immune subtypes remain highly correlated, test a combined lineage. A broad answer that is stable across specimens is stronger than fine weights that trade places across seeds. Archive both resolutions so later targeted assays can revisit the uncertain split.
Platform correction should be auditable. Plot gene-level effects, compare them across specimens and flag extreme values. Repeat analyses without the most corrected genes and with alternative shared-gene sets. A correction that preserves broad anatomy across sections is reassuring; one that reverses an important contrast warns that technology and biology remain entangled.
Mixture evaluation needs more than visual agreement. Create synthetic mixtures using reference profiles and count depths resembling the spatial assay, then vary abundance, relatedness and omitted cell types. Report confusion, calibration and residual behaviour. Simulation cannot replace real validation, but it reveals which types the design could separate and what failure looks like when a reference state is absent.
Uncertainty belongs in the main figures. Show mixture weights, combined lineages, fit diagnostics, residual expression, seed stability and sensitivity to genes and modes. Thresholded presence maps may be useful for communication, but publish the continuous values and threshold analysis. A pixel at 0.19 and one at 0.21 should not become biologically opposite solely because a convenient cut-off is 0.20.
Spatial expression analyses downstream of RCTD need a separate plan. Define the cell type, spatial covariate, gene set and specimen-level test before searching. Composition estimates and expression are derived from the same counts, so uncertainty and circularity matter. Confirm leading genes in held-out specimens or with in-situ assays and correct for multiple testing.
Biological replication operates at donor or animal level. Neighbouring pixels are correlated, and multiple sections from one specimen do not create independent organisms. Balance specimens across batches, show every replicate and use hierarchical or specimen-level summaries. A tiny p-value from thousands of pixels can coexist with an effect that appears in only one animal.
Validation should combine location and quantity. Histology and regional markers check orientation; RNA or protein imaging tests selected cell types; nuclear segmentation can assess cellularity. Include abundant, rare and confusable populations, plus expected negative regions. When the model predicts an unexpected mixture, prioritise that location for validation rather than only confirming textbook anatomy.
Reproducibility materials include raw and processed matrices, complete metadata, annotations, gene lists, RCTD mode, platform-effect estimates, software and spacexr versions, environment, seeds, fitted weights, residuals, validation measurements, analysis notebooks and checksums. A repository link alone is insufficient because defaults and dependencies change. Preserve the exact environment used to create each published map.
Negative findings require a detection statement. A near-zero weight may exclude a large, well-marked type under the matched reference while leaving a sparse, transcriptionally similar or missing state unresolved. Calibrate those possibilities with mixtures at observed depths. The strongest conclusion names the cell types, abundance range, spatial scale and reference conditions to which the null applies.
A defensible final sentence might say: ‘Across independently processed mouse-brain sections, prespecified RCTD models using quality-controlled references supported reproducible broad cell-type mixtures, while fine subtype weights remained sensitive in low-count and correlated regions.’ It should not claim that decomposed weights are directly counted cells or that a complete-looking map proves a complete reference.
Contents · Previous section · Continue to the Science Learning Hub
