pqtl_list: Return a list of all proteins/exposures or traits/outcomes...

Description Usage Arguments Value Examples

View source: R/pqtl.R

Description

GET /pqtl/list/

Usage

1
pqtl_list(flag = c("exposures", "outcomes"), mode = c("table", "raw"))

Arguments

flag

(Optional) A flag which indicates whether the list of exposures (if "exposures") or outcomes (if "outcomes") should be returned. The DEFAULT is "exposures".

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 /pqtl/list/

Examples

1
2
3
4
5
# Returns a list of available proteins (exposures)
pqtl_list()

# Returns a list of available traits (outcomes)
pqtl_list(flag = "outcomes")

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