arxiv-database
arxiv-database:This skill provides Python tools ,用于 searching 、 retrieving preprints ,面向 arXiv.org ,通过 its public Atom A…
维护者 FreedomIntelligence · 最近更新 2026年4月1日
bio-causal-genomics-mediation-analysis:Decompose genetic effects into direct 、 indirect paths through mediating variables ,使用 mediation R package。 Tests whether gene expression,methylation,或 other molecular phenotypes mediate effect of genetic variants on disease。 适合在testing whether molecular phenotype mediates genotype-to-phenotype relationship时使用。
原始来源
https://github.com/FreedomIntelligence/OpenClaw-Medical-Skills/tree/main/skills/bio-causal-genomics-mediation-analysis
技能摘要
原始文档
Causal mediation decomposes the total effect of a treatment (genotype) on an outcome (phenotype) into:
Typical genomic applications:
Goal: Decompose a genetic effect into direct and indirect (mediated) paths through a molecular phenotype.
Approach: Fit separate models for mediator and outcome, then run mediate() with bootstrap to estimate ACME (indirect), ADE (direct), and proportion mediated.
library(mediation)
## For binary outcome, use glm with family = binomial
outcome_model <- glm(
disease ~ genotype + expression + age + sex + pc1 + pc2,
data = dat, family = binomial
)
相关技能
arxiv-database:This skill provides Python tools ,用于 searching 、 retrieving preprints ,面向 arXiv.org ,通过 its public Atom A…
bayesian-optimizer:Bayesian optimization ,用于 experimental design 、 hyperparameter tuning in biomedical research。
bio-alignment-files-bam-statistics:Compute alignment statistics:flagstat,idxstats,coverage depth。
bio-alignment-msa-statistics:Calculate alignment statistics ,涵盖 sequence identity,conservation scores,substitution matri…