Learn R Programming

gwasrapidd (version 0.99.17)

get_variants_by_study_id: Get GWAS Catalog variants by study identifiers

Description

Gets variants by GWAS Catalog internal study identifiers.

Usage

get_variants_by_study_id(
  study_id = NULL,
  verbose = FALSE,
  warnings = TRUE,
  page_size = 20L
)

Value

A variants object.

Arguments

study_id

A character vector of GWAS Catalog study accession identifiers.

verbose

Whether the function should be verbose about the different queries or not.

warnings

Whether to print warnings.

page_size

An integer scalar indicating the page value to be used in the JSON requests, can be between 1 and 1000.