variant_to_study {gwasrapidd} | R Documentation |
Map a variant id to a study id
Description
Map a variant identifier to a study accession identifier.
Usage
variant_to_study(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 study identifier.
Examples
## Not run:
# Map GWAS variant identifiers to study identifiers
variant_to_study(c('rs7904579', 'rs138331350'))
## End(Not run)
[Package gwasrapidd version 0.99.17 Index]