ontology_gwas_efo: Ontology association between EFO term and Gwas

View source: R/ontology.R

ontology_gwas_efoR Documentation

Ontology association between EFO term and Gwas

Description

GET /ontology/gwas-efo

Usage

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

## Not run: 
ontology_gwas_efo(trait = "blood", fuzzy = FALSE)

## End(Not run)

## Not run: 
ontology_gwas_efo(efo_term = "blood pressure", fuzzy = FALSE)

## End(Not run)

MRCIEU/epigraphdb-r documentation built on Aug. 29, 2022, 4:05 a.m.