Gets traits by GWAS Catalog internal association identifiers.
get_traits_by_association_id(
association_id = NULL,
verbose = FALSE,
warnings = TRUE,
page_size = 20L
)
A traits object.
A character
vector of GWAS Catalog association
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
.