translate_genome: Translate genome

View source: R/translate_genome.R

translate_genomeR Documentation

Translate genome

Description

Translate the name of a genome build from one format to another.

Usage

translate_genome(
  genome,
  style = c("UCSC", "Ensembl", "NCBI"),
  omit_subversion = TRUE
)

Arguments

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

omit_subversion

Omit any subversion suffixes after the ".".

Value

Standardized genome build name as a character string.

Examples

genome <- translate_genome(genome="hg38", style="Ensembl")

neurogenomics/PeakyFinders documentation built on Oct. 14, 2024, 3:09 p.m.