eduKateSG · Why Science?
Condense neighbouring measurements into topology-preserving map nodes, test node-level spatial patterns with Gaussian processes, and show exactly what compression preserves or hides
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 Spatialde Spatially Variable Genes Tissue Pattern 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: SOMDE primary study; SOMDE PubMed record; Official SOMDE repository; SOMDE package on PyPI; 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.
SOMDE is a scalable method for detecting spatially variable genes. Its 2021 Bioinformatics paper first uses a self-organising map to condense nearby measurement sites into nodes, then applies Gaussian-process modelling to node-level meta-expression. This makes large datasets more tractable and lets users adjust effective resolution. Compression is also an assumption: node size, map training, aggregation, coordinate density, preprocessing, multiple testing and validation determine which spatial patterns survive and which disappear.
Inside this guide
1–12 · Foundations and models
- 1. Compress locations before testing genes
- 2. Train a self-organising map on coordinates
- 3. Assign measurements to winning nodes
- 4. Create node-level meta-expression
- 5. Fit a Gaussian process on nodes
- 6. Adjust effective resolution
- 7. Keep the published scope specific
- 8. Verify coordinates and tissue geometry
- 9. Quality-control expression first
- 10. Choose normalisation before aggregation
- 11. Choose the map size deliberately
- 12. Train several maps
13–24 · Evidence, testing and applications
- 13. Inspect node occupancy and shape
- 14. Archive node construction and tests
- 15. Practise with an invented compression table
- 16. Read node-level significance correctly
- 17. Use compression as denoising cautiously
- 18. Inspect small regions and boundaries
- 19. Inspect broad gradients
- 20. Replicate by specimen
- 21. Validate at original spatial resolution
- 22. Audit map-size sensitivity
- 23. Audit random-seed sensitivity
- 24. Audit aggregation rules
25–36 · Learning, decisions and pathways
- 25. Audit Gaussian-process assumptions
- 26. Compare SOMDE with nnSVG
- 27. Report negative results with resolution limits
- 28. Use compression to plan better experiments
- 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. Compress locations before testing genes
SOMDE tackles large spatial datasets by condensing nearby measurement sites into a smaller set of self-organising map nodes. It then tests node-level meta-expression for spatial variation. Compression reduces computation, but every node merges information and therefore changes resolution.
Section 2 of 36
2. Train a self-organising map on coordinates
A self-organising map uses competitive learning to place nodes while preserving topology and relative density of the original spatial sites. The map adapts to tissue sampling geometry. Training settings and randomness can change which locations share a node.
Section 3 of 36
3. Assign measurements to winning nodes
Each original site is associated with a closest or best-matching node. Sites within a node contribute to an aggregated expression profile. Publish node occupancy because a node representing two sites carries different support from one representing hundreds.
Section 4 of 36
4. Create node-level meta-expression
Gene values are combined within nodes to form a reduced spatial transcriptome. Aggregation can stabilise noise and accelerate modelling. It can also dilute a small island or sharpen a boundary depending on node placement and the summary used.
Section 5 of 36
5. Fit a Gaussian process on nodes
After condensation, SOMDE uses Gaussian-process modelling to identify genes whose node-level expression varies spatially. The test inherits Gaussian-process assumptions while operating on an approximation of the original tissue.
Section 6 of 36
6. Adjust effective resolution
Users can choose how strongly the map compresses locations. More nodes preserve detail but cost more; fewer nodes speed analysis and smooth fine structure. Resolution is therefore an explicit scientific and computational tradeoff, not merely a performance option.
Section 7 of 36
7. Keep the published scope specific
The 2021 Bioinformatics paper presented SOMDE as a scalable method for identifying spatially variable genes using self-organising maps and Gaussian processes. Reported speed and comparable results were evaluated on selected datasets; each new platform still needs calibration and validation.
Section 8 of 36
8. Verify coordinates and tissue geometry
Check identifier order, units, axes, duplicates, tissue mask and disconnected pieces before training the map. A map can bridge a hole or separate tissue fragment unless geometry is handled carefully. Overlay nodes and assignments on histology.
Section 9 of 36
9. Quality-control expression first
Map library size, detected genes, background, damaged regions and exclusions. Aggregation can hide low-quality observations inside an apparently stable node. Apply prespecified filters at the original-site level and retain quality summaries for every node.
Section 10 of 36
10. Choose normalisation before aggregation
Record whether values were scaled, transformed or residualised before node meta-expression. Averaging on raw and log scales answers different questions. Keep original counts and repeat representative genes with a defensible alternative when conclusions are sensitive.
Section 11 of 36
11. Choose the map size deliberately
Relate node count to spot spacing, tissue area and expected smallest region. Avoid selecting map size only for runtime. A useful resolution should preserve the structures the scientific question needs and be tested with simulated small regions.
Section 12 of 36
12. Train several maps
Self-organising map optimisation may vary by initialisation. Repeat seeds, align node-level results where possible and inspect assignment stability. If a gene appears spatial only under one map, its evidence is compression-sensitive.
Section 13 of 36
13. Inspect node occupancy and shape
Map how many sites enter each node, their physical spread and tissue composition. Unequal occupancy affects variance and smoothing. A topology-preserving map does not guarantee every node is compact or biologically homogeneous.
Section 14 of 36
14. Archive node construction and tests
Save map size, seed, training epochs, node coordinates, site assignments, aggregation rule, Gaussian-process settings, tested genes and adjusted results. Without the assignment table, another analyst cannot reconstruct what information entered each spatial test.
Section 15 of 36
15. Practise with an invented compression table
This fictional table illustrates the tradeoff.
| Map | Original sites per node | Runtime | Small-island recovery | Broad-gradient recovery |
|---|---|---|---|---|
| Fine | 3 | high | strong | strong |
| Medium | 12 | medium | mixed | strong |
| Coarse | 48 | low | weak | strong |
| Very coarse | 120 | very low | absent | moderate |
Section 16 of 36
16. Read node-level significance correctly
A significant gene shows spatial structure after sites were condensed into nodes. Return to original-site maps before biological interpretation. The node result should not be drawn as if every original coordinate were independently tested.
Section 17 of 36
17. Use compression as denoising cautiously
Aggregation may reduce random measurement noise, but it also changes variance and effective sample size. Call it a computational representation, not a new measurement. Validate apparent improvements against held-out sites or independent assays.
Section 18 of 36
18. Inspect small regions and boundaries
Rare islands and sharp interfaces are most vulnerable to merging. Compare original and node maps around every important boundary. If a region is smaller than typical node spread, the analysis may not be capable of preserving it.
Section 19 of 36
19. Inspect broad gradients
Broad patterns often survive compression well and may benefit from noise reduction. Still check whether node density follows tissue sampling or technical quality. A broad gradient in node occupancy can influence fitted spatial structure.
Section 20 of 36
20. Replicate by specimen
Many original sites and nodes from one section do not become independent animals or patients. Train or analyse separate specimens, report common genes and show heterogeneity. Biological replication is not created by choosing more map nodes.
Section 21 of 36
21. Validate at original spatial resolution
Use in-situ RNA, protein staining, anatomy or another spatial technology on the tissue, not only on node summaries. The validation assay should resolve the smallest region claimed after compression.
Section 22 of 36
22. Audit map-size sensitivity
Run a small prespecified range of node counts. Track gene ranks, q-values and pattern recovery. Stable genes across resolutions are easier to defend; scale-dependent genes may be biologically interesting but require careful original-resolution validation.
Section 23 of 36
23. Audit random-seed sensitivity
Repeat map training and quantify assignment or result stability. A tidy single map can hide optimisation variability. Report consensus and unresolved zones rather than selecting the seed with the most familiar anatomy.
Section 24 of 36
24. Audit aggregation rules
Mean, sum or other meta-expression summaries can behave differently with unequal node occupancy. Use the method’s documented procedure and show whether important genes depend on occupancy. Do not treat an arbitrary summary as biologically neutral.
Section 25 of 36
25. Audit Gaussian-process assumptions
After compression, the spatial test still assumes a covariance model. Compare selected genes with another spatial statistic or original-resolution method. Agreement supports the signal; disagreement reveals whether compression or covariance is doing the work.
Section 26 of 36
26. Compare SOMDE with nnSVG
SOMDE gains scalability by reducing locations before Gaussian-process testing, whereas nnSVG approximates the Gaussian process through nearest neighbours while retaining original locations. The comparison exposes a choice between spatial compression and covariance approximation.
Section 27 of 36
27. Report negative results with resolution limits
A non-significant gene may lack a broad node-level pattern while still varying inside nodes. State the smallest region and effect size recoverable under the chosen map. Compression-aware simulations make null conclusions honest.
Section 28 of 36
28. Use compression to plan better experiments
If results change sharply with map size, the biology may sit near the assay’s effective resolution. That is a design clue: collect finer data, target a boundary or use imaging. The computational tradeoff becomes useful when it guides a measurement capable of settling the question.
Section 29 of 36
29. Try a classroom model
Have students combine nearby grid squares into larger tiles, calculate tile averages and observe which small islands disappear while broad gradients remain. Ask students to separate the measured values, the transformation, the model output and the final interpretation. That four-step audit makes uncertainty visible and transfers directly to practical reports and data-response questions.
Section 30 of 36
30. Start the habit in Primary Science
Primary Science develops observation, comparison and fair testing. A child need not run SOMDE to practise its foundations: record consistently, look for a pattern, test another explanation and avoid claiming more than the evidence shows. Those habits support PSLE Science and later data science.
Section 31 of 36
31. Strengthen PSLE Science reasoning
The useful PSLE connection is not memorising software names. It is reading tables and graphs, identifying variables, connecting cause and effect and explaining why evidence supports a conclusion. SOMDE shows how the same discipline matters when thousands of genes are tested at once.
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. SOMDE adds a modern example where gene expression, tissue position and statistics meet. Students can practise controls, uncertainty and alternative explanations while keeping syllabus concepts—not jargon—central.
Section 33 of 36
33. Use Computing as a partner
Computing contributes data structures, algorithms, scalable calculation, visualisation and reproducibility. Science contributes the question, specimen, control and interpretation. Code can test patterns efficiently, but it cannot repair a biased sample or convert an assumption into an observation. Both disciplines improve when that boundary stays 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 SOMDE, 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 SOMDE appears in machine learning, spatial biology, bioinformatics, genomics, biostatistics and scientific computing. Pathways may include polytechnic, junior college, university and continuing education, with different blends of biology, statistics, computing and communication. Check current entry requirements on official institutions; one school project cannot guarantee an occupation.
Section 36 of 36
36. Finish with a bounded claim
A careful conclusion keeps the distinction visible: SOMDE tests Gaussian-process spatial variation on self-organising-map meta-expression; compression improves scalability but does not create finer measurements and can hide local structure. Report the input, model, effect size, uncertainty, sensitivity and validation together. This measured language is how a computational pattern becomes evidence another person can reproduce, challenge and use.
A publication-ready SOMDE project begins with a compression contract. Record the platform, original coordinate units, tissue mask, site count, map dimensions, random seed, training iterations, site-to-node assignment and meta-expression rule. Preserve original and node-level data separately. Without the assignment table, no one can determine what information a significant node-level result contains.
Pre-register quality filters, normalisation, map sizes, seeds, aggregation, Gaussian-process settings, tested genes, false-discovery rule, primary contrasts and validation. Specify the smallest biological region the analysis aims to preserve. Compression should be chosen from scientific resolution needs as well as memory and runtime.
Publish a funnel from raw sites and genes through quality-controlled locations, trained nodes, occupancy, meta-expression and tested features. Overlay nodes and assignment regions on histology. Map node occupancy, physical spread and within-node quality. A node that merges a tissue tear or distant points is a warning even when topology appears broadly preserved.
Map-size sensitivity belongs in the main evidence. Use fine, medium and coarser resolutions over a prespecified range, then track ranks, q-values and pattern maps. Stable broad genes are credible across compression. A small-island gene that disappears at coarse resolution is not necessarily false; it is resolution-dependent and needs original-scale validation.
Random-seed stability should be quantified. Train several maps and compare site assignments and downstream gene rankings. Show consensus regions and unstable boundaries. Choosing the seed that most resembles known anatomy converts optimisation variability into hidden supervision.
Aggregation rules and unequal occupancy need attention. Mean, sum and other summaries respond differently when nodes contain different numbers of sites. Use the documented method and report occupancy effects. Keep original-site maps for every headline gene so compression cannot hide heterogeneity inside a stable average.
The Gaussian-process stage remains a statistical model. Report kernel, spatial scale, effect summary, p-value, adjusted value and diagnostics. Node reduction lowers computational burden but changes sample size and covariance geometry. Significance is conditional on both compression and the subsequent model.
Empirical calibration should simulate patterns on the original coordinates, compress them through the same trained maps and test recovery. Vary island size, gradient width, effect and count depth. This end-to-end route reveals which biology survives the full pipeline rather than only the Gaussian-process test.
Biological replication remains at the specimen level. Nodes are summaries within a tissue, not independent animals or patients. Train and analyse independent sections, report common genes and show map differences. Adjacent sections test repeatability; independent subjects support generalisation.
Orthogonal validation must return to the original tissue scale. Confirm broad, compact, compression-sensitive and negative genes with in-situ RNA, protein staining, anatomy or another platform. A node-level pattern cannot establish where expression lies within a node without finer measurement.
Compare selected genes with nnSVG or SpatialDE under aligned preprocessing. SOMDE reduces locations before Gaussian-process testing; nnSVG retains locations while approximating covariance. Agreement supports broad structure, while differences illuminate information lost by compression or sensitivity to model scale.
Negative claims require a resolution statement. A non-significant node-level result may exclude a broad high-contrast pattern while leaving within-node variation unresolved. Report the physical spread of nodes and simulation-based recovery limits, not merely a q-value.
Reproducibility materials include original matrices, processed layers, coordinates, masks, map settings, seeds, training history, node coordinates, assignments, occupancy, aggregation, Gaussian-process settings, software version, environment, complete tables, figures, validation and checksums. Preserve enough state to rerun tests without retraining a different map.
Reader-facing figures should show the original capture grid beneath the node map. Use lines or translucent regions to reveal which sites feed each node, and display occupancy beside meta-expression. This prevents a reduced map from appearing to contain new capture locations. A second panel at the original resolution should accompany every biological claim.
Did you know? Self-organising maps were designed to compress data while preserving neighbourhood structure. Preservation is approximate, which is why a small island may disappear even when a broad gradient remains. That tradeoff is a cheerful, concrete way to teach that faster computation often involves deciding which detail the scientific question can afford to lose.
For students, compression can be explored with transparent paper or coloured tiles. Combine four neighbouring squares, calculate one representative value and repeat at two grid sizes. Then ask which structures survived and why. The exercise connects averages, scale, information loss and fair comparison, building intuition that will later support data structures, machine learning and careful scientific visualisation.
A useful checking question is: which biological feature is smaller than a typical node? If the answer includes the main target, a finer map or a different method is needed before publishing a precise localisation claim.
A careful final sentence might say: ‘SOMDE identified reproducible node-level spatial genes across independent sections and plausible map resolutions, while fine-scale patterns remained explicitly bounded by compression and were tested at original tissue resolution.’ It should not describe meta-expression as new measurements or coarse nodes as finer biological localisation.
Contents · Previous section · Continue to the Science Learning Hub
