Standard single-cell clustering algorithms (Leiden/Louvain on k-nearest-neighbor expression graphs) ignore physical proximity, frequently producing fragmented, salt-and-pepper cluster assignments across contiguous histological layers. Conversely, spatially aware clustering methods incorporate Markov Random Field (MRF) priors or Graph Neural Networks (GNNs) to enforce local spatial continuity while preserving sharp anatomical boundaries. Module 2 details six visualizations for spatial domain delineation, spatially variable gene (SVG) discovery, and continuous interface gradients.
Projects high-dimensional normalized gene expression profiles into a 2D UMAP embedding colored by Leiden graph clusters, revealing discrete transcriptional cell states and tissue compartments.
Maps the exact Leiden cluster palette from Plot 7 back onto physical tissue coordinates, testing whether expression-defined clusters self-organize into contiguous anatomical domains.
Transcriptional versus Spatial Correspondence (Plots 7 & 8)
By comparing the unsupervised Leiden clustering UMAP embedding (Plot 7) with the Spatial Tissue Map (Plot 8), we observe high spatial contiguity. The transcriptionally similar clusters map to continuous anatomical structures (e.g., specific layers of the cerebral cortex, hippocampus, or fiber tracts) rather than being randomly dispersed, confirming that the transcriptional states correlate strongly with tissue morphology and localization.
Isolates a single target cluster in vivid color while muting all remaining spots to neutral light grey, eliminating visual clutter when inspecting sparse or fragmented niches.
Organ-Scale Spatial Subregions (Plot 9)
Highlighting individual clusters (such as Cluster 0, 1, or 2) reveals localized anatomical boundaries. For instance, specific clusters strictly occupy the outer layer of the cortex, while others highlight deep brain structures like the thalamic regions or specialized cellular layers in the hippocampus, helping define structural domains.
Canonical Cluster Marker Gene Dot Plot: Summarizes top differentially expressed marker genes (ranked via Wilcoxon rank-sum test) across every Leiden cluster, encoding both detection fraction and normalized mean expression.
Discriminative Cluster Markers (Plot 10)
The marker gene dot plot displays the highly specific expression profiles characterizing each Leiden cluster. The dots show both mean expression levels (color intensity) and fraction of cells/spots expressing the gene (dot size). This lets us annotate the clusters biologically (e.g., identifying neuronal subtypes, glial enrichment, or oligodendrocytes in white matter).
Displays a synchronized 2x2 small-multiple grid of individual marker genes across the exact same tissue coordinates to compare compartmental exclusivity and spatial overlap.
Small Multiples & Spatial Gradients (Plot 11)
Visualizing individual marker genes confirms their localized expression within predicted spatial boundaries. It highlights spatial expression gradients where marker genes vary smoothly across tissue zones instead of exhibiting strict 'all-or-nothing' binarized patterns.
Encodes two normalized transcripts into the Red and Green color channels simultaneously, highlighting mutually exclusive niches (pure red or pure green) versus co-expressing double-positive zones (yellow).
Spatial Co-localization & Phenotypic Overlap (Plot 12)
The dual-gene RGB co-expression blend visually maps the spatial interaction of two distinct marker genes. Pure Red or Green spots indicate regions dominated by a single marker gene (distinct cell populations/compartments), whereas Yellow zones indicate a dense overlap where both genes are actively co-expressed or their respective cell types heavily colocalize in the same spot.
Return to Spatial Transcriptomics Modules.