Domain Detection Methods¶
These are not niche methods. We include them because they are frequently confused with niche methods in the literature and in benchmarks.
See Niche vs Domain for a detailed explanation of why this distinction matters.
The Key Difference¶
- Domain: A contiguous spatial region of similar expression. Cortical layer 3 is a domain.
- Niche: A recurring local microenvironment pattern. The perivascular niche is a niche — it appears around blood vessels throughout the brain.
Domain methods enforce or strongly favor spatial contiguity. Niche methods group similar local microenvironments regardless of where they appear in the tissue.
Key Methods¶
GraphST¶
- Paper: Nature Communications, 2022
- Code: github.com/JinmiaoChenLab/GraphST
- Self-supervised contrastive learning on spatial graphs. Strong benchmark performance on DLPFC but finds contiguous regions, not distributed niches.
STAGATE¶
- Paper: Nature Communications, 2022
- Code: github.com/zhanglabtools/STAGATE
- Graph attention autoencoder with adaptive graph construction. Attention mechanism weights neighbors, producing smooth spatial embeddings that favor contiguous domains.
BayesSpace¶
- Paper: Nature Biotechnology, 2021
- Code: github.com/edward130603/BayesSpace
- Bayesian spatial clustering with neighbor-informed priors. Explicitly encodes spatial smoothness, which is the definition of domain detection.
BASS¶
- Paper: Nature Methods, 2022
- Code: github.com/zhengli09/BASS
- Multi-scale Bayesian framework for simultaneous cell-type and spatial domain identification. The domain component enforces spatial contiguity.
SEDR¶
- Paper: Bioinformatics, 2022
- Code: github.com/JinmiaoChenLab/SEDR
- Variational autoencoder with deep graph embedding. Produces spatially smooth embeddings suited for domain segmentation.
SpaceFlow¶
- Paper: Nature Communications, 2022
- Code: github.com/hongleir/SpaceFlow
- Spatially-regularized deep graph network. Adds pseudo-spatiotemporal trajectory inference on top of domain segmentation.
MENDER¶
- Paper: Nature Methods, 2024
- Code: github.com/yuanzhiyuan/MENDER
- Multi-range cell context decoding. Works across different spatial resolutions but primarily designed for domain identification. The multi-range aspect could capture niche-like patterns at finer scales.
STACI¶
- Paper: Bioinformatics, 2023
- Code: github.com/uhlerlab/STACI
- Statistical approach using spatial autocorrelation for domain identification.
When Domain Methods Are Appropriate for Niche Questions¶
Domain methods can serve as niche methods when:
- Niches are spatially concentrated — e.g., a tumor core niche that occupies a contiguous region.
- You want to segment tissue into broad regions before applying niche methods within each region.
- The DLPFC-style question is your actual question — identifying cortical layers is a valid task, just not a niche task.
But if your biological question involves distributed microenvironments, domain methods will either miss them or fragment them into separate clusters.