VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

Why Science? | STAGATE, Graph Attention Autoencoders and Spatial-Domain Evidence

Three students sit around open books and worksheets at a classroom table, reading, writing and discussing the work together.

eduKateSG · Why Science?

Learn compact representations from expression and spatial neighbours, discover candidate tissue domains, and test how graph construction, training, clustering and validation shape every boundary

Full section index · Science Learning Hub

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 Bayesspace Bayesian Spatial Clustering Subspot Resolution Evidence; Why Science Squidpy Spatial Neighbourhoods Omics Image Analysis Evidence; Education Hub; Singapore Secondary School Directory; Career Adulthood Hub. It also keeps current school and public claims traceable to visible primary sources: STAGATE primary study; STAGATE full text; Official STAGATE 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.

STAGATE is a graph-attention autoencoder for spatially resolved transcriptomics. Its 2022 Nature Communications paper constructs a spatial neighbour graph, learns low-dimensional representations from gene expression and neighbouring spots, and uses adaptive attention to help identify spatial domains. The embedding is a learned representation, not a direct image of biological structure. Neighbour rules, selected genes, optimisation, random seeds, clustering choices, count quality and independent histology all influence the boundaries a reader sees.

Section 1 of 36

1. Start with spots and a neighbour graph

STAGATE represents spatial observations as nodes and nearby observations as edges. Each node carries gene-expression features. The graph tells the model where local information may flow, so a radius or neighbour rule is not a neutral preprocessing detail—it defines the spatial relationships the network can learn.

Contents · Next section

Section 2 of 36

2. Compress expression with an autoencoder

An encoder maps high-dimensional expression into a lower-dimensional representation, while a decoder tries to reconstruct the input. Successful reconstruction encourages the embedding to retain useful structure. Compression can denoise and organise data, but it does not guarantee that every latent dimension has a simple biological meaning.

Contents · Previous section · Next section

Section 3 of 36

3. Use attention to weight neighbours

Graph attention allows neighbouring edges to contribute unequally rather than averaging them all. Learned weights adapt representation updates to expression and graph context. Attention is part of the computation, not automatically an explanation of biological influence, communication or causal importance.

Contents · Previous section · Next section

Section 4 of 36

4. Learn a spatially informed embedding

The latent representation combines expression with information propagated through the neighbour graph. It can support clustering, visualisation and denoising. Because it is learned from both data layers, any artefact in counts or coordinates can also become a compact and convincing feature.

Contents · Previous section · Next section

Section 5 of 36

5. Cluster the embedding into candidate domains

After training, an external clustering step typically turns embeddings into spatial domains. Cluster number, algorithm and resolution are additional choices beyond STAGATE. A domain is therefore a pipeline result rather than a label emitted directly from tissue anatomy.

Contents · Previous section · Next section

Section 6 of 36

6. Reconstruct expression cautiously

The decoder can generate reconstructed or denoised profiles. These values may support exploration, but they are not newly measured molecules. Keep measured and reconstructed assays separate, and validate fine-scale claims with raw counts or independent assays.

Contents · Previous section · Next section

Section 7 of 36

7. Keep the published scope specific

The 2022 Nature Communications paper developed STAGATE for identifying spatial domains from spatially resolved transcriptomics using an adaptive graph attention autoencoder. Demonstrations across datasets support the approach, while performance in a new platform or tissue must still be established with local controls and validation.

Contents · Previous section · Next section

Section 8 of 36

8. Quality-control counts before deep learning

Inspect library sizes, detected genes, background, batch, damaged tissue and spatial coverage. Neural networks can learn technical structure exceptionally well. Map quality metrics and use prespecified exclusions so a smooth domain does not simply reproduce sequencing depth or slide position.

Contents · Previous section · Next section

Section 9 of 36

9. Verify and scale coordinates

Confirm barcode matches, axes, coordinate units and tissue geometry. Coordinate scale determines radius-based neighbourhoods. Overlay the graph on histology and block edges across tears or disconnected pieces. A graph that looks numerically valid may still be biologically impossible.

Contents · Previous section · Next section

Section 10 of 36

10. Select expression features deliberately

Record normalisation, highly variable genes, dimension reduction and batch correction. Features shared across cell types can dominate reconstruction, while rare markers may be lost. Repeat key analyses with plausible feature sets and preserve raw counts for validation.

Contents · Previous section · Next section

Section 11 of 36

11. Choose a neighbour rule

Radius, k-nearest neighbours and platform geometry produce different graphs. Report degree distribution and isolated nodes. Compare at least two defensible settings, particularly near tissue borders where the same radius contains fewer neighbours and attention has less context.

Contents · Previous section · Next section

Section 12 of 36

12. Train with reproducible settings

Archive software commit, dependencies, architecture, epochs, learning rate, seeds, hardware and stopping rule. Monitor loss and failed runs. A single converged model is not enough because stochastic optimisation may find different embeddings that yield different boundaries.

Contents · Previous section · Next section

Section 13 of 36

13. Repeat seeds and quantify stability

