Skip to contents

DEPRECATED. Please use format_data() instead.

Usage

format_gwas_catalog(gwas_catalog_subset, type = "exposure")

Arguments

gwas_catalog_subset

The GWAS catalog subset.

type

The default is "exposure".

Value

Data frame

Examples

if (FALSE) { # \dontrun{
require(MRInstruments)
data(gwas_catalog)
bmi <- subset(gwas_catalog, Phenotype=="Body mass index" & Year==2010 & grepl("kg", Units))
bmi <- format_data(bmi)
} # }