Perform fast phewas of a specific variants against all available GWAS datasets
Source:R/query.R
phewas.RdThis is faster than doing it manually through associations
Usage
phewas(
variants,
pval = 1e-05,
batch = c(),
opengwas_jwt = get_opengwas_jwt(),
...
)Arguments
- variants
Array of variants e.g.
c("rs234", "7:105561135-105563135")- pval
p-value threshold. Default =
0.00001- batch
Vector of batch IDs to search across. If
c()(default) then returns all batches- opengwas_jwt
Used to authenticate protected endpoints. Login to https://api.opengwas.io to obtain a jwt. Provide the jwt string here, or store in .Renviron under the keyname OPENGWAS_JWT.
- ...
Unused, for extensibility