format_gwas_catalog | R Documentation |
DEPRECATED. Please use format_data()
instead.
format_gwas_catalog(gwas_catalog_subset, type = "exposure")
gwas_catalog_subset |
The GWAS catalog subset. |
type |
The default is |
Data frame
## Not run:
require(MRInstruments)
data(gwas_catalog)
bmi <- subset(gwas_catalog, Phenotype=="Body mass index" & Year==2010 & grepl("kg", Units))
bmi <- format_data(bmi)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.