Learn R Programming

gwasrapidd (version 0.99.17)

trait_to_study: Map an EFO trait id to a study id

Description

Map an EFO trait id to a study accession identifier.

Usage

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

Value

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

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.

Examples

Run this code
if (FALSE) {
# Map EFO trait identifiers to study identifiers
trait_to_study(c('EFO_0005108', 'EFO_0005109'))
}

Run the code above in your browser using DataLab