ワンクリックで
enrichment
Functional enrichment and pathway analysis including GSEA, ORA, ssGSEA, GSVA, and decoupler-based activity inference
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Functional enrichment and pathway analysis including GSEA, ORA, ssGSEA, GSVA, and decoupler-based activity inference
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Molecular structure analysis, SAR triage, compound library characterization, QSAR modeling, ADMET prediction, chemical space visualization, target engagement assessment, drug perturbation connectivity scoring, and selectivity profiling
Chromatin regulation analysis — ATAC-seq, ChIP-seq, CUT&Tag/CUT&Run, differential binding, motif analysis, and scATAC-seq
Systematic drug repurposing via signature matching, target-based analysis, network proximity, genetic evidence scoring, and clinical evidence mining
Genomic variant analysis — germline/somatic SNV, structural variants, CNV, GWAS, annotation, and filtering
Metabolomics and lipidomics analysis — untargeted/targeted workflows, normalization, annotation, and pathway mapping
Multi-omics integration methods including factor analysis, supervised classification, network fusion, and causal modeling across modalities
| name | enrichment |
| description | Functional enrichment and pathway analysis including GSEA, ORA, ssGSEA, GSVA, and decoupler-based activity inference |
| version | 1.0.0 |
| tags | ["enrichment","gsea","ora","pathway","go","functional-annotation","gseapy","decoupler"] |
This skill guides method selection and execution for gene set enrichment, over-representation analysis, per-sample pathway scoring, and transcription factor activity inference.
Choose the method based on your input data and analytical goal:
Input is a ranked gene list (with scores, fold-changes, or test statistics)
gseapy.prerank() (Python) or fgsea::fgsea() (R via rpy2).sign(log2FC) * -log10(pvalue)), not by p-value alone.Input is an unranked gene list (e.g., DE genes at FDR < 0.05)
gseapy.enrich() (Python) or clusterProfiler::enrichGO() (R via rpy2). Do NOT use enrichKEGG() — KEGG is not staged and the call needs network access it will not get.Need per-sample pathway activity scores
gseapy.ssgsea() for MSigDB-style gene sets.gsva() (R via rpy2) when downstream analysis expects continuous scores per pathway per sample.Pathway activity on AnnData (single-cell or bulk)
dc.mt.ulm() or dc.mt.mlm() with the PROGENy model.adata.obsm (score_ulm / padj_ulm) for downstream plotting and clustering.Transcription factor activity inference
Ask for a database by name and resolve it from the reference data available to you — never assume a path, a filename, or a format. What is provisioned varies per environment, so confirm what you have before committing to a method.
| Database | When to Use | Availability |
|---|---|---|
| MSigDB Hallmark (H) | First pass, curated, low redundancy (50 gene sets) | The reliable default — human and mouse |
| Reactome | Detailed pathway hierarchy, good for mechanistic interpretation | Normally available |
| WikiPathways | Community-curated pathways, per species | Normally available |
| MSigDB C5:GO | Gene Ontology — the mechanism-level step down from hallmark, when "which process" needs a real answer | In the inventory, human and mouse, split into BP / CC / MF |
| MSigDB C6 oncogenic | Which oncogene or tumour-suppressor perturbation a tumour profile resembles | In the inventory, human only — upstream publishes no mouse counterpart |
| MSigDB C7 immunologic | Immune cell state, stimulation and activation contrasts | In the inventory, human and mouse |
| KEGG | Metabolic and signaling pathways with topology | Not available. License forbids redistribution, so KEGG is not staged; enrichKEGG(), gseKEGG(), KEGGREST, and Enrichr's KEGG libraries all need network access and will fail. Use Reactome or WikiPathways instead. |
Start with hallmark unless the question demands finer granularity. Everything above other than KEGG is resolvable from the reference inventory, but like every reference dataset it is provisioned per environment — resolve what you need before committing to a method, and if it is absent say so rather than silently substituting a different database.
GO sets are nested, so a parent and its children share most of their members and surface together as a block of correlated hits. Collapse them before reporting a count, and pick one branch deliberately: testing BP, CC and MF together triples the multiple-testing burden when the question usually names one of them.
After enrichment, collapse redundant terms to improve interpretability:
background= to all expressed/detected genes.org.Hs.eg.db via rpy2 for human. biomaRt cannot be used — it queries Ensembl over the network.| File | Purpose |
|---|---|
references/gseapy-api.md | gseapy API: prerank, enrich, ssgsea |
references/decoupler-enrichment-api.md | decoupler dc.mt.ulm, dc.mt.mlm with PROGENy |
references/fgsea-rpy2-api.md | fgsea via rpy2: GSEA and pathway collapse |
references/clusterprofiler-rpy2-api.md | clusterProfiler via rpy2: enrichGO, gseGO (KEGG entry points fail — no network) |
references/gsva-rpy2-api.md | GSVA via rpy2: per-sample gene set variation |