Learn R Programming

gwasrapidd (version 0.99.17)

get_traits_by_association_id: Get GWAS Catalog traits by association identifiers

Description

Gets traits by GWAS Catalog internal association identifiers.

Usage

get_traits_by_association_id(
  association_id = NULL,
  verbose = FALSE,
  warnings = TRUE,
  page_size = 20L
)

Value

A traits object.

Arguments

association_id

A character vector of GWAS Catalog association identifiers.

verbose

A logical indicating whether the function should be verbose about the different queries or not.

warnings

A logical indicating 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.