Helper function to retrieve species information from the ENSEMBL API
Source:R/get.ensembl.info.R
get.ensembl.info.Rd
This function interfaces with the ENSEMBL API (https://rest.ensembl.org/info/species?content-type=application/json) and internally stores the output to use this information for subsequent retrieval function calls.
Arguments
- update
logical, default FALSE. If TRUE, force re-download of info.
- division
the ENSEMBL database (division) for which information shall be retrieved (available options can be obtained with
ensembl_divisions
).
Examples
if (FALSE) { # \dontrun{
# Look at available ENSEMBL division options
ensembl_divisions()
# Retrieve available information for EnsemblVertebrates
example <- get.ensembl.info(division = "EnsemblVertebrates")
example
# Update information file stored in the tempdir() folder.
example_update <- get.ensembl.info(division = "EnsemblVertebrates", update = TRUE)
example_update
} # }