get_variants_by_efo_id: Get GWAS Catalog studies by EFO identifier
Description
Gets variants whose phenotypic trait is matched by EFO identifiers.
Usage
get_variants_by_efo_id(
efo_id = NULL,
verbose = FALSE,
warnings = TRUE,
page_size = 20L
)
Arguments
- efo_id
A character vector of EFO
identifiers.
- 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
.