freedomintelligence/openclaw-medical-skills/bio-pathway-wikipathways
Claude Code and agent skill by freedomintelligence/openclaw-medical-skills
- community
Checking that the SKILL.md file is still in the repository.
WikiPathways enrichment using clusterProfiler and rWikiPathways. Use when analyzing gene lists against community-curated open-source pathways. Performs over-representation analysis and GSEA for 30+ species.
Install
npx vskill@latest install freedomintelligence/openclaw-medical-skills/bio-pathway-wikipathwaysSKILL.md
The same SKILL.md was published earlier as freedomintelligence/openclaw-medical-skills/bio-pathway-wikipathways.
Version Compatibility
Reference examples tested with: ReactomePA 1.46+, clusterProfiler 4.10+, rWikiPathways 1.24+
Before using code patterns, verify installed versions match. If versions differ:
- R:
packageVersion('<pkg>')then?function_nameto verify parameters
If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying.
WikiPathways Enrichment
Core Pattern - Over-Representation Analysis
Goal: Identify WikiPathways that are over-represented in a gene list.
Approach: Test for enrichment using enrichWP against community-curated open-source pathway definitions.
"Run pathway enrichment against WikiPathways" → Test whether genes from community-curated WikiPathways are over-represented among significant genes.
Prepare Gene List
Goal: Extract significant Entrez gene IDs from DE results for WikiPathways enrichment.
Approach: Filter by significance thresholds and convert gene symbols to Entrez IDs with bitr.
GSEA on WikiPathways
Goal: Detect coordinated expression changes in WikiPathways using a ranked gene list.
Approach: Sort genes by fold change and run gseWP for rank-based enrichment testing.
With Background Universe
Make Results Readable
Visualization
Goal: Create summary plots of WikiPathways enrichment results.
Approach: Use enrichplot functions (dotplot, barplot, cnetplot, emapplot) on the enrichment result object.
Using rWikiPathways Directly
Goal: Query the WikiPathways database directly for pathway metadata, gene lists, and GMT files.
Approach: Use rWikiPathways API functions to list organisms, retrieve pathway info, and download gene set definitions.
Custom GMT-Based Analysis
Goal: Run enrichment using a downloaded WikiPathways GMT file for offline or custom analysis.
Approach: Download the GMT archive via rWikiPathways, read it with read.gmt, and run enricher.
Different Organisms
Compare Clusters
Goal: Compare WikiPathways enrichment across multiple gene lists (e.g., upregulated vs downregulated).
Approach: Use compareCluster with enrichWP to run enrichment per group and visualize with dotplot.
Export Results
Key Parameters
| Parameter | Default | Description | |
|---|---|---|---|
| gene | required | Vector of Entrez IDs | |
| organism | required | Full species name | |
| pvalueCutoff | 0.05 | P-value threshold | |
| pAdjustMethod | BH | Adjustment method | |
| universe | NULL | Background genes | |
| minGSSize | 10 | Min genes per pathway | |
| maxGSSize | 500 | Max genes per pathway |
Common Organisms
| Common Name | Scientific Name | |
|---|---|---|
| Human | Homo sapiens | |
| Mouse | Mus musculus | |
| Rat | Rattus norvegicus | |
| Zebrafish | Danio rerio | |
| Fruit fly | Drosophila melanogaster | |
| C. elegans | Caenorhabditis elegans | |
| Arabidopsis | Arabidopsis thaliana | |
| Yeast | Saccharomyces cerevisiae |
WikiPathways vs Other Databases
| Feature | WikiPathways | KEGG | Reactome | |
|---|---|---|---|---|
| Curation | Community | Expert | Peer-reviewed | |
| License | Open (CC0) | Commercial | Open | |
| Species | 30+ | 4000+ | 7 | |
| Focus | Disease, drug | Metabolic | Signaling | |
| Updates | Continuous | Ongoing | Quarterly |
Related Skills
- go-enrichment - Gene Ontology enrichment
- kegg-pathways - KEGG pathway enrichment
- reactome-pathways - Reactome pathway enrichment
- gsea - Gene Set Enrichment Analysis
- enrichment-visualization - Visualization functions
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/bio-pathway-wikipathways/SKILL.md
Popularity
- Repository stars
- 2,777
- Repository forks
- 386
- 7-day trend score
- 40
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/freedomintelligence/openclaw-medical-skills/bio-pathway-wikipathways)