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

View source: R/get_studies.R

get_studies_by_user_requestedR Documentation

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
)

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.

Value

A studies object.


gwasrapidd documentation built on Dec. 28, 2022, 2:16 a.m.