(Required) A SNP identified by rsID which cannot be NULL
.
(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".
(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
.
Data from GET /pqtl/pleio/
# Returns a data frame of associated proteins
# \dontrun{
pqtl_pleio(rsid = "rs1260326")
#> # A tibble: 3 × 1
#> expID
#> <chr>
#> 1 FST
#> 2 SAA1
#> 3 KLKB1
# }
# Returns a number of associated proteins
# \dontrun{
pqtl_pleio(rsid = "rs1260326", prflag = "count")
#> [1] 3
# }