eduKateSG · Why Science?
Find genes whose expression varies with tissue position, group shared spatial patterns, and keep every discovery tied to preprocessing, kernel assumptions, multiple testing, replication and independent validation
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 Squidpy Spatial Neighbourhoods Omics Image Analysis 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: SpatialDE primary study; Official SpatialDE repository; Bioconductor SpatialDE vignette; 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.
SpatialDE is a statistical method for identifying genes whose expression varies with spatial coordinates. Its Nature Methods paper models spatial and non-spatial components with Gaussian processes and adds automatic expression histology to group genes with shared patterns. A significant gene is evidence that location helps explain variation under the fitted model—not proof of a cell type, pathway or cause. Count preprocessing, coordinates, tested length scales, multiple comparisons, tissue quality and biological replication determine what the result can support.
Inside this guide
1–12 · Foundations and models
- 1. Ask whether expression depends on place
- 2. Separate spatial and non-spatial variation
- 3. Use Gaussian processes for flexible patterns
- 4. Compare candidate spatial models
- 5. Control many gene tests
- 6. Group genes by automatic expression histology
- 7. Keep the published scope specific
- 8. Protect coordinate integrity
- 9. Quality-control expression counts
- 10. Choose a defensible transformation
- 11. Filter genes before testing
- 12. Model known technical covariates
13–24 · Evidence, testing and applications
- 13. Fit candidate length scales transparently
- 14. Archive a reproducible test table
- 15. Practise with an invented results table
- 16. Read a spatially variable gene carefully
- 17. Interpret variance fractions, not only ranks
- 18. Use length scale as a clue
- 19. Treat pattern clusters as hypotheses
- 20. Replicate at the specimen level
- 21. Validate with another measurement
- 22. Challenge technical spatial gradients
- 23. Challenge kernel dependence
- 24. Respect sparse and zero-heavy data
25–36 · Learning, decisions and pathways
- 25. Separate spatial genes from spatial domains
- 26. Compare with neighbourhood statistics
- 27. Report negative genes with power limits
- 28. Make the claim travel only as far as the data
- 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 buzzword
- 35. See the career pathways
- 36. Finish with a bounded claim
Section 1 of 36
1. Ask whether expression depends on place
SpatialDE begins with a focused question: does a gene vary across tissue coordinates more than expected from non-spatial variation? Every location contributes an expression value and position. The method tests a pattern, not a mechanism, so a positive result says location carries information under the model rather than explaining why the pattern exists.
Section 2 of 36
2. Separate spatial and non-spatial variation
The model decomposes expression variance into a spatial component and residual noise. A gene can fluctuate strongly yet show little spatial structure, while a modest gradient can be spatially organised. This distinction prevents ordinary heterogeneity from being mistaken for tissue architecture simply because values differ between capture locations.
Section 3 of 36
3. Use Gaussian processes for flexible patterns
SpatialDE builds on Gaussian-process covariance models. Nearby locations may be correlated according to candidate spatial kernels, allowing smooth gradients, periodic structures or local patterns to be represented without drawing regions first. The flexibility is valuable, but results remain conditional on the family of patterns and length scales that were tested.
Section 4 of 36
4. Compare candidate spatial models
The method evaluates spatial alternatives against a non-spatial model. Model comparison supplies a significance test and estimates how much variation is spatially structured. A best-fitting kernel is a compact description of covariance, not proof that a biological process literally follows that mathematical shape.
Section 5 of 36
5. Control many gene tests
A transcriptome-wide screen tests thousands of genes, so some small p-values occur by chance. SpatialDE reports multiple-testing-adjusted results such as q-values. Researchers should prespecify the tested gene set, show the number of tests and avoid selecting a convenient threshold after viewing the tissue maps.
Section 6 of 36
6. Group genes by automatic expression histology
SpatialDE also introduced automatic expression histology, which clusters spatially variable genes into shared patterns. Co-patterning can reveal candidate tissue regions and coordinated programmes. It does not establish that genes regulate one another, share a cell type or belong to the same pathway without additional evidence.
Section 7 of 36
7. Keep the published scope specific
The primary Nature Methods study demonstrated SpatialDE on spatial RNA-sequencing and multiplexed imaging datasets. Those examples establish a statistical approach for detecting spatial variation. They do not guarantee the same sensitivity for every platform, resolution, count depth, tissue, species or preprocessing workflow.
Section 8 of 36
8. Protect coordinate integrity
Coordinates must correspond exactly to expression columns or rows. Confirm orientation, scale, units, tissue mask, duplicated points and image registration before modelling. A transposed axis may preserve significance while rotating interpretation; a mismatched barcode can manufacture a pattern that no biological validation can rescue.
Section 9 of 36
9. Quality-control expression counts
Inspect library size, detected genes, background, mitochondrial signal, damaged tissue and spatial coverage. Low-quality regions often form coherent patches, so technical problems are spatial too. Map every quality metric beside results and use prespecified exclusions rather than removing locations because they disrupt an appealing pattern.
Section 10 of 36
10. Choose a defensible transformation
Gaussian-process testing commonly uses transformed or residual expression. Record normalisation, variance stabilisation and any regression of total counts or covariates. Transformations can change gradients and variance, so repeat important findings with plausible alternatives and retain raw-count maps for context.
Section 11 of 36
11. Filter genes before testing
Genes with almost no observations cannot support stable spatial inference, while ubiquitous housekeeping genes may reflect depth. Define expression and variability filters before examining spatial results. Publish the full tested set so readers can understand the multiplicity burden and avoid confusing untested genes with negative genes.
Section 12 of 36
12. Model known technical covariates
Library size, slide position, chemistry batch and processing order may track physical coordinates. Include defensible covariates or analyse balanced batches, then show whether spatial hits survive. Regressing too aggressively can remove biology, whereas ignoring obvious gradients can convert an instrument pattern into a tissue story.
Section 13 of 36
13. Fit candidate length scales transparently
A pattern may be broad across an organ or fine around local structures. Report the candidate length scales, coordinate units and fitting procedure. If significance depends on one narrow scale or boundary, call that sensitivity visible rather than presenting a universal spatial programme.
Section 14 of 36
14. Archive a reproducible test table
For every gene, preserve the statistic, p-value, adjusted value, spatial variance fraction, selected model and length scale. Save software version, seed, coordinates and processed matrix. A ranked list without its data lineage cannot be independently audited or updated when implementation defaults change.
Section 15 of 36
15. Practise with an invented results table
This fictional table teaches interpretation, not performance.
| Gene | Spatial fraction | q-value | Pattern scale | First reading |
|---|---|---|---|---|
| G1 | 0.72 | 0.002 | broad | strong broad structure |
| G2 | 0.41 | 0.031 | local | candidate local structure |
| G3 | 0.08 | 0.64 | none | not supported |
| G4 | 0.55 | 0.049 | periodic | threshold-sensitive |
Section 16 of 36
16. Read a spatially variable gene carefully
A significant gene deserves a map of transformed expression, raw counts, depth and tissue morphology. Look for replication across sections and donors. A smooth heat map is easy to admire, but tissue edges, empty areas and capture efficiency can also create smooth spatial covariance.
Section 17 of 36
17. Interpret variance fractions, not only ranks
The spatial variance fraction helps distinguish a tiny but statistically detectable pattern from a dominant tissue signal. Confidence and effect size should accompany q-values. Dense sampling can yield precise p-values even when the biological contrast is too small to matter for the question.
Section 18 of 36
18. Use length scale as a clue
Estimated spatial scale can help prioritise validation: a broad gradient suggests different probes than a tiny island. Yet scale is influenced by spot spacing, tissue geometry and available kernels. Describe it as model-supported pattern size, not a directly measured cell diameter or anatomical boundary.
Section 19 of 36
19. Treat pattern clusters as hypotheses
Automatic expression histology groups genes with related spatial covariance. Inspect leading genes, individual maps and stability across cluster numbers. A cluster may combine a true programme with depth-related genes; pathway enrichment should use an appropriate background and independent biological knowledge.
Section 20 of 36
20. Replicate at the specimen level
Hundreds of coordinates in one section are not hundreds of independent organisms. Analyse independent sections and donors, summarise concordance and model batch structure. General claims should rest on specimen-level replication because local spots share biology, preparation and technical conditions.
Section 21 of 36
21. Validate with another measurement
Confirm representative genes using in-situ RNA, protein staining, known anatomy or a second spatial technology. Include strong, weak and negative findings. Validation should test predicted regions and boundaries before interpretation expands to cell states, pathways or disease mechanisms.
Section 22 of 36
22. Challenge technical spatial gradients
Rotate or permute coordinates where appropriate, inspect slide axes, include negative controls and compare housekeeping behaviour. These checks reveal whether detection follows physical tissue or processing geometry. A method that correctly finds spatial dependence cannot by itself decide whether the source is biological or technical.
Section 23 of 36
23. Challenge kernel dependence
Repeat key genes with alternative scales or spatial tests such as neighbourhood statistics. Agreement across methods supports a robust pattern; disagreement identifies the assumption doing the work. Do not average incompatible results into certainty—report which structure each model can and cannot see.
Section 24 of 36
24. Respect sparse and zero-heavy data
Zeros may reflect true absence, sampling or dropout. Transformation and filtering choices matter most for low-count genes. Calibrate detection with simulations or downsampling at observed depths, and avoid interpreting a spatial arrangement of zeros as a regulatory boundary without orthogonal evidence.
Section 25 of 36
25. Separate spatial genes from spatial domains
SpatialDE asks which genes vary with location; domain methods ask how locations group. One does not automatically solve the other. A gene can form a gradient without discrete regions, and a domain can arise from many weak features. Keep the scientific owner of each question clear.
Section 26 of 36
26. Compare with neighbourhood statistics
Moran-style tests and tools such as Squidpy offer complementary summaries of spatial autocorrelation. Use comparable preprocessing and multiple-testing rules. Concordance strengthens the pattern claim, while differences can reveal sensitivity to kernel form, neighbourhood graph or local versus global structure.
Section 27 of 36
27. Report negative genes with power limits
A non-significant gene is not necessarily spatially uniform. Low counts, small regions, coarse spots or an untested pattern can hide structure. State the signal sizes and scales the design could detect, and distinguish absence of evidence from evidence that a large pattern is absent.
Section 28 of 36
28. Make the claim travel only as far as the data
A spatial association can guide cell-type mapping, pathway analysis or targeted microscopy, but each step needs new evidence. Avoid turning correlation with coordinates into a causal developmental or disease story. The strongest workflow converts statistical patterns into specific experiments that could prove them wrong.
Section 29 of 36
29. Try a classroom model
Place coloured tiles on a grid, assign one variable a gradient and another random noise, then compare variation with spatial organisation. Change the grid spacing to show why scale matters. Students should label what was measured, what was calculated and what remains uncertain. That simple separation turns an attractive output into an evidence chain and transfers directly to practical reports, data-response questions and responsible scientific communication.
Section 30 of 36
30. Start the habit in Primary Science
Primary Science builds observation, comparison, fair testing and explanation from evidence. A child need not run SpatialDE to practise its foundations: record consistently, notice a pattern, test an alternative and avoid claiming more than the observations show. Those habits support PSLE Science and later computational work.
Section 31 of 36
31. Strengthen PSLE Science reasoning
The useful PSLE connection is not memorising software. It is identifying variables, reading tables and graphs, linking cause and effect, and explaining why evidence supports one conclusion better than another. SpatialDE shows how the same discipline matters when datasets become larger and models more sophisticated.
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. SpatialDE adds a contemporary example where gene expression, tissue position and computation meet. Students can practise controls, uncertainty and alternative explanations while keeping syllabus concepts—not jargon—at the centre.
Section 33 of 36
33. Use Computing as a partner
Computing contributes data structures, algorithms, visualisation, versioning and reproducibility. Science supplies the question, specimen, control and interpretation. Code can reveal structure and test assumptions, but it cannot repair biased sampling or convert an unmeasured process into an observation. Both disciplines become stronger when that boundary is explicit.
Section 34 of 36
34. Choose schools by fit, not a buzzword
Families comparing Singapore schools should verify current subject combinations, laboratories, Applied Learning Programmes, CCAs, mentoring and timetable fit on official school and MOE pages. A mention of SpatialDE, AI or genomics is not evidence of programme quality. Look for sustained inquiry, sound teaching and chances to explain results.
Section 35 of 36
35. See the career pathways
The reasoning behind SpatialDE appears in spatial biology, genomics, biostatistics, pathology, bioinformatics and scientific software. Pathways may include polytechnic, junior college, university and continuing education, with different blends of biology, statistics, computing, engineering and communication. Current course requirements should be checked on official institutions; one school project cannot promise a career outcome.
Section 36 of 36
36. Finish with a bounded claim
A careful conclusion keeps the distinction visible: SpatialDE detects model-supported spatial expression patterns; it does not identify their biological cause or directly draw anatomical compartments. Report the inputs, model, uncertainty, sensitivity and validation together. This measured language is not timid. It is how a colourful computational result becomes useful evidence that another person can inspect, reproduce and challenge.
A publication-ready SpatialDE study begins with a data contract: platform, tissue, specimen identifiers, coordinate units, spot or cell dimensions, feature identifiers, count layer and tissue mask. Preserve the raw matrix and coordinates together with checksums. Verify that every expression column maps to exactly one location and that image registration has not silently changed orientation. Spatial software will analyse a rotated or mismatched grid without knowing it is wrong.
Pre-register the scientific contrast, quality filters, normalisation or residualisation, covariates, tested genes, candidate kernels, coordinate scaling, significance threshold and correction method. State whether automatic expression histology is exploratory or confirmatory. Thousands of gene tests and several length scales create many opportunities to optimise a story after viewing maps; a locked plan separates discovery from evidence that can be checked independently.
Publish a funnel from raw locations and genes to quality-controlled observations and the final tested matrix. Map library size, detected genes, background and exclusions on the same coordinate system as the results. Spatially coherent technical quality is especially dangerous because the method is designed to detect spatial coherence. A significant q-value cannot distinguish tissue biology from a slide or processing gradient by itself.
Transformation choices deserve their own sensitivity analysis. Compare a prespecified main transformation with at least one defensible alternative, and show raw-count maps for representative genes. Regressing total counts can reduce depth artefacts but may also change a biological gradient. Explain which covariates were adjusted, why they were measured and whether conclusions hold without aggressive correction.
For every headline gene, report effect size, spatial variance fraction, adjusted significance, selected kernel, length scale and uncertainty. A ranked list is not enough. Pair maps with histology, count depth and replicate panels. Use common colour scales for comparisons, avoid interpolating beyond sampled locations and mark tissue gaps. Readers should see the measurement grid rather than a smoothed surface that implies finer resolution.
Automatic expression histology should be audited across plausible cluster counts and initialisations. Show the genes driving each pattern and individual expression maps, not only the average. Pathway enrichment needs an appropriate tested-gene background and multiple-testing correction. Shared spatial pattern supports co-localisation; it does not prove regulation, physical interaction or a shared cell type.
Specimen-level replication is essential. Spots within a section share tissue, preparation and neighbourhood structure. Analyse independent animals or donors, retain section identity and report which genes and pattern scales reproduce. A meta-analytic or specimen-summary result is stronger than pooling every coordinate and treating spatial autocorrelation as extra biological replication.
Technical negative controls can include coordinate permutations that preserve expression, slide-axis checks, blank or non-tissue regions where appropriate, and known housekeeping behaviour. Simulations should match observed count depth, geometry and zero frequency. Vary effect size, island size, gradient width and pattern form to show which spatial structures the design could detect and which remain invisible.
Orthogonal validation should challenge several result types: one broad gradient, one compact region, one threshold-sensitive gene and one negative control. Use in-situ RNA, protein staining, known anatomy or an independent spatial platform at matching resolution. Validation chosen only after the most photogenic map is visible is weaker than prespecified probes or a held-out section.
Compare a small set of important genes with an alternative spatial statistic or neighbourhood graph. Align preprocessing and multiplicity rules before interpreting agreement. Concordance shows that the pattern is not unique to one covariance assumption; disagreement is informative because it reveals whether the signal is local, global, smooth, periodic or graph-dependent.
Negative findings need a detection boundary. A non-significant result may exclude a broad, strong pattern for a well-measured gene while leaving a small island, sparse transcript or untested geometry unresolved. Downsampling and simulations can express that boundary in the same units as observed counts and coordinate spacing. Report what was ruled out and what remained below the design’s reach.
Reproducibility materials include raw and processed matrices, coordinates, tissue masks, covariates, gene filters, kernel grid, software commit, environment, seeds, complete result table, clustering settings, figures, validation data and checksums. Archive the exact residual layer used for modelling. A repository link without versions and inputs cannot reproduce a statistical result years later.
A defensible final sentence might say: ‘Across independently processed tissue sections, prespecified SpatialDE tests supported reproducible spatial variation for selected genes over reported length scales, with technical gradients and multiple testing controlled and representative patterns confirmed by independent measurements.’ It should not turn a covariance pattern into a causal pathway or call an automatically grouped pattern an anatomical compartment without validation.
Contents · Previous section · Continue to the Science Learning Hub
