pathway-ssgsea

Compute per-cell pathway activity scores for spatial transcriptomics data using ssGSEA.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scores per-cell pathway activity in spatial transcriptomics data using ssGSEA to reveal spatial variation in pathway activation.

Core Features & Use Cases

  • Supports per-cell ssGSEA scoring across tissues to visualize pathway activation
  • Compatible with MSigDB Hallmark, KEGG, GO, and custom gene sets
  • Outputs: per-cell pathway scores stored in adata.obs (ssgsea_<pathway>) and parameters in adata.uns

Quick Start

Apply ssGSEA to your single-slice spatial data to compute per-cell pathway scores and visualize them on the spatial canvas.

Frequently Asked Questions about pathway-ssgsea

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

FAQPage Schema
How do I compute per-cell pathway activity scores for spatial transcriptomics data?

You compute per-cell pathway activity scores for spatial transcriptomics data by applying ssGSEA to a single-slice gene expression dataset, which outputs per-cell scores stored in adata.obs as ssgsea_<pathway> columns for spatial visualization.

Can I use custom gene sets for single-sample enrichment analysis on an AnnData object?

Yes, you can use custom gene sets for single-sample enrichment on an AnnData object. The tool also supports standard libraries like MSigDB Hallmark, KEGG, and GO Biological Process for scoring pathway activation.

Does ssGSEA spatial transcriptomics scoring support both human and mouse species?

Yes, ssGSEA spatial transcriptomics scoring supports both human and mouse species. You must ensure species compatibility when applying the gene set library to your single-slice gene expression dataset.

How does ssGSEA reveal spatial variation in pathway activation across tissues?

ssGSEA reveals spatial variation in pathway activation by calculating per-cell pathway scores across tissues, allowing you to visualize distinct pathway activation patterns directly on the spatial canvas of your transcriptomics slice.

Where are the ssGSEA results stored after processing a spatial gene expression dataset?

The ssGSEA results are stored directly within the AnnData object after processing. Per-cell pathway scores are saved in adata.obs as ssgsea_<pathway> columns, with additional analysis parameters recorded in adata.uns.