eduKateSG · Why Science?
Move from expression matrices, coordinates and images to spatial networks, tissue domains and neighbourhood hypotheses—while preserving the data lineage and null model behind every colourful map
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: Giotto primary study; Giotto full text; Official Giotto repository; Giotto Suite documentation; 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.
Giotto is an open-source R toolbox for integrative analysis and visualisation of spatial expression data. Its 2021 Genome Biology paper describes an end-to-end analysis module for tissue composition, spatial expression and cellular interactions, together with interactive visualisation and optional integration of single-cell RNA-sequencing for cell-type enrichment. Giotto is a workflow ecosystem rather than one test. Each result therefore inherits choices about preprocessing, spatial networks, annotations, parameters, null models and specimen replication.
Inside this guide
1–12 · Foundations and models
- 1. Think of Giotto as an ecosystem
- 2. Build a traceable Giotto object
- 3. Join expression with coordinates
- 4. Represent neighbourhoods as a graph
- 5. Explore spatial expression patterns
- 6. Test cell-type proximity and enrichment
- 7. Keep the published scope specific
- 8. Import without losing provenance
- 9. Quality-control counts and tissue
- 10. Normalise with the question in mind
- 11. Annotate cells or spots responsibly
- 12. Construct more than one plausible network
13–24 · Evidence, testing and applications
- 13. Choose the spatial test explicitly
- 14. Make notebooks reproducible
- 15. Practise with an invented neighbourhood table
- 16. Interpret tissue domains as summaries
- 17. Read spatial gene results in context
- 18. Read co-occurrence as association
- 19. Integrate single-cell references carefully
- 20. Use interactive visualisation for auditing
- 21. Replicate across specimens
- 22. Test the null model
- 23. Audit graph sensitivity
- 24. Audit annotation uncertainty
25–36 · Learning, decisions and pathways
- 25. Separate image context from measured expression
- 26. Compare Giotto with Squidpy
- 27. Let unresolved regions remain unresolved
- 28. Build an auditable evidence chain
- 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. Think of Giotto as an ecosystem
Giotto brings data management, analysis and visualisation into one spatial workflow. It can organise expression, coordinates, images, annotations and derived networks. This breadth is useful because analyses share context, but it also means there is no single Giotto result: every output comes from a named function, input layer and parameter set.
Section 2 of 36
2. Build a traceable Giotto object
The core object stores expression matrices, spatial locations, feature and cell metadata, images and results. Preserve raw and processed assays separately, keep stable identifiers and document conversions. An object can be convenient without being self-explanatory, so export a data dictionary and creation script.
Section 3 of 36
3. Join expression with coordinates
Spatial identifiers must match expression observations exactly. Verify coordinate units, axes, scale and tissue orientation before plotting. A successful import only proves the fields were accepted; it does not prove that rows, spots or cells align with the correct physical location.
Section 4 of 36
4. Represent neighbourhoods as a graph
Many Giotto analyses use a spatial network in which observations are nodes and nearby pairs are edges. The network encodes who can influence a neighbourhood statistic. Distance, k-nearest-neighbour rules and tissue gaps can change edges, so graph construction is part of the scientific model.
Section 5 of 36
5. Explore spatial expression patterns
The toolbox includes approaches for finding genes or features associated with spatial structure. Report the specific method, tested features, null model and multiple-testing correction. A spatial gene can reflect cell composition, cell state, anatomy or technical gradients; the software cannot choose among these explanations alone.
Section 6 of 36
6. Test cell-type proximity and enrichment
With cell or spot annotations, Giotto can ask whether categories occur near one another more or less than expected. The answer depends on the graph and randomisation scheme. Enrichment supports spatial association, not physical contact, signalling or a causal interaction.
Section 7 of 36
7. Keep the published scope specific
The 2021 Genome Biology study presented Giotto as an open-source toolbox across multiple spatial transcriptomic and imaging technologies, with analysis and interactive visualisation modules. The demonstrations show general applicability, but each new platform, tissue and question still requires its own quality control and validation.
Section 8 of 36
8. Import without losing provenance
Record source files, platform, software versions, barcode mapping, feature names, coordinate transforms and image metadata. Keep checksums and an import log. If several technologies are combined, retain a technology field so integration does not erase which measurements were actually comparable.
Section 9 of 36
9. Quality-control counts and tissue
Map library size, detected features, background, cell or spot density, tissue edges and exclusions. Spatial quality problems are themselves patterned. Prespecify filtering and show removed observations on the image so a missing region cannot be mistaken for biological depletion.
Section 10 of 36
10. Normalise with the question in mind
Document scaling, transformation, feature selection and batch handling. A workflow for clustering may differ from one for testing local enrichment. Preserve raw counts and repeat headline findings across defensible preprocessing choices; a robust biological result should not require one undocumented default.
Section 11 of 36
11. Annotate cells or spots responsibly
Annotations may come from markers, imaging, reference mapping or manual review. Store confidence and hierarchy, not only final labels. A proximity analysis cannot be more specific than its labels, and closely related states may need to be combined before spatial statistics become interpretable.
Section 12 of 36
12. Construct more than one plausible network
Compare distance-based and nearest-neighbour graphs, inspect degree distributions and overlay edges on tissue. Prevent links across holes or separate structures when biologically inappropriate. If a conclusion changes with a small graph adjustment, the graph assumption belongs in the result.
Section 13 of 36
13. Choose the spatial test explicitly
Giotto offers several analysis routes for spatial genes, domains and interactions. Name the function and its statistical target rather than saying Giotto found a result. Report all tested hypotheses, correction method and effect size so readers can distinguish exploration from confirmation.
Section 14 of 36
14. Make notebooks reproducible
Save object version, R session, package commits, parameters, seeds and generated tables. Interactive plots help discovery, but publication must also have scripted static outputs and exportable data. Another analyst should reproduce a panel without clicking through an undocumented sequence.
Section 15 of 36
15. Practise with an invented neighbourhood table
This fictional table illustrates reasoning rather than accuracy.
| Pair | Observed edges | Null mean | Enrichment | First reading |
|---|---|---|---|---|
| A–B | 84 | 40 | 2.10 | enriched neighbours |
| A–C | 21 | 24 | 0.88 | near expectation |
| B–C | 9 | 26 | 0.35 | depleted neighbours |
| C–C | 62 | 58 | 1.07 | weak self-pattern |
Section 16 of 36
16. Interpret tissue domains as summaries
Domains condense many expression features and spatial relationships into regions. Compare them with raw markers and histology, and show uncertainty at edges. Domain colours are analysis labels, not discovered organs; naming should follow validated tissue evidence rather than visual resemblance.
Section 17 of 36
17. Read spatial gene results in context
For each candidate gene, show expression, depth, cell composition and replicated sections. A gene can appear spatial because one cell type occupies a region. Distinguishing composition from within-type regulation requires additional modelling or finer measurements.
Section 18 of 36
18. Read co-occurrence as association
Neighbour enrichment says labelled observations share edges more often than the null predicts. It does not show receptor engagement or communication. Claims about signalling need ligand-receptor evidence, appropriate resolution and experiments that can perturb or directly observe the proposed process.
Section 19 of 36
19. Integrate single-cell references carefully
Giotto can use single-cell RNA-sequencing to support spatial cell-type enrichment. Match tissue, condition and annotation hierarchy, then expose missing states and platform effects. Reference integration expands interpretation but introduces a new assumption layer rather than creating ground truth.
Section 20 of 36
20. Use interactive visualisation for auditing
Zoomable linked views can reveal barcode swaps, rotated images, low-quality islands and label inconsistencies. Treat interaction as quality control and hypothesis generation. Archive the final coordinates, filters and selections so discoveries made by clicking can be reproduced in code.
Section 21 of 36
21. Replicate across specimens
Neighbour edges within one tissue are correlated. Compare independent donors or animals and report each section. Specimen-level summaries support generalisation; thousands of nodes from one image do not become thousands of biological replicates simply because the graph is large.
Section 22 of 36
22. Test the null model
Randomisation may shuffle labels globally, within regions or under other constraints. Each preserves different background structure. Choose a null that matches the question, justify it and show sensitivity. An unrealistic shuffle can create impressive enrichment by destroying anatomy that was never exchangeable.
Section 23 of 36
23. Audit graph sensitivity
Vary radius, neighbour count and edge rules over a plausible range. Track stable relationships and boundaries. Report a consensus only when it preserves the original scientific meaning; otherwise show the dependence and let targeted imaging decide which scale is biologically relevant.
Section 24 of 36
24. Audit annotation uncertainty
Repeat analyses after merging confusable labels, removing low-confidence observations or resampling assignments. A relationship that survives at broad lineage level may be useful even if fine subtypes remain unresolved. Precision should follow identifiability rather than the number of available label names.
Section 25 of 36
25. Separate image context from measured expression
Histology helps orient and validate spatial results but is a different modality. If image features enter a model, state how they were extracted and registered. Visual agreement is supportive, while a claimed molecular mechanism still needs molecular evidence.
Section 26 of 36
26. Compare Giotto with Squidpy
Both ecosystems organise spatial data and neighbourhood analyses in different languages and object systems. Reimplement one prespecified statistic with aligned graphs and nulls. Agreement can strengthen confidence; disagreement often exposes preprocessing or implementation choices worth investigating rather than ranking tools by popularity.
Section 27 of 36
27. Let unresolved regions remain unresolved
High residuals, mixed labels or unstable domains may indicate damage, missing states or genuine transitions. Flag them instead of forcing a complete map. An honest unknown region is a better experimental target than a confident label produced because the palette required one.
Section 28 of 36
28. Build an auditable evidence chain
A publishable Giotto result links source files to object creation, quality maps, graph construction, statistical test, corrected table, visualisation and validation. This chain matters more than a long function list. Every figure should let a reader trace the inference back to measurements and choices.
Section 29 of 36
29. Try a classroom model
Give students points with category labels on a map. Let them connect neighbours under two distance rules, calculate pair counts and explain why the network definition changes the conclusion. 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 Giotto 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. Giotto 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. Giotto 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 Giotto, 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 Giotto appears in spatial omics, bioinformatics, pathology, data visualisation, biostatistics and research 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: Giotto organises and analyses spatial evidence; a neighbourhood enrichment or domain is a model-based summary, not direct proof of contact, signalling or causation. 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 rigorous Giotto project starts by deciding which question owns each analysis. Spatially variable genes, tissue domains, cell-type enrichment and neighbour interactions are distinct targets. Name the function, input layer and inferential unit for each. Giotto’s strength is breadth, but a broad toolbox can encourage a tour of many plots unless the primary question and confirmation plan are fixed first.
Build the Giotto object from scripted imports and preserve the original identifiers. Record platform, species, tissue, specimen, batch, coordinate system, image transforms, expression layer, annotations and feature metadata. Export an object inventory after every major step. Convenience objects are not substitutes for provenance, and a later user should be able to trace every derived field to a source file or function call.
Publish a data funnel for observations and features. Show raw locations, quality filters, tissue mask, excluded areas, genes retained, annotation sources and specimen counts. Map counts, detected genes and image quality. Because technical artefacts are often spatially coherent, a neighbourhood method may faithfully quantify an artefact unless quality layers remain visible beside biological results.
Spatial-network construction needs a figure and a table. Report distance or nearest-neighbour rule, units, degree distribution, isolated observations and edge handling at tissue holes and boundaries. Overlay representative edges on the image. Compare at least one plausible alternative graph, and mark conclusions as graph-sensitive when enrichment or domains change materially.
Annotations require governance. Store marker or reference evidence, hierarchy and confidence. Repeat key neighbour analyses after merging confusable states or removing low-confidence locations. Fine cell-type names do not create fine identifiability. If only a lineage-level relationship is stable, that broader result is the correct level of claim.
For spatial expression tests, publish the complete tested-feature table, effect size, adjusted significance and spatial scale where available. For neighbourhood enrichment, report observed edges, null expectation, enrichment, permutations and adjusted values. For domains, report algorithm, features, cluster settings and stability. The phrase ‘analysed with Giotto’ is too broad to make any result reproducible.
Null models must preserve the background structure relevant to the question. A global label shuffle may be inappropriate when regions differ in density or composition. Compare constrained alternatives where justified and explain what each randomisation destroys. A striking z-score can be an artefact of an unrealistic null rather than an unusual biological neighbourhood.
Independent specimens, not graph nodes, support generalisation. Plot each tissue and summarise subject-level variation. Adjacent sections help evaluate technical consistency; donors or animals establish biological replication. Do not treat thousands of connected observations as independent replicates in group comparisons, because their measurements and spatial contexts are nested.
Validation should match the claim. Domain labels can be checked with anatomy and regional markers; cell-type proximity needs segmentation or higher-resolution imaging; signalling needs proteins, functional assays or perturbation. A coarse spot containing two inferred types does not show contact. Choose common, rare and confusable examples and include expected negative regions.
Interactive visualisation is excellent for audit and discovery, but every publication panel should have a scripted route. Save camera, filter and selection state or regenerate static plots from tables. Record colour scales and avoid per-panel rescaling that exaggerates differences. A reader should be able to inspect the same coordinates and labels without recreating a manual session.
Compare one prespecified result with another ecosystem such as Squidpy using aligned inputs, graph and null model. Tool agreement supports implementation robustness. Disagreement often points to object conversion, preprocessing or permutation details; document and investigate it instead of selecting the output that best matches expectations.
Reproducibility materials include source matrices, coordinates, images or image metadata, object-creation scripts, quality decisions, annotations, graphs, feature sets, full result tables, permutations, seeds, package commit, R environment, figures, validation and checksums. Save intermediate objects sparingly but sufficiently to isolate where a later result changed.
A careful final sentence might say: ‘Across independent specimens, a scripted Giotto workflow identified reproducible spatial features and neighbourhood associations that were stable to plausible graph choices and supported by matching-resolution validation.’ It should not describe enrichment as direct communication, a domain as a measured anatomical compartment or an integrated reference label as ground truth.
Contents · Previous section · Continue to the Science Learning Hub
