# NOT RUN {
# Returns a data frame of MR results, while searching for proteins
# }
# NOT RUN {
pqtl(query = "ADAM19", searchflag = "proteins")
# }
# NOT RUN {
# Returns a data frame with SNP information, while searching for traits
# }
# NOT RUN {
pqtl(
query = "Inflammatory bowel disease",
rtype = "inst",
searchflag = "traits"
)
# }
# 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"
)
# }
# NOT RUN {
# Returns raw response if mode="raw"
# }
# NOT RUN {
pqtl(
query = "ADAM19", searchflag = "proteins",
mode = "raw"
) %>% str()
# }
Run the code above in your browser using DataLab