svg-spatialde

Identify spatially variable genes in spatial transcriptomics data with SpatialDE.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Spatially resolved gene expression data often contain genes whose expression patterns vary across tissue space; SVGs reveal spatial organization and tissue architecture.

Core Features & Use Cases

  • Tests each gene for spatial patterns using Gaussian process regression with SpatialDE.
  • Returns per-gene statistics including p-values, FDR q-values, and spatial length scales.
  • Useful for tissue discovery, annotation, and comparison across neighboring slices in multi-slice experiments.

Quick Start

Run SpatialDE on your spatial transcriptomics dataset to identify SVGs and view per-gene results in adata.uns/spatialde_results.

Frequently Asked Questions about svg-spatialde

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

FAQPage Schema
How do I identify spatially variable genes in spatial transcriptomics data?

You identify spatially variable genes by testing each gene for spatial expression patterns using Gaussian process regression. This method returns per-gene statistics, including p-values, FDR q-values, and spatial length scales, to reveal tissue architecture.

What spatial length scale means in spatial transcriptomics gene expression analysis?

Spatial length scale is a per-gene statistic reported during spatially variable gene identification. It measures the spatial range over which a gene's expression varies across tissue space, helping characterize the spatial organization of the tissue.

Can I use SpatialDE to find SVGs in single cell-level spatial data?

Yes, you can find SVGs in cell-level data with appropriate preprocessing. While primarily applicable to spot-level data like Visium, cell-level spatial transcriptomics requires specific preprocessing steps to yield accurate per-gene statistics.

Do I need NaiveDE preprocessing before running SpatialDE for spatially variable genes?

Yes, NaiveDE preprocessing is required before running SpatialDE. This preparatory step normalizes the spatial transcriptomics data so the Gaussian process regression can accurately compute per-gene p-values, q-values, and length scales.

Where are SpatialDE gene expression variance results stored after analysis?

SpatialDE gene expression variance results are stored directly in the AnnData object. Specifically, the per-gene statistics including p-values, FDR q-values, and spatial length scales are saved in the adata.uns dictionary under the spatialde_results key.