Skip to contents

Map an association accession identifier to an EFO trait id.

Usage

association_to_trait(association_id, verbose = FALSE, warnings = TRUE)

Arguments

association_id

A character vector of association accession 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 association identifier and the second column is the EFO trait identifier.

Examples

if (FALSE) {
# Map GWAS association identifiers to EFO trait identifiers
association_to_trait(c('24300097', '24299759'))
}