Data & ReproStatistics & Data AnalysisFreedomIntelligence/OpenClaw-Medical-SkillsData & Reproduction
BI

bio-causal-genomics-pleiotropy-detection

Maintainer FreedomIntelligence · Last updated April 1, 2026

Hori.

OpenClawNanoClawAnalysisReproductionbio-causal-genomics-pleiotropy-detection🧬 bioinformatics (gptomics bio-* suite)bioinformatics — epidemiological & causal genomicsdetect

Original source

FreedomIntelligence/OpenClaw-Medical-Skills

https://github.com/FreedomIntelligence/OpenClaw-Medical-Skills/tree/main/skills/bio-causal-genomics-pleiotropy-detection

Maintainer
FreedomIntelligence
License
MIT
Last updated
April 1, 2026

Skill Snapshot

Key Details From SKILL.md

2 min

Key Notes

  • R: MRPRESSO::mr_presso() for global and distortion tests.
  • R: TwoSampleMR::mr_egger_regression() for Egger intercept test.
  • 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.
  • Vertical (mediated): Instrument -> exposure -> outcome (valid, not a problem).
  • Horizontal (direct): Instrument -> outcome bypassing exposure (violates MR assumptions).

Source Doc

Excerpt From SKILL.md

MR-PRESSO

Goal: Detect and remove pleiotropic outlier instruments from an MR analysis.

Approach: Run MR-PRESSO to test for global pleiotropy, identify individual outlier SNPs, test whether their removal changes the causal estimate (distortion test), and obtain a corrected estimate.


## Columns needed: beta.exposure, beta.outcome, se.exposure, se.outcome

presso_input <- data.frame(
  bx = dat$beta.exposure,
  by = dat$beta.outcome,
  bxse = dat$se.exposure,
  byse = dat$se.outcome
)

## SignifThreshold: P-value threshold for outlier detection (0.05 standard)

presso_result <- mr_presso(
  BetaOutcome = 'by', BetaExposure = 'bx',
  SdOutcome = 'byse', SdExposure = 'bxse',
  OUTLIERtest = TRUE, DISTORTIONtest = TRUE,
  data = presso_input,
  NbDistribution = 5000,
  SignifThreshold = 0.05
)

Use cases

  • Use when validating MR results, detecting pleiotropic instruments, or running sensitivity analyses for causal inference.

Not for

  • Do not rely on this catalog entry alone for installation or maintenance details.

Upstream Related Skills

  • mendelian-randomization - Primary MR analysis that pleiotropy tests validate
  • fine-mapping - Identify causal variants at instrument loci
  • population-genetics/association-testing - GWAS data for MR instruments

Related skills

Related skills

Back to directory
AR
Data & ReproStatistics & Data Analysis

arxiv-database

This skill provides Python tools for searching and retrieving preprints from arXiv.org via its public Atom API. It supports keyword search,…

Claude CodeAnalysis
K-Dense-AI/claude-scientific-skillsView
BA
Data & ReproStatistics & Data Analysis

bayesian-optimizer

Bayesian optimization for experimental design and hyperparameter tuning in biomedical research.

OpenClawNanoClawAnalysis
FreedomIntelligence/OpenClaw-Medical-SkillsView
BI
Data & ReproStatistics & Data Analysis

bio-alignment-files-bam-statistics

Compute alignment statistics: flagstat, idxstats, coverage depth.

OpenClawNanoClawAnalysis
FreedomIntelligence/OpenClaw-Medical-SkillsView
BI
Data & ReproStatistics & Data Analysis

bio-alignment-msa-statistics

Calculate alignment statistics including sequence identity, conservation scores, substitution matrices, and similarity metrics. Use when com…

OpenClawNanoClawAnalysis
FreedomIntelligence/OpenClaw-Medical-SkillsView