Description Usage Arguments Value Examples
Organises the summary level data for use in the Bayesian MR functions
1 | mvmr_format(rsid, xbeta, ybeta, xse, yse)
|
rsid |
A vector of genetic variants used for analysis, if unspecified a vector is automatically generated. |
xbeta |
A matrix of multiple instrument-phenotypes associations. |
ybeta |
A numeric vector of the instrument-outcome associations. |
xse |
The matrix for corresponding standard errors of the instrument-phenotypes associations |
yse |
The standard errors of the instrument-outcome associations |
A formatted data frame for analysis of class mvmr_format
.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.