Learn R Programming

gwasrapidd (version 0.99.17)

study_to_trait: Map a study id to a EFO trait id

Description

Map a study accession identifier to a EFO trait identifier.

Usage

study_to_trait(study_id, verbose = FALSE, warnings = TRUE)

Value

A dataframe of two identifiers. First column is the study identifier and the second column is the EFO identifier.

Arguments

study_id

A character vector of study accession identifiers.

verbose

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

warnings

Whether to print warnings.

Examples

Run this code
if (FALSE) {
# Map GWAS study identifiers to EFO trait identifiers
study_to_trait(c('GCST001084', 'GCST001085'))
}

Run the code above in your browser using DataLab