clusterprofiler-custom-enrichment
Use this skill to run deterministic local custom enrichment with Bioconductor clusterProfiler and user-supplied TERM2GENE tables. Do not use it for remote…
от ma-compbio-lab★ 46 звёзд на GitHub
Установить clusterprofiler-custom-enrichment в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Purpose
Run a compact over-representation analysis with local query genes, local TERM2GENE, and local TERM2NAME tables through Bioconductor clusterProfiler.
When to use
- You want a deterministic enrichment example without online annotation services.
- You already have a short gene list and local term mappings.
When not to use
- You need GO, KEGG, Reactome, or remote annotation queries.
- You need large production enrichment workflows with plotting/reporting layers.
Inputs
- Query gene file with one gene per line
TERM2GENETSV with columnstermandgeneTERM2NAMETSV with columnstermandname- Optional local R library path and
--install-missing
Outputs
- Compact JSON summary of enrichment results with p-values, adjusted p-values, gene ratios, and matched genes
Requirements
Rscriptjsonlite- Bioconductor
clusterProfilerfor package-backed execution
Procedure
- Inspect the toy files in
examples/toy_query_genes.txt,examples/toy_term2gene.tsv, andexamples/toy_term2name.tsv. - 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. - Review
resultsforterm,description,gene_ratio,p_adjust, andgene_ids.
Validation
--describe-toyreturns the expected toy gene and term counts.- A package-backed run returns at least one enriched term for the bundled toy example.
Failure modes and fixes
- Missing
clusterProfiler: rerun with--install-missing --lib-dir <path>. gdtoolsorggiraphbuild failures: install Cairo and FreeType development headers before retrying the Bioconductor stack.- Empty results: inspect the overlap between the query genes and
TERM2GENE. - Wrong term labels: confirm the
TERM2NAMEtable keys match theTERM2GENEterm IDs exactly.
Safety and limits
- Uses only local custom term mappings.
- Does not fetch remote annotations or make claims beyond the supplied toy or local input data.
Example
Rscript skills/systems-biology/clusterprofiler-custom-enrichment/scripts/run_clusterprofiler_custom_enrichment.R --describe-toy
Provenance
- Bioconductor clusterProfiler package page: https://bioconductor.org/packages/clusterProfiler
- clusterProfiler manual: https://bioconductor.org/packages/release/bioc/manuals/clusterProfiler/man/clusterProfiler.pdf
Related skills
fgsea-preranked-enrichmentreactome-identifiers-enrichment
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- assets/README.md
- assets/clusterprofiler_toy_summary.json
- assets/toy_clusterprofiler_input_summary.json
- examples/README.md
- examples/toy_query_genes.txt
- examples/toy_term2gene.tsv
- examples/toy_term2name.tsv
- metadata.yaml
- refs.md
- scripts/run_clusterprofiler_custom_enrichment.R
FAQ
Что делает скилл clusterprofiler-custom-enrichment?
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.
Как установить скилл clusterprofiler-custom-enrichment?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл clusterprofiler-custom-enrichment запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…