eduKateSG · Why Science?
Use a Bayesian hierarchy to connect single-cell-scale cell types with tissue-scale spatial domains across samples—while keeping priors, labels, boundaries and uncertainty visible
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 Spagcn Graph Convolution Spatial Domains Histology Evidence; Why Science Banksy Neighbourhood Features Scalable Spatial Omics Clustering Evidence; Why Science Stagate Graph Attention Autoencoders Spatial Domain Evidence; Education Hub; Singapore Secondary School Directory; Career Adulthood Hub. It also keeps current school and public claims traceable to visible primary sources: BASS primary study full text; BASS PubMed record; Official BASS repository; Official BASS analysis guide; 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.
BASS—Bayesian Analytics for Spatial Segmentation—is a computational method for single-cell-resolution spatial transcriptomics. Its 2022 Genome Biology study performs cell-type clustering at the single-cell scale and spatial-domain detection at the tissue-regional scale within one Bayesian hierarchical framework, while also supporting joint analysis of multiple tissue sections. These assignments are statistical summaries rather than directly observed identities or anatomical borders. Preprocessing, spatial correlation, priors, cluster numbers, label switching, sampling, specimens and orthogonal imaging constrain every interpretation.
Inside this guide
1–12 · Foundations and models
- 1. Begin with two spatial scales
- 2. Cluster cell types at cellular scale
- 3. Detect spatial domains at tissue scale
- 4. Use one Bayesian hierarchy
- 5. Represent spatial correlation
- 6. Join multiple samples
- 7. Keep the paper's demonstrated scope specific
- 8. Create a cell-and-sample contract
- 9. Audit segmentation before clustering
- 10. Map expression quality in tissue
- 11. Choose features without circularity
- 12. Define neighbours at a biological scale
13–24 · Evidence, testing and applications
- 13. Treat cluster counts as modelling choices
- 14. Track sampling and convergence
- 15. Practise with an invented Bayesian audit table
- 16. Read posterior support, not colour alone
- 17. Name cell types conservatively
- 18. Name domains conservatively
- 19. Separate composition from cell state
- 20. Preserve specimen as the unit of generality
- 21. Link scales through a testable question
- 22. Audit prior sensitivity
- 23. Audit cluster-number sensitivity
- 24. Audit neighbourhood sensitivity
25–36 · Learning, decisions and pathways
- 25. Validate with held-out and orthogonal evidence
- 26. Compare single-sample and simpler baselines
- 27. Report label-switching and uncertainty
- 28. Use uncertain borders to guide sampling
- 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 two spatial scales
Single-cell-resolution spatial data can contain cell populations at a fine scale and tissue domains at a broader scale. BASS models these tasks together. The attraction is coherence: cell-type patterns can inform regional structure while domains can help organise noisy cellular measurements.
Section 2 of 36
2. Cluster cell types at cellular scale
BASS groups cells using expression and spatial information. The output is an inferred transcriptomic class, not a microscope-confirmed biological identity. Naming a class requires markers, morphology, reference knowledge and, ideally, independent measurements.
Section 3 of 36
3. Detect spatial domains at tissue scale
Spatial domains describe broader regions with coherent cellular composition or expression. Their borders are probabilistic and resolution-dependent. A domain can reflect anatomy, pathology, sampling or acquisition structure; the model alone does not decide which interpretation is correct.
Section 4 of 36
4. Use one Bayesian hierarchy
The method connects cell-type clustering and domain detection through a hierarchical model. Bayesian structure makes assumptions explicit through probability distributions and spatial dependence. It does not make priors neutral or remove the need for experimental design.
Section 5 of 36
5. Represent spatial correlation
Neighbouring cells are often related because tissues are organised. Modelling that dependence can improve noisy assignments. Yet dispersed immune cells, migrating populations and thin boundaries may violate a simple preference for local similarity.
Section 6 of 36
6. Join multiple samples
BASS supports joint analysis across tissue sections or samples, which can stabilise patterns and enable comparison. Joint modelling is valuable only when sample identity remains visible and biological replication is not replaced by pooled cell counts.
Section 7 of 36
7. Keep the paper's demonstrated scope specific
The 2022 Genome Biology study evaluated single-cell-resolution spatial-transcriptomics datasets and illustrated multi-scale, multi-sample analysis. Those demonstrations establish performance under reported settings, not universal cell-type truth or anatomical segmentation.
Section 8 of 36
8. Create a cell-and-sample contract
Record specimen, condition, section, platform, segmentation, coordinates, count layer, gene identifiers, filtering and exclusions. Preserve the link from every cell to its image and sample. Joint analysis cannot repair a broken ownership chain.
Section 9 of 36
9. Audit segmentation before clustering
At single-cell resolution, segmentation defines which molecules belong to which cell. Map cell area, boundary confidence, molecule counts and overlaps. A clustering model can confidently organise segmentation errors if they are spatially systematic.
Section 10 of 36
10. Map expression quality in tissue
Plot depth, detected genes, background and missing cells on the original image. Low-quality regions can look like domains. Compare headline boundaries with tissue edges, imaging tiles and processing batches before biological naming.
Section 11 of 36
11. Choose features without circularity
Document filtering, normalisation, variable genes and any supplied markers. Do not choose markers using known domain labels and then use the same markers as independent validation. Hold out a set of genes or images for evaluation.
Section 12 of 36
12. Define neighbours at a biological scale
Report how adjacency is built, including distance, connectivity and boundaries. Neighbour rules that cross cavities or tears create false spatial support. Compare edge lengths across dense and sparse regions.
Section 13 of 36
13. Treat cluster counts as modelling choices
Cell-type and domain numbers affect each other. Explore a prespecified range and compare stability, markers and morphology. A single information criterion or visually appealing map should not close the scientific question by itself.
Section 14 of 36
14. Track sampling and convergence
Save chains or optimisation diagnostics, burn-in, iterations, seeds, label relabelling, posterior summaries, software version and compute. Apparent stability in one summary can hide poor exploration or label-switching across runs.
Section 15 of 36
15. Practise with an invented Bayesian audit table
This fictional table teaches reasoning, not benchmark performance.
| Region | Cell-type support | Domain probability | Boundary stability | Independent stain | First reading |
|---|---|---|---|---|---|
| R1 | high | high | high | agrees | supported |
| R2 | mixed | medium | low | gradual | transition |
| R3 | high | high | medium | absent | model-led |
| R4 | low | low | low | disagrees | unresolved |
Section 16 of 36
16. Read posterior support, not colour alone
A final colour map hides uncertainty. Publish probabilities, alternative labels and boundary stability. Cells with diffuse support may be mixtures, transitional states, sparse measurements or segmentation problems; they should not be forced into a crisp story.
Section 17 of 36
17. Name cell types conservatively
Use multiple markers, absence of incompatible markers, spatial context and external references. A transcriptomic cluster is not automatically a canonical cell type. Protein or morphology can expose differences between RNA-based labels and tissue identity.
Section 18 of 36
18. Name domains conservatively
Connect domains to anatomy only when independent landmarks, stains or known layers agree. Avoid naming a region after one marker selected from the same fit. Unlabelled numerical domains are acceptable until the evidence is strong.
Section 19 of 36
19. Separate composition from cell state
A region can differ because it contains different cell types or because the same type changes state. Analyse within reliable cell types and compare composition explicitly. Mixing these mechanisms produces attractive but vague domain explanations.
Section 20 of 36
20. Preserve specimen as the unit of generality
Thousands of cells from one section increase resolution, not biological replication. Summarise domains within specimens and compare across independent samples. Report specimens that disagree instead of averaging them away.
Section 21 of 36
21. Link scales through a testable question
Ask whether a regional domain is explained by cell-type composition, within-type state or both. Design a held-out marker or stain for each explanation. The hierarchy is most useful when it converts scale into an experiment.
Section 22 of 36
22. Audit prior sensitivity
Repeat representative fits with reasonable prior or hyperparameter alternatives. Track posterior probabilities, cell types and domains. If priors dominate sparse regions, report that dependence and narrow the claim.
Section 23 of 36
23. Audit cluster-number sensitivity
Vary cell-type and domain counts in a planned grid. Record splits, merges and stable cores. The two levels can trade complexity, so tune and interpret them together rather than fixing one invisibly.
Section 24 of 36
24. Audit neighbourhood sensitivity
Change adjacency or distance within a defensible range, block edges across empty tissue and inspect boundaries. Persistent domains are stronger than those created by one convenient graph.
Section 25 of 36
25. Validate with held-out and orthogonal evidence
Use genes excluded from fitting, protein imaging, morphology and expert annotation. Include clear successes, uncertain boundaries and negative regions. Validation must not recycle the same labels that shaped the model.
Section 26 of 36
26. Compare single-sample and simpler baselines
Show per-sample clustering, expression-only clustering and a simple spatial segmentation under matched preprocessing. BASS should add coherent, reproducible structure rather than simply producing smoother regions.
Section 27 of 36
27. Report label-switching and uncertainty
Bayesian mixture labels are arbitrary symbols until aligned across runs. Document the relabelling procedure and preserve ambiguous matches. False stability can arise when unlike clusters are forced to share a name.
Section 28 of 36
28. Use uncertain borders to guide sampling
A domain edge that remains unstable across priors, graphs or samples may need denser imaging, another marker panel or a new section. Uncertainty identifies where added measurement has the highest value.
Section 29 of 36
29. Build a classroom model before code
Draw individual coloured dots inside larger hand-drawn regions. Let students change the number of dot groups and regions, then discuss which conclusions remain stable. Keep observations, transformations, assumptions and conclusions in separate columns. The aim is not to imitate specialist software; it is to make every evidence hand-off visible enough to test.
Section 30 of 36
30. Start with Primary Science habits
Primary Science already teaches the habits beneath BASS: observe carefully, compare fairly, record consistently and keep conclusions within the experiment. A simple 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. BASS adds a modern reminder that a statistical pattern is not automatically a cause. Students can 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. BASS provides a contemporary case where molecular measurements, tissue position and computing meet. The learning goal is disciplined reasoning, not memorising a package name.
Section 33 of 36
33. Let Computing support the science
Computing contributes data structures, graphs, algorithms, optimisation, visualisation and reproducibility. Biology supplies the specimen, mechanism and independent validation. BASS 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, probability, laboratory work, research attachments and microscopy opportunities on current official school and MOE pages. A school 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 BASS appears in biostatistics, tissue biology, pathology, Bayesian modelling, imaging, bioinformatics and scientific computing. Routes can pass through polytechnic, junior college, university or continuing education with different blends of biology, mathematics, statistics, computing and communication. Current course requirements must be checked 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 BASS estimated and under which inputs, settings and specimens. BASS estimates cell clusters and spatial domains within a Bayesian hierarchy; it does not make posterior labels direct cell identity, smooth borders anatomy or pooled cells independent specimens. Report uncertainty, sensitivity, replication, negative results and orthogonal validation together. That boundary is not weakness; it makes the result testable and reusable.
A defensible BASS workflow starts before modelling with a single-cell spatial data contract. Record segmentation method, molecule-to-cell assignment, expression layer, coordinate system, physical units, sample identity, tissue mask and quality exclusions. Save both cell outlines and centroids. A regional domain can be shaped by segmentation artefacts long before Bayesian inference begins.
Pre-register the two modelling questions separately: which transcriptomic cell groups are supported, and which tissue-scale domains are supported? The hierarchical model links them, but the scientific claims remain distinct. A good domain map does not certify every cell-type label, and a good cell-type partition does not make every regional boundary anatomical.
Publish prior and hyperparameter sensitivity. Sparse cells and weakly measured regions can borrow substantial structure from priors and neighbours. Compare a reasonable range, report posterior changes and mark locations whose labels are prior-sensitive. Bayesian inference makes uncertainty expressible; it does not make modelling judgement disappear.
Cluster-count exploration should cover cell types and domains jointly. A larger number of cell clusters can absorb heterogeneity that might otherwise appear as domains, while more domains can divide one cell mixture spatially. Show a small grid of alternatives with stable cores and ambiguous splits rather than a single unexplained choice.
Label switching must be handled transparently. Mixture labels such as cluster 1 or domain 2 carry no inherent identity and may permute across chains or seeds. Record the matching procedure, posterior co-assignment or relabelling rule. A colour that appears stable after plotting can hide different statistical labels underneath.
Validate cell types with several markers, incompatible-marker checks, morphology and external references. Validate domains with held-out genes, histology and spatial landmarks. Do not select markers from the fitted labels and then describe their agreement as independent proof. Reserve evidence before fitting whenever possible.
Multi-sample claims require specimen-level summaries. Sections from the same specimen can test local reproducibility but not population generality. Report domain prevalence, composition and uncertainty per specimen, then compare across biological replicates. Pooling cells can make small differences look exceptionally precise.
Create spatial negative controls. Shuffle coordinates within tissue masks, rotate fields where biologically sensible or simulate expression with known structure. These controls show how much clustering comes from expression, how much comes from adjacency and whether boundaries create false domains.
Reproducibility materials include raw molecules or counts, segmentation masks, centroids, sample manifest, feature lists, preprocessing, graphs, priors, cluster ranges, chains or optimisation logs, seeds, relabelling, posterior assignments, marker tables, validation images, package version, compute and checksums. Save posterior uncertainty, not only a final colour map.
Did you know? A Bayesian model can express uncertainty even when a plotting function shows one hard label per cell. The uncertainty has not vanished; it has been compressed. Publishing posterior support and alternative assignments often reveals more biology than making every boundary look certain.
A bounded conclusion might say: ‘BASS identified cell-scale clusters and tissue-scale domains that were stable across prespecified prior, cluster and neighbourhood checks, repeated across specimens and agreed with held-out molecular and morphological evidence.’ It should not turn posterior classes into direct cell identity, smooth regions into measured anatomy or thousands of cells into independent replicates.
An evidence ladder keeps scale honest. Level one is a computational assignment; level two is posterior stability; level three is a held-out marker; level four is an orthogonal stain; level five is replication across specimens; level six is a perturbation or prospective prediction. The hierarchy becomes powerful when each scale can be challenged independently.
Posterior predictive checking gives BASS a direct self-test. Simulate or reconstruct summaries under the fitted model and compare them with observed library sizes, marker distributions, neighbour composition and boundary sharpness. A model can assign confident labels while failing to reproduce a basic feature of the data. Put those discrepancies beside the domain map rather than hiding them in an appendix.
Sampling density also changes what the hierarchy can see. Dense areas may support narrow cell clusters and detailed borders, while sparse regions borrow more from neighbours and priors. Stratify uncertainty and validation by local density, tissue region and quality. If a domain boundary follows a density change, treat it as a technical alternative until orthogonal evidence distinguishes anatomy from sampling.
Plan a leave-one-specimen-out analysis when several samples are available. Fit the shared structure without one specimen, project or analyse the held-out sample under a declared procedure, and record stable domains, new domains and failed matches. This is more informative than pooling every cell first because it tests whether the learned hierarchy travels to genuinely unseen biological material.
Cell and domain labels should end in a claim ledger. For each label, list the measured markers, incompatible markers, morphological evidence, posterior support, specimens represented and unresolved alternatives. A label such as ‘immune-like cluster’ may be justified while a narrower subtype is not. Precision should follow evidence instead of the available annotation vocabulary.
Contents · Previous section · Continue to the Science Learning Hub
