Skip to content

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

STAGATE

BayesSpace

BASS

SEDR

SpaceFlow

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

When Domain Methods Are Appropriate for Niche Questions

Domain methods can serve as niche methods when:

  1. Niches are spatially concentrated — e.g., a tumor core niche that occupies a contiguous region.
  2. You want to segment tissue into broad regions before applying niche methods within each region.
  3. 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.