mr_egger_regression_bootstrap | R Documentation |
Run bootstrap to generate standard errors for MR
mr_egger_regression_bootstrap(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. Specifically, the |
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
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.