View source: R/variation_sources.R
get_variation_sources | R Documentation |
This function retrieves variant sources, i.e. a list of databases used by Ensembl from which variant information is retrieved.
get_variation_sources(
species_name = "human",
verbose = FALSE,
warnings = TRUE,
progress_bar = TRUE
)
species_name |
The species name, i.e., the scientific name, all letters
lowercase and space replaced by underscore. Examples: |
verbose |
Whether to be chatty. |
warnings |
Whether to print warnings. |
progress_bar |
Whether to show a progress bar. |
A tibble
, each row being a variant database,
of 8 variables:
Ensembl species name: this is the name used internally
by Ensembl to uniquely identify a species by name. It is the scientific
name but formatted without capitalisation and spacing converted with an
underscore, e.g., 'homo_sapiens'
.
Database name.
Database type, e.g., chip
(genotyping chip) or lsdb
(locus-specific database).
Database version.
Somatic status.
Database description.
Database's URL.
Data types to be found at database.
get_variation_sources
makes GET requests to
info/variation/:species.
# Retrieve variant sources for human (default)
get_variation_sources()
# Retrieve variant sources for mouse
get_variation_sources(species_name = 'mus_musculus')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.