Agent skill

bio-causal-genomics-pleiotropy-detection

Detect and correct for horizontal pleiotropy in Mendelian randomization analyses using MR-PRESSO for outlier removal, MR-Egger regression for directional pleiotropy, and Steiger filtering for variant directionality. Use when validating MR results, detecting pleiotropic instruments, or running sensitivity analyses for causal inference.

FreedomIntelligencegithub.com/FreedomIntelligenceGitHub ↗
claude-code
Install
npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-causal-genomics-pleiotropy-detection --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 4
SKILL.md size: 11 KB
Bundled scripts: none
Path: skills/bio-causal-genomics-pleiotropy-detection/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 2,909
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

## Version Compatibility Reference examples tested with: MR-PRESSO 1.0+, TwoSampleMR 0.5+ Before using code patterns, verify installed versions match. If versions differ: - R: `packageVersion("<pkg>")` then `?function_name` to 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. # Pleiotropy Detection **"Check my MR results for pleiotropic bias"** → Detect and correct for horizontal pleiotropy using outlier removal (MR-PRESSO), directional pleiotropy testing (MR-Egger intercept), and variant directionality filtering (Steiger) to validate causal inference results. - R: `MRPRESSO::mr_presso()` for global and distortion tests - R: `TwoSampleMR::mr_egger_regression()` for Egger intercept test ## Overview Horizontal pleiotropy violates the exclusion restriction assumption of MR: instruments affect the outcome through pathways other than the exposure. Detecting and correcting for pleiotropy is essential for valid causal inference. Types of pleiotropy: - **Vertical** (mediated): Instrument -> exposure -> outcome (valid, not a problem) - **Horizontal** (direct): Instr

What's inside
Steps it walks through
  1. Version Compatibility
  2. Overview
  3. MR-PRESSO
  4. MR-Egger Diagnostics
  5. Steiger Filtering
  6. Additional Sensitivity Methods
  7. Comprehensive Sensitivity Framework
  8. STROBE-MR Reporting
  9. Related Skills
Ships with 3 files
  • examples/mr_presso_analysis.R
  • examples/sensitivity_analyses.R
  • usage-guide.md
More from OpenClaw-Medical-Skills
All skills →
About this skill
What does the bio-causal-genomics-pleiotropy-detection skill do?

Detect and correct for horizontal pleiotropy in Mendelian randomization analyses using MR-PRESSO for outlier removal, MR-Egger regression for directional pleiotropy, and Steiger filtering for variant directionality. Use when validating MR results, detecting pleiotropic instruments, or running sensitivity analyses for causal inference.

How do I install it?

Run `npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-causal-genomics-pleiotropy-detection --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From FreedomIntelligence/OpenClaw-Medical-Skills, a repository with 2,909 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going