Align cluster labels across runs and measure agreement for domain cores and edges. Stable broad regions may coexist with uncertain transition zones. Publish that layered result instead of choosing the seed whose map most resembles expectations.

Contents · Previous section · Next section

Section 14 of 36

14. Choose clustering after inspecting stability

The embedding does not determine one inevitable partition. Explore a prespecified range of cluster resolutions, compare with anatomy and avoid choosing solely by visual neatness. More clusters create more detail but not necessarily more biological truth.

Contents · Previous section · Next section

Section 15 of 36

15. Practise with an invented stability table

This fictional table is for interpretation, not benchmarking.

RegionRun agreementRaw marker supportHistology supportReading
Core A0.94strongstrongstable domain
Edge A/B0.58mixedgradualuncertain boundary
Island C0.47weakabsentfragile cluster
Core D0.88moderatestrongsupported
Invented classroom data for comparison practice; not an operational, product-certification or safety dataset.

Contents · Previous section · Next section

Section 16 of 36

16. Read embeddings as coordinates in model space

Nearby points in the embedding have similar learned representations, not necessarily physical proximity or shared lineage. Label axes as latent dimensions and use marker, anatomy and validation evidence to interpret them. Avoid giving biological names to dimensions solely from a few correlated genes.

Contents · Previous section · Next section

Section 17 of 36

17. Read attention weights carefully

Attention weights show how the trained network combined graph neighbours for a particular model. They can reveal computational emphasis, but they are affected by architecture and optimisation. Do not describe a high-weight edge as signalling between cells without dedicated biological evidence.

Contents · Previous section · Next section

Section 18 of 36

18. Read domain boundaries as uncertain zones

Hard colours hide gradual transitions and seed sensitivity. Plot membership or repeated-run agreement and compare raw markers across boundaries. Validate claimed sharp interfaces with histology or spatial probes at suitable resolution.

Contents · Previous section · Next section

Section 19 of 36

19. Use three-dimensional analysis cautiously

The published framework also explored three-dimensional expression domains from aligned sections. Registration, section spacing and missing tissue add assumptions. A 3D reconstruction should show alignment uncertainty and cannot restore cells or molecules absent between physical sections.

Contents · Previous section · Next section

Section 20 of 36

20. Find domain markers after locking domains

Marker testing on clusters discovered from the same expression data can be circular. Separate exploratory discovery from confirmatory validation, use appropriate statistical tests and independent specimens. Markers describe the partition; they do not by themselves prove that the partition is biologically correct.

Contents · Previous section · Next section

Section 21 of 36

21. Replicate at the specimen level

Spots and graph edges within a section share preparation and biology. Generalise across independent specimens, not only thousands of nodes. Show all subjects, balance batches and use specimen-level summaries for group comparisons.

Contents · Previous section · Next section

Section 22 of 36

22. Challenge graph construction

Vary neighbour radius, k and edge pruning. Inspect where labels move and whether core domains persist. If a biologically important island exists only under one narrow graph, present it as a graph-dependent hypothesis for targeted validation.

Contents · Previous section · Next section

Section 23 of 36

23. Challenge over-smoothing

Neighbour aggregation can make nearby profiles more alike and erase small or sharp structures. Compare raw markers, expression-only clustering and weaker spatial influence. Smoothness is not accuracy; some real boundaries are abrupt and some technical gradients are smooth.

Contents · Previous section · Next section

Section 24 of 36

24. Challenge cluster number

Report a hierarchy across plausible resolutions and the evidence added at each split. A cluster number chosen to match known anatomy can be reasonable for annotation, but it is not independent discovery. Make that supervision explicit.

Contents · Previous section · Next section

Section 25 of 36

25. Do not equate domains with cell types

A spatial domain may contain several cell types or one type in several states. Cell-type annotation requires reference or marker evidence at appropriate resolution. Keep composition, state and anatomical region as separate claims until data connect them.

Contents · Previous section · Next section

Section 26 of 36

26. Compare with SpaGCN

SpaGCN also combines expression and spatial information and can include histology. Compare using aligned inputs and cluster counts. Agreement on domain cores supports robustness; differences may reveal the contribution of image features, graph convolution, attention or preprocessing.

Contents · Previous section · Next section

Section 27 of 36

27. Compare with BayesSpace

BayesSpace uses Bayesian spatial clustering, whereas STAGATE learns a neural embedding before clustering. Contrasting them helps test whether broad domains survive different assumptions. Method concordance is supportive but not a replacement for independent tissue evidence.

Contents · Previous section · Next section

Section 28 of 36

28. Keep denoised values labelled

Never overwrite the measured assay with reconstructed expression. Store provenance and show both layers. Denoising can help reveal a pattern while also spreading signals across neighbours, so confirm representative genes with raw counts and orthogonal measurements.

Contents · Previous section · Next section

Section 29 of 36

29. Try a classroom model

Let students connect points on a grid, average neighbour colours with unequal weights, and then change one edge. Ask why the final regions depend on both the original values and the graph. 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.

Contents · Previous section · Next section

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 STAGATE 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.

