Learn R Programming

gwasrapidd (version 0.99.17)

get_studies_by_variant_id: Get GWAS Catalog studies by variant identifiers

Description

Gets studies by variant identifiers.

Usage

get_studies_by_variant_id(
  variant_id = NULL,
  verbose = FALSE,
  warnings = TRUE,
  page_size = 20L
)

Value

A studies object.

Arguments

variant_id

A character vector of GWAS Catalog variant 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.