Fgsea preranked enrichment

From ma-compbio-lab/SkillFoundry · View interactive version

Fgsea preranked enrichment is an AI agent skill from the GitHub repository ma-compbio-lab/SkillFoundry. Use this skill to run deterministic toy or local custom preranked gene-set enrichment with Bioconductor fgsea. Do not use it for remote annotation lookups or large cohort-scale pathway workflows.

How to use this skill

Skill file

Purpose

Run preranked enrichment with a local ranked-statistics table and local pathway definitions through Bioconductor fgsea.

When to use

When not to use

Inputs

Outputs

Requirements

Procedure

  1. Inspect the toy files in examples/toy_ranked_stats.tsv and examples/toy_pathways.tsv.
  2. Optionally prepare a temp Bioconductor library, then run Rscript skills/systems-biology/fgsea-preranked-enrichment/scripts/run_fgsea_preranked.R --lib-dir /tmp/bioc-skill-lib --install-missing --out fgsea_summary.json.
  3. Review results for pathway, NES, padj, and leadingEdge.

Validation

Failure modes and fixes

Safety and limits

Example

Provenance

Related skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.