eduKateSG · Why Science?
Test expression–space dependence at large scale with a non-parametric covariance framework—while checking transformations, spatial kernels, multiplicity, tissue structure and reproducible computing
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 Giotto Spatial Omics Workflows Cell Neighbourhood Evidence; Education Hub; Singapore Secondary School Directory; Career Adulthood Hub. It also keeps current school and public claims traceable to visible primary sources: SPARK-X primary study; SPARK-X full text; Official SPARK repository; Official SPARK-X analysis repository; 2026 Singapore–Cambridge O-Level Biology 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.
SPARK-X is a non-parametric method for rapid detection of spatially expressed genes in large spatial transcriptomics studies. Its 2021 Genome Biology paper uses covariance tests to measure dependence between expression and spatial kernels while reducing the computational burden of earlier model-based approaches. Speed expands what can be tested, but it does not remove statistical responsibility. Transformations, coordinates, kernels, multiplicity, technical gradients, specimen replication and independent validation remain essential.
Inside this guide
1–12 · Foundations and models
- 1. Ask a dependence question at scale
- 2. Transform expression and space into kernels
- 3. Avoid a full parametric distribution
- 4. Use efficient matrix calculations
- 5. Combine multiple spatial kernels
- 6. Control false discoveries
- 7. Keep the published scope specific
- 8. Protect identifier and coordinate integrity
- 9. Map technical quality first
- 10. Choose expression transformation visibly
- 11. Choose spatial kernels visibly
- 12. Preserve memory and runtime evidence
13–24 · Evidence, testing and applications
- 13. Archive component statistics
- 14. Separate exploration from confirmation
- 15. Practise with an invented covariance table
- 16. Read a ranking as prioritisation
- 17. Inspect within-type spatial expression carefully
- 18. Distinguish speed from resolution
- 19. Compare broad and compact patterns
- 20. Replicate by specimen
- 21. Validate at matching spatial scale
- 22. Test null calibration on the dataset
- 23. Challenge transformation dependence
- 24. Challenge kernel dependence
25–36 · Learning, decisions and pathways
- 25. Challenge technical axes
- 26. Compare SPARK-X with SPARK
- 27. Treat non-significance as bounded
- 28. Build a reproducible large-screen record
- 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 a dependence question at scale
SPARK-X asks whether gene expression and spatial location are statistically dependent. It uses non-parametric covariance tests rather than fitting a full count model for every gene. This makes large screens practical, while the biological meaning still depends on specimen design and validation.
Section 2 of 36
2. Transform expression and space into kernels
The method represents similarities among expression values and similarities among spatial coordinates through kernel matrices. A covariance statistic measures whether those similarity structures align. Kernels expand the patterns the test can detect but remain user-selected mathematical views of the data.
Section 3 of 36
3. Avoid a full parametric distribution
Non-parametric testing reduces reliance on a specific count distribution. It does not make preprocessing irrelevant or remove all assumptions. Transformations, centring, kernel design and sample structure still determine the statistic and its null behaviour.
Section 4 of 36
4. Use efficient matrix calculations
SPARK-X was designed to reduce time and memory for large spatial datasets. Computational savings allow more locations and genes to be analysed. Speed is operational value, not accuracy proof; a rapid wrong input simply produces a wrong ranked list sooner.
Section 5 of 36
5. Combine multiple spatial kernels
Several kernels can capture broad, local or periodic spatial structure, and evidence is combined into one gene-level test. Publish the kernel library and component results. A combined p-value can hide which pattern supplied the evidence.
Section 6 of 36
6. Control false discoveries
Large spatial datasets still test thousands of genes. Apply multiple-testing correction to the complete screened set. Report exact thresholds and avoid declaring a gene important only because it appears near the top of a long ranking.
Section 7 of 36
7. Keep the published scope specific
The 2021 Genome Biology paper introduced SPARK-X for rapid and effective detection of spatially expressed genes in large studies and evaluated type-I error, power, memory and runtime. New datasets still require local calibration, quality control and replication.
Section 8 of 36
8. Protect identifier and coordinate integrity
Confirm barcode order, units, axes, duplicates, tissue mask and orientation before computing kernels. A coordinate transform changes spatial similarity. Keep the original and analysis coordinates, and document any rescaling or three-dimensional embedding.
Section 9 of 36
9. Map technical quality first
Plot counts, detected genes, background, tissue edges, slide axes and exclusions. A covariance test correctly detects any spatial dependency, including processing artefacts. Quality-control variables must remain visible so statistical truth is not mislabelled biological truth.
Section 10 of 36
10. Choose expression transformation visibly
Record normalisation, log or residual transformation, feature filtering and centring. Repeat headline genes with defensible alternatives. A non-parametric test can be sensitive to the representation because expression similarity is constructed from the supplied values.
Section 11 of 36
11. Choose spatial kernels visibly
List kernel formulas, scales and coordinate units. Ensure scales match spot spacing and tissue extent. If a result depends on one extreme kernel, state that dependence and validate at the corresponding physical scale.
Section 12 of 36
12. Preserve memory and runtime evidence
Record dataset dimensions, hardware, package commit, peak memory and runtime. Scalability claims belong to a stated environment. Operational benchmarks should not be copied from a paper into a new platform without measurement.
Section 13 of 36
13. Archive component statistics
Save gene-level p-values, adjusted values, component kernel statistics, ranking, tested genes and warnings. Component evidence helps distinguish a robust multi-scale gene from one driven by a single fragile spatial representation.
Section 14 of 36
14. Separate exploration from confirmation
A large screen is excellent for discovery. Lock a smaller validation set before inspecting an independent section or assay. Reusing the same tissue to discover, tune and confirm patterns creates circular evidence even when p-values are well calibrated.
Section 15 of 36
15. Practise with an invented covariance table
This fictional table teaches reasoning, not performance.
| Gene | Expression–space covariance | Best kernel | q-value | Replicate status |
|---|---|---|---|---|
| G1 | 0.31 | broad | 0.004 | repeated |
| G2 | 0.22 | local | 0.018 | mixed |
| G3 | 0.07 | periodic | 0.043 | not repeated |
| G4 | 0.01 | none | 0.72 | negative |
Section 16 of 36
16. Read a ranking as prioritisation
A high rank means strong evidence under the test, kernel set and preprocessing. It is not a direct measure of biological importance. Pair ranks with effect summaries, expression maps, count depth and tissue landmarks.
Section 17 of 36
17. Inspect within-type spatial expression carefully
The primary study reported examples of genes spatially expressed within the same cell type. Such analysis requires reliable cell-type information and enough observations. Composition correction or stratification adds assumptions that must be documented and validated.
Section 18 of 36
18. Distinguish speed from resolution
Analysing more locations may reveal finer structure, but computation does not improve the assay’s molecule capture or physical spot size. Report measurement resolution separately from matrix dimensions and rendered pixel density.
Section 19 of 36
19. Compare broad and compact patterns
Broad gradients and small islands may have similar adjusted significance but different biological and technical risks. Examine component kernels, region size and replicate support before deciding which pattern deserves targeted follow-up.
Section 20 of 36
20. Replicate by specimen
Locations in one slide are correlated. Show each section and summarise gene evidence across independent donors or animals. Large n within one tissue improves pattern estimation but does not replace biological replication.
Section 21 of 36
21. Validate at matching spatial scale
Use in-situ RNA, protein staining, anatomy or another spatial technology with sufficient resolution. Broad patterns can be tested broadly; compact niches need fine imaging. Validation below the required resolution cannot establish the original claim.
Section 22 of 36
22. Test null calibration on the dataset
Use permutations or simulations that preserve realistic expression and geometry while removing association. Examine p-value distributions and empirical false positives. Published calibration is reassuring, but new preprocessing and tissue structure can create different behaviour.
Section 23 of 36
23. Challenge transformation dependence
Repeat the primary screen with one or two prespecified transformations and compare ranks and discoveries. Stable genes are easier to defend. Transformation-sensitive genes remain hypotheses rather than being discarded or quietly hidden.
Section 24 of 36
24. Challenge kernel dependence
Inspect component tests and run a plausible alternative spatial scale. If evidence exists only under one kernel, say so. Different kernels ask different geometry questions; combining them does not erase that scientific choice.
Section 25 of 36
25. Challenge technical axes
Check whether leading genes follow slide rows, columns, batch blocks or tissue edges. Overlay depth and background. A scalable method can surface subtle artefacts that smaller analyses missed, making technical audit more important rather than less.
Section 26 of 36
26. Compare SPARK-X with SPARK
SPARK-X trades full parametric count modelling for non-parametric scalable covariance tests. Align gene filters, coordinates and kernel sets before comparing. Agreement supports a robust dependency; disagreement identifies distributional or computational assumptions to investigate.
Section 27 of 36
27. Treat non-significance as bounded
Failure to detect dependence may exclude strong patterns at tested scales while leaving weak, rare or untested geometries unresolved. Use simulations on the observed layout to express a detection envelope rather than declaring spatial uniformity.
Section 28 of 36
28. Build a reproducible large-screen record
Archive matrices, coordinates, transformations, kernels, versions, hardware, code, result tables, figures and validation. Scalability matters because future datasets grow; reproducibility matters because a fast analysis will otherwise become impossible to audit.
Section 29 of 36
29. Try a classroom model
Let students compare two similarity matrices—one from grid distance and one from measured values—and ask when their patterns align. Change the kernel scale to show why representation matters. 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 SPARK-X 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. SPARK-X 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. SPARK-X 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 SPARK-X, 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 SPARK-X appears in large-scale bioinformatics, spatial genomics, statistics, high-performance computing, pathology and research software. 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: SPARK-X detects expression–space dependence through scalable non-parametric covariance tests; it does not reveal mechanism or make large sample size equivalent to biological replication. 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 rigorous SPARK-X screen begins with a clear data representation. Record platform, tissue, specimens, coordinate system, raw counts, the expression transformation supplied to the test, the spatial kernels and every filtering rule. Preserve raw and transformed matrices separately. A scalable method makes it easy to run many analyses, so provenance must make each one distinguishable.
Pre-register the scientific contrast, tested genes, transformation, kernel library, coordinate scaling, p-value combination, false-discovery rule, primary performance measures and validation. Speed should support a better design rather than more untracked attempts. Separate discovery in one set of sections from confirmation in held-out specimens or assays.
Publish a paired quality map and analysis funnel. Show library size, detected genes, background, tissue coverage, slide axes, batch, excluded locations and the final number of genes and sites. Covariance testing detects dependence regardless of cause; spatial technical variation can therefore be statistically real and biologically misleading.
Expression transformation requires sensitivity analysis. Compare a prespecified main representation with one defensible alternative for selected genes. Examine whether high-abundance and sparse features behave differently. Non-parametric does not mean representation-free: the expression similarity kernel is built from the supplied values.
Spatial kernels should be described in physical terms. List scale, units, intended pattern and component statistic. Pair the combined result with component evidence so readers can see whether support is broad, local or periodic. Avoid interpreting a numerical scale without spot spacing and tissue extent.
Scalability must be measured locally. Report locations, genes, hardware, threads, package commit, runtime and peak memory. The paper demonstrated large computational savings, but performance can change with implementation and environment. Do not copy a published runtime into a new dataset as if it were a property of the method alone.
Empirical null checks are still essential. Use coordinate permutations or simulations that preserve realistic expression and geometry while removing association. Plot null p-values and observed inflation. A very large dataset can reveal tiny deviations from assumptions; calibration, not sample size alone, determines whether small p-values are trustworthy.
For headline genes, publish adjusted significance, kernel components, effect or covariance summary, raw expression, transformed expression, count depth and replicate status. Rank is a prioritisation tool, not a measure of biological importance. A lower-ranked gene with large, replicated tissue contrast may matter more than a fragile top hit.
Specimen-level replication protects against pseudoreplication. Thousands of locations improve within-section estimation but remain nested inside one tissue. Show all donors or animals and summarise cross-specimen agreement. A single enormous slide cannot establish generality for a population or disease state.
Validation must match pattern scale. Broad gradients can be checked with regional anatomy and probes; compact hotspots need higher-resolution imaging. Include a strong, weak, transformation-sensitive and negative candidate. Orthogonal evidence should not reuse the same expression transformation that generated the hypothesis.
Compare selected genes with SPARK or SpatialDE after aligning inputs. Agreement suggests the dependency survives parametric and non-parametric routes. Differences can expose count-distribution, transformation or kernel effects. Report them as information about assumptions rather than choosing the most convenient list.
Negative conclusions require simulations at the observed depth and geometry. State the smallest region and weakest contrast with adequate recovery. Non-detection under the tested kernels should not be rewritten as spatial uniformity across every possible geometry.
Reproducibility materials include source matrices, transformed layers, coordinates, masks, gene filters, kernels, component statistics, combined values, software and environment, hardware measures, code, figures, validation and checksums. Archive complete tables so future analyses can apply new thresholds without rerunning the screen.
Reader-facing figures should make the analysis route navigable. Pair each gene map with a compact caption naming transformation, kernel, q-value, tissue section and whether the result replicated. Use the same spatial orientation and colour limits for intended comparisons. A fast screening method can generate hundreds of figures; disciplined selection and complete supplementary tables keep visual abundance from becoming selective evidence.
Did you know? A covariance test can detect dependence without specifying one exact expression distribution, yet it still needs a definition of similarity in expression and space. That is why non-parametric does not mean assumption-free. Explaining this distinction helps students see a broad scientific lesson: every method gains flexibility by moving assumptions, not by eliminating them.
For families and students, the practical learning route is simple: begin with a small grid, define two similarity rules, calculate a covariance-style summary and then change one scale. The point is not to reproduce the full software. It is to see how an answer changes when representation changes. That habit—asking which transformation, distance and null produced a result—is equally useful in Secondary Science, O-Level Biology, Computing and later research work.
A careful final sentence might say: ‘SPARK-X provided a calibrated and computationally tractable screen for expression–space dependence across large independent sections, with leading genes stable to plausible transformations and kernels and confirmed at matching spatial resolution.’ It should not make large n equivalent to biological replication or covariance equivalent to mechanism.
Contents · Previous section · Continue to the Science Learning Hub
