gwasinfo: Get list of studies with available GWAS summary statistics...

View source: R/query.R

gwasinfoR Documentation

Get list of studies with available GWAS summary statistics through API

Description

Get list of studies with available GWAS summary statistics through API

Usage

gwasinfo(
  id = NULL,
  access_token = check_access_token(),
  opengwas_jwt = get_opengwas_jwt()
)

Arguments

id

List of MR-Base IDs to retrieve. If NULL (default) retrieves all available datasets

access_token

Google OAuth2 access token. Used to authenticate level of access to data. By default, checks if already

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 of details for all available studies


MRCIEU/ieugwasr documentation built on April 15, 2024, 4:19 p.m.