mr_egger_regression | R Documentation |
Egger's regression for Mendelian randomization
mr_egger_regression(b_exp, b_out, se_exp, se_out, parameters)
b_exp |
Vector of genetic effects on exposure. |
b_out |
Vector of genetic effects on outcome. |
se_exp |
Standard errors of genetic effects on exposure. |
se_out |
Standard errors of genetic effects on outcome. |
parameters |
List of parameters. |
List of with the following elements:
MR estimate
Standard error of MR estimate
p-value of MR estimate
Estimate of horizontal pleiotropy (intercept)
Standard error of intercept
p-value of intercept
Heterogeneity stats
Summary of regression
Original data used for MR Egger regression
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.