trait_to_association: Map an EFO trait id to an association id

View source: R/id_mapping.R

trait_to_associationR Documentation

Map an EFO trait id to an association id

Description

Map an EFO trait id to an association identifier.

Usage

trait_to_association(efo_id, verbose = FALSE, warnings = TRUE)

Arguments

efo_id

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

Examples

## Not run: 
# Map EFO trait identifiers to association identifiers
trait_to_association(c('EFO_0005108', 'EFO_0005109'))

## End(Not run)


ramiromagno/gwasrapidd documentation built on Jan. 3, 2024, 10:21 p.m.