This is faster than doing it manually through associations
phewas(variants, pval = 1e-05, batch = c(), opengwas_jwt = get_opengwas_jwt())
Dataframe
Array of variants e.g. c("rs234", "7:105561135-105563135")
p-value threshold. Default = 0.00001
Vector of batch IDs to search across. If c()
(default) then returns all batches
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.