Agent skill · Frontend

metabolicpathwayheterogeneity

Analyzes metabolic pathway heterogeneity within cell populations by calculating normalized enrichment scores (NES) for each pathway across different groups. Quantifies metabolic diversity and identifies pathways with variable activity patterns. Uses principal component analysis and GSEA to assess pathway heterogeneity, revealing subpopulation-specific metabolic states and transitions.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill metabolicpathwayheterogeneity --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 21 KB
Bundled scripts: none
Path: skills/ai-ml/metabolicpathwayheterogeneity/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

Review
written from the skill's own SKILL.md · Aug 5, 2026

What it does

Analyzes metabolic pathway heterogeneity within cell populations by calculating normalized enrichment scores (NES) for each pathway across different groups. Quantifies metabolic diversity and identifies pathways with variable activity patterns. Uses principal component analysis and GSEA to assess pathway heterogeneity, revealing subpopulation-specific metabolic states and transitions.

How it works

  • PCA on pathway activity scores per group to capture variance
  • Select top PCs via select_pcs to determine how much variance to include
  • Run fgsea on each selected PC to identify pathways correlated with variance
  • Compute NES to quantify pathway-PC associations
  • Identify pathways with high |NES| as heterogeneous across groups
  • Output includes NES per pathway/PC, dot plots, PCA results, and pathway rankings

When to use it

  • Assess metabolic diversity: quantify heterogeneity within clusters or conditions
  • Identify variable pathways: find pathways with high vs low heterogeneity across groups
  • Compare metabolic variability: between treatments, timepoints, or cell types
  • After pathway activity analysis: adds heterogeneity dimension to ScrnaMetabolicLandscape workflow
  • Typically the last metabolic analysis step
  • Subpopulation discovery: when metabolic variability suggests hidden substructure

What it can touch

  • Inputs from Seurat objects with normalized expression data
  • GMT file with metabolic pathway gene sets (gmtfile)
  • Metadata columns such as seurat_clusters and subset_by (e.g., treatment, timepoint)
  • Output directory outdir containing heterogeneity scores, dot plots, PCA results, and pathway rankings

Caveats

  • Requires Seurat object with matching gene names to GMT sets
  • At least 2 groups are required for meaningful heterogeneity analysis
  • Parameter choices (select_pcs, pathway_pval_cutoff, fgsea_args) influence results and may affect runtime
  • FGSEA parameters: scoreType must be std, pos, or neg; minSize < maxSize; minSize >= 1
  • Some configurations imply parallelization across groups rather than within fgsea (nproc, ncores)
From the SKILL.md

# MetabolicPathwayHeterogeneity Process Configuration ## Purpose Analyzes metabolic pathway heterogeneity within cell populations by calculating normalized enrichment scores (NES) for each pathway across different groups. Quantifies metabolic diversity and identifies pathways with variable activity patterns. Uses principal component analysis and GSEA to assess pathway heterogeneity, revealing subpopulation-specific metabolic states and transitions. ## When to Use - **Assess metabolic diversity**: When you need to quantify metabolic heterogeneity within clusters or conditions - **Identify variable pathways**: To find which metabolic pathways show high vs low heterogeneity across groups - **Compare metabolic variability**: To compare heterogeneity between treatments, timepoints, or cell types - **After pathway activity analysis**: Complements MetabolicPathwayActivity by adding heterogeneity dimension - **Final metabolic analysis step**: Typically the last process in the ScrnaMetabolicLandscape workflow - **Subpopulation discovery**: When metabolic variability suggests hidden substructure ## Configuration Structure ### Process Enablement MetabolicPathwayHeterogeneity is part of the Sc

What's inside
Steps it walks through
  1. Purpose
  2. When to Use
  3. Configuration Structure
  4. Process Enablement
  5. Input Specification
  6. Environment Variables
  7. Heterogeneity Analysis Method
  8. Algorithm Overview
  9. PC Selection (selectpcs)
  10. Pathway P-value Cutoff
  11. FGSEA Score Type
  12. GMT File Sources
  13. Configuration Examples
  14. Minimal Configuration (Default Settings)
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the metabolicpathwayheterogeneity skill do?

Analyzes metabolic pathway heterogeneity within cell populations by calculating normalized enrichment scores (NES) for each pathway across different groups. Quantifies metabolic diversity and identifies pathways with variable activity patterns. Uses principal component analysis and GSEA to assess pathway heterogeneity, revealing subpopulation-specific metabolic states and transitions.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill metabolicpathwayheterogeneity --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going