pqtl_pleio: Return information related to the pleiotropy of SNPs

Description Usage Arguments Value Examples

View source: R/pqtl.R

Description

GET /pqtl/pleio/

Usage

1
2
3
4
5
pqtl_pleio(
  rsid = NULL,
  prflag = c("proteins", "count"),
  mode = c("table", "raw")
)

Arguments

rsid

(Required) A SNP identified by rsID which cannot be NULL.

prflag

(Optional) A flag which determines whether the number (if "count") or names (if "proteins") of the associated proteins should be returned. The DEFAULT value is "proteins".

mode

(Optional) 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/pleio/

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# Returns a data frame of associated proteins
## Not run: 
pqtl_pleio(rsid = "rs1260326")

## End(Not run)

# Returns a number of associated proteins
## Not run: 
pqtl_pleio(rsid = "rs1260326", prflag = "count")

## End(Not run)

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