variant_to_association: Map a variant id to an association id

View source: R/id_mapping.R

variant_to_associationR Documentation

Map a variant id to an association id

Description

Map a variant identifier to an association identifier.

Usage

variant_to_association(variant_id, verbose = FALSE, warnings = TRUE)

Arguments

variant_id

A character vector of variant identifiers.

verbose

Whether the function should be verbose about the different queries or not.

warnings

Whether to print warnings.

Value

A dataframe of two identifiers. First column is the variant identifier and the second column is the association identifier.

Examples

## Not run: 
# Map GWAS variant identifiers to association identifiers
variant_to_association(c('rs7904579', 'rs138331350'))

## End(Not run)


gwasrapidd documentation built on May 29, 2024, 4:31 a.m.