cnfoley / mrclust

R package for investigating clustered heterogeneity in Mendelian randomization (MR) analyses.
13 stars 5 forks source link

mrclust

R package for investigating clustered heterogeneity in Mendelian randomization (MR) analyses.

Genetic variants which recover similar estimates of the causal effect of the risk-factor on the outcome - i.e. their ratio-estimates are similar in direction, magnitude and precision - can form distinct clusters in MR analyses. We call this `clustered heterogeneity'. Each cluster might represent a distinct pathway with which the risk-factor is related to the outcome and hence clustered heterogeneity is interesting to investigate as the identity of the genetic variants in the clusters may reveal information about the risk factor and how it relates to the outcome.

Functions

Example

# Regression coefficients and standard errors from systolic blood pressure and coronary artery disease studies.

# SNP IDs

Clustering analysis

A cluster annotated scatter-plot of the G-X and G-Y associations