Clusterprofiler custom enrichment

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

Clusterprofiler custom enrichment is an AI agent skill from the GitHub repository ma-compbio-lab/SkillFoundry. Use this skill to run deterministic local custom enrichment with Bioconductor clusterProfiler and user-supplied TERM2GENE tables. Do not use it for remote annotation downloads or organism database lookups.

How to use this skill

Skill file

Purpose

Run a compact over-representation analysis with local query genes, local TERM2GENE, and local TERM2NAME tables through Bioconductor clusterProfiler.

When to use

When not to use

Inputs

Outputs

Requirements

Procedure

  1. Inspect the toy files in examples/toy_query_genes.txt, examples/toy_term2gene.tsv, and examples/toy_term2name.tsv.
  2. Optionally prepare a temp Bioconductor library, then run Rscript skills/systems-biology/clusterprofiler-custom-enrichment/scripts/run_clusterprofiler_custom_enrichment.R --lib-dir /tmp/bioc-skill-lib --install-missing --out clusterprofiler_summary.json.
  3. Review results for term, description, gene_ratio, p_adjust, and gene_ids.

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.