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
 6
 7
 8
 9
10
11
# Returns a list of available proteins (exposures)
## Not run: 
pqtl_list()

## End(Not run)

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

## End(Not run)

epigraphdb documentation built on Jan. 15, 2022, 1:09 a.m.