gwasinfo_files: Get list of download URLs for each file associated with a...

View source: R/query.R

gwasinfo_filesR Documentation

Get list of download URLs for each file associated with a dataset through API

Description

gwasinfo_files() returns a list of download URLs for each file (.vcf.gz, .vcf.gz.tbi, _report.html) associated with a dataset. The URLs will expire in 2 hours. If a dataset is missing from the results, that means either the dataset doesn't exist or you don't have access to it. If a dataset is in the results but some/all links are missing, that means the files are unavailable.

Usage

gwasinfo_files(id, opengwas_jwt = get_opengwas_jwt())

Arguments

id

List of OpenGWAS IDs to retrieve.

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 requested studies


MRCIEU/ieugwasr documentation built on April 11, 2025, 11:51 p.m.