Description Usage Arguments Value Examples
1 2 3 4 5 6 |
exposure_trait |
A trait name, e.g. "Body mass index",
leaving |
outcome_trait |
A trait name, e.g. "Coronary heart disease",
leaving |
pval_threshold |
P-value threshold |
mode |
If |
Data from GET /mr
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | # Returns a data frame
## Not run:
mr(exposure_trait = "Body mass index", outcome_trait = "Coronary heart disease")
## End(Not run)
# Returns raw response
## Not run:
mr(
exposure_trait = "Body mass index", outcome_trait = "Coronary heart disease",
mode = "raw"
) %>% str()
## End(Not run)
# Use a different threshold
## Not run:
mr(exposure_trait = "Body mass index", pval_threshold = 1e-8)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.