View source: R/translate_genome.R
translate_genome | R Documentation |
Translate the name of a genome build from one format to another.
translate_genome(
genome,
style = c("UCSC", "Ensembl", "NCBI"),
default_genome = NULL,
omit_subversion = TRUE
)
genome |
A character vector of genomes equivalent to UCSC version or Ensembl Assemblies |
style |
A single value equivalent to "UCSC" or "Ensembl" specifying the output genome |
default_genome |
Default genome build when |
omit_subversion |
Omit any subversion suffixes after the ".". |
Standardized genome build name as a character string.
genome <- translate_genome(genome="hg38", style="Ensembl")
genome2 <- translate_genome(genome="mm10", style="UCSC")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.