get_associations_by_study_id: Get GWAS Catalog associations by study identifiers

View source: R/get_associations.R

get_associations_by_study_idR Documentation

Get GWAS Catalog associations by study identifiers

Description

Gets associations by GWAS Catalog internal study identifiers.

Usage

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

Arguments

study_id

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

Value

A associations object.


gwasrapidd documentation built on May 29, 2024, 4:31 a.m.