Description Usage Arguments Value Examples
1 2 3 4 5 6 7 |
query |
(Required) A protein coding gene name or a trait name,
e.g. "ADAM19" or "Inflammatory bowel disease"
which cannot be |
rtype |
(Optional) A type of data to be extracted, which can be one of these options:
|
pvalue |
(Optional) A pvalue threshold for MR results with the DEFAULT set to 0.05.
NOTE: this threshold applies to any |
searchflag |
(Required) A flag to indicate whether you are searching for proteins or
traits which cannot be |
mode |
If |
Data from GET /pqtl/
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | # Returns a data frame of MR results, while searching for proteins
## Not run:
pqtl(query = "ADAM19", searchflag = "proteins")
## End(Not run)
# Returns a data frame with SNP information, while searching for traits
## Not run:
pqtl(
query = "Inflammatory bowel disease",
rtype = "inst",
searchflag = "traits"
)
## End(Not run)
# Change a pvalue threshold (the default is 0.05)
## Not run:
pqtl(
query = "Inflammatory bowel disease",
rtype = "inst",
pvalue = 1.0,
searchflag = "traits"
)
## End(Not run)
# Returns raw response if mode="raw"
## Not run:
pqtl(
query = "ADAM19", searchflag = "proteins",
mode = "raw"
) %>% str()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.