Contents · Previous section · Next section

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. STAGATE shows how the same discipline matters when datasets become larger and models more sophisticated.

Contents · Previous section · Next section

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. STAGATE 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.

Contents · Previous section · Next section

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.

Contents · Previous section · Next section

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 STAGATE, AI or genomics is not evidence of programme quality. Look for sustained inquiry, sound teaching and chances to explain results.

Contents · Previous section · Next section

Section 35 of 36

35. See the career pathways

The reasoning behind STAGATE appears in machine learning, computational genomics, spatial biology, pathology, biostatistics and AI research. 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.

Contents · Previous section · Next section

Section 36 of 36

36. Finish with a bounded claim

A careful conclusion keeps the distinction visible: STAGATE learns graph-informed representations and candidate domains; it does not directly observe anatomical compartments, cell types or biological communication. 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 defensible STAGATE study begins with a graph contract. State the platform, coordinate units, spot or cell spacing, tissue mask, neighbour rule, radius or k, edge pruning and treatment of disconnected pieces. Plot degree distributions and overlay edges on histology. The graph is an explicit biological assumption about local context, not just an implementation input.

Pre-register quality filters, normalisation, feature selection, network architecture, optimiser, learning rate, epochs, stopping rule, seeds, cluster method, candidate cluster resolutions, primary comparison and validation. Separate exploratory tuning from confirmation on held-out specimens. Deep models offer many choices, and selecting the smoothest map after inspecting all runs creates confidence that the design did not earn.

Publish a funnel from raw counts and coordinates to tissue observations, filtered features, graph nodes, trained embeddings and clustered domains. Keep measured, normalised and reconstructed values in separate named layers. Map exclusions and quality metrics. Neural networks can encode technical depth or tissue damage as efficiently as biological structure, so quality maps must accompany latent-space interpretation.

Training diagnostics should include loss curves, warnings, independent starts and hardware or numerical settings. A completed run is not proof of a good solution. Align clusters across seeds and report stability for domain cores and boundaries. When broad regions agree but edges move, publish the stable cores and represent transitions as uncertain rather than choosing one tidy seed.

Graph sensitivity is central. Repeat the model across a small prespecified range of radii or neighbour counts and, where useful, an expression-only baseline. Track adjusted Rand index or another agreement summary alongside visual boundary changes. A spatial prior can improve coherence while erasing rare islands; smoothness should never be used as a proxy for accuracy.

Cluster resolution needs a hierarchy. Show how broad domains split as resolution increases and what new marker, morphology or replication evidence supports each split. If cluster number is chosen to match known anatomy, describe the step as guided annotation. That can be useful, but it is different from unsupervised discovery and should not be presented as independent confirmation.

Attention weights require restrained language. They reflect computational weighting of edges within a fitted architecture. Compare their stability across seeds and graph choices before interpretation, and avoid calling a high-weight edge a communication route. Biological interaction needs cell identity, molecular evidence and suitable resolution beyond an internal model parameter.

Reconstructed or denoised expression is prediction. Pair it with measured counts for representative genes, mark zeros that were altered and quantify uncertainty or run-to-run spread. Never count reconstructed values as extra observations. Use them to nominate targets for in-situ RNA or protein experiments at the spatial scale required by the claim.

Specimen-level replication remains essential. Nodes within one section share both tissue and graph construction. Train or evaluate across independently processed sections and report per-subject maps. Adjacent sections test reproducibility of preparation and anatomy, while independent animals or donors are needed before generalising a disease or developmental contrast.

Validation should sample stable cores, uncertain boundaries, a small island and a negative region. Use histology, regional markers, in-situ RNA, protein staining or another spatial platform. A broad domain can be validated at spot scale; a within-spot or three-dimensional fine structure requires finer assays and registration uncertainty appropriate to serial sections.

Compare domain cores with a method based on different assumptions, such as SpaGCN or BayesSpace, using aligned features and cluster numbers. Concordance supports robustness across graph-neural and Bayesian or convolutional frameworks. Disagreement is not failure; it exposes which boundaries depend on attention, histology, priors or preprocessing and directs the next experiment.

Negative findings need calibration. Simulate domains of varying size, expression contrast, count depth and shape on the observed geometry, then estimate which structures survive feature selection and graph smoothing. Failure to recover a tiny island does not show biological absence. It may reveal that the assay and neighbourhood model lack resolution for that configuration.

Reproducibility materials include raw and processed matrices, coordinates, masks, features, graph files, architecture, hyperparameters, software commit, environment, hardware, seeds, loss histories, embeddings, cluster tables, stability summaries, reconstructed layers, validation and checksums. Preserve enough intermediate state to rerun clustering without silently retraining the neural network.

A defensible final sentence might say: ‘Prespecified STAGATE analyses learned graph-informed embeddings with stable broad domain cores across seeds, graph settings and independent sections, while transition zones and reconstructed expression remained model-dependent hypotheses tested with orthogonal tissue evidence.’ It should not call attention weights biological influence or denoised values newly measured molecules.

Contents · Previous section · Continue to the Science Learning Hub