Gets traits by GWAS Catalog internal study identifiers.
get_traits_by_study_id(
study_id = NULL,
verbose = FALSE,
warnings = TRUE,
page_size = 20L
)A traits object.
A character vector of GWAS Catalog study accession
identifiers.
A logical indicating whether the function should be
verbose about the different queries or not.
A logical indicating whether to print warnings, if any.
An integer scalar indicating the
page
value to be used in the JSON requests, can be between 1 and
1000.