Ontology association between EFO term and Gwas

ontology(efo_term, mode = c("table", "raw"))

Arguments

efo_term

EFO term, e.g. "systolic blood pressure"

mode

If mode = "table", returns a data frame (a tibble as per tidyverse convention). If mode = "raw", returns a raw response from EpiGraphDB API with minimal parsing done by httr.

Value

Data from ontology

Examples

ontology(efo_term = "systolic blood pressure")
#> # A tibble: 158 x 2 #> trait type #> <chr> <chr> #> 1 Systolic blood pressure EFO_EXACT #> 2 Systolic blood pressure automated reading EFO_FUZZY #> 3 Systolic blood pressure, manual reading EFO_FUZZY #> 4 Systolic blood pressure, automated reading EFO_FUZZY #> 5 X-13741 EFO_ZOOMA #> 6 X-13671 EFO_ZOOMA #> 7 X-13859 EFO_ZOOMA #> 8 X-13658 EFO_ZOOMA #> 9 X-14662 EFO_ZOOMA #> 10 X-14632 EFO_ZOOMA #> # … with 148 more rows