get_variants_by_variant_id: Get GWAS Catalog variants by variant identifiers

View source: R/get_variants.R

get_variants_by_variant_idR Documentation

Get GWAS Catalog variants by variant identifiers

Description

Gets variants by variant identifiers.

Usage

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

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, if any.

page_size

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

Value

A variants object.


ramiromagno/gwasrapidd documentation built on Jan. 3, 2024, 10:21 p.m.