literature_gwas: Literature evidence regarding a GWAS trait

Description Usage Arguments Value Examples

View source: R/literature.R

Description

GET /literature/gwas

Usage

1
literature_gwas(trait, semmed_predicate = NULL, mode = c("table", "raw"))

Arguments

trait

A trait name

semmed_predicate

Either NULL which returns entries from all predicates, or a SemMed predicate e.g. "DIAGNOSES" or "ASSOCIATED_WITH"

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 /literature/gwas

Examples

1
literature_gwas(trait = "Body mass index")

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