phewas: Perform fast phewas of a specific variants against all...

View source: R/query.R

phewasR Documentation

Perform fast phewas of a specific variants against all available GWAS datasets

Description

This 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.

Value

Dataframe


ieugwasr documentation built on July 2, 2024, 1:06 a.m.