spatial-domain-detection

Detect spatial domains in spot-level transcriptomics data using SpaGCN.

3|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/chenyhvvvv/STAT-agent --skill spatial-domain-detection
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spatial-domain-detection
Source: https://github.com/chenyhvvvv/STAT-agent/tree/main/stat_agent/skills/spatial-domain-SpaGCN
Command: npx skills add https://github.com/chenyhvvvv/STAT-agent --skill spatial-domain-detection

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Identify spatial domains in spot-level spatial transcriptomics data by integrating gene expression, spatial coordinates, and histology features using SpaGCN.

Core Features & Use Cases

  • SpaGCN-based detection to delineate tissue domains in Visium-like datasets.
  • Integrates gene expression, coordinates, and optionally H&E histology to improve domain calls.
  • Use Case: compare domain architectures across multiple tissue slices to study architecture and pathology.

Quick Start

Run SpaGCN on your Visium slice to compute and assign spatial_domain labels for each spot.

Frequently Asked Questions about spatial-domain-detection

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect spatial domains in spot-level transcriptomics data?

To detect spatial domains in spot-level transcriptomics data, you can use SpaGCN to integrate gene expression, spatial coordinates, and optional H&E histology, producing per-spot domain assignments stored in adata.obs['spatial_domain'].

Can I use SpaGCN to compare domain architectures across multiple tissue slices?

Yes, you can use SpaGCN for multi-slice workflows to compare domain architectures across multiple tissue slices. It computes per-spot spatial domain assignments, enabling cross-slice comparisons of tissue architecture and pathology.

What data inputs do I need for SpaGCN spatial domain detection?

SpaGCN spatial domain detection requires spot-level gene expression data and spatial coordinates as inputs. It also optionally accepts H&E histology features to improve domain calls and ensure accurate adjacency graphs.

Does integrating H&E histology improve spatial domain detection in Visium datasets?

Integrating H&E histology improves spatial domain detection in Visium datasets by combining histology features with gene expression and coordinates. This integration helps SpaGCN delineate tissue domains more accurately.

What is the best way to tune parameters when identifying tissue domains with SpaGCN?

Identifying tissue domains with SpaGCN involves parameter tuning alongside ensuring proper adjacency graphs. The process optimizes the integration of gene expression and coordinates to compute spatial_domain labels for each spot.