This is faster than doing it manually through associations

phewas(
  variants,
  pval = 1e-05,
  batch = c(),
  access_token = check_access_token()
)

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

access_token

Google OAuth2 access token. Used to authenticate level of access to data. By default, checks if already authenticated through get_access_token and if not then does not perform authentication

Value

Dataframe