ontology_gwas_efo: Ontology association between EFO term and Gwas

Description Usage Arguments Value Examples

View source: R/ontology.R

Description

GET /ontology/gwas-efo

Usage

1
2
3
4
5
6
ontology_gwas_efo(
  trait = NULL,
  efo_term = NULL,
  fuzzy = TRUE,
  mode = c("table", "raw")
)

Arguments

trait

trait name, e.g. "body mass"

efo_term

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

fuzzy

whether query with exact matching (FALSE) or fuzzy matching (default, TRUE)

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 GET /ontology/gwas-efo

Examples

1
2
3
ontology_gwas_efo(trait = "blood", fuzzy = FALSE)

ontology_gwas_efo(efo_term = "blood pressure", fuzzy = FALSE)

epigraphdb documentation built on March 29, 2021, 5:11 p.m.