Learn R Programming

gwasrapidd (version 0.99.17)

get_studies_by_user_requested: Get GWAS Catalog studies that have been requested by users or not

Description

Gets studies that have either been requested by users of the Catalog or studies that have not been explicitly requested by users.

Usage

get_studies_by_user_requested(
  user_requested = NULL,
  verbose = FALSE,
  warnings = TRUE,
  page_size = 20L
)

Value

A studies object.

Arguments

user_requested

A logical (scalar!) indicating to retrieve either studies requested by users of the Catalog (TRUE) or otherwise (FALSE).

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.