Gets variants that match the reported traits, as reported by the original authors' of the study.
get_variants_by_reported_trait(
reported_trait = NULL,
verbose = FALSE,
warnings = TRUE,
page_size = 20L
)
A variants object.
A character vector of phenotypic traits as reported by the original authors' the study. Note: this parameter is case sensitive.
Whether the function should be verbose about the different queries or not.
Whether to print warnings.
An integer scalar indicating the
page
value to be used in the JSON requests, can be between 1
and
1000
.