bio-causal-genomics-pleiotropy-detection

Installation
SKILL.md

Source: https://github.com/aipoch/medical-research-skills

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

Installs
1
GitHub Stars
2.0K
First Seen
Sep 23, 2026
Security Audits