## Without guessing any information
extendedMapSeqlevels('2', 'UCSC', 'Homo sapiens', 'NCBI')
## Guessing the current naming style
extendedMapSeqlevels('2', 'UCSC', 'Homo sapiens')
## Guess species and current style
extendedMapSeqlevels('2', 'NCBI')
## Guess species while supplying the current style.
## Probably an uncommon use-case
extendedMapSeqlevels('2', 'NCBI', currentStyle = 'TAIR10')
## Sequence names are unchanged when using an unsupported species
extendedMapSeqlevels('seq2', 'NCBI', 'toyOrganism')
## Not run:
# ## Set global species and style option
# options('chrsStyle' = 'UCSC')
# options('species' = 'homo_sapiens')
#
# ## Run using global options
# extendedMapSeqlevels('2')
# ## End(Not run)
Run the code above in your browser using DataLab