Skip to contents

Ensembl-to-NCBI gene identifier mappings

Usage

EnsemblToNcbi(object, ...)

# S4 method for class 'EnsemblGenes'
EnsemblToNcbi(object, useCurated = TRUE)

# S4 method for class 'GencodeGenes'
EnsemblToNcbi(object, useCurated = TRUE)

# S4 method for class 'Hgnc'
EnsemblToNcbi(object)

# S4 method for class 'Mgi'
EnsemblToNcbi(object)

# S4 method for class 'character'
EnsemblToNcbi(object, organism = NULL)

Arguments

object

Object.

useCurated

logical(1). Applies to Homo sapiens and Mus musculus only currently. Use current curated mappings from HGNC (human) or MGI (mouse).

organism

character(1). Full Latin organism name (e.g. "Homo sapiens").

...

Additional arguments.

Value

EnsemblToNcbi.

Note

Updated 2023-11-28.

Examples

## character ====
x <- EnsemblToNcbi(
    object = c("ENSG00000000005.6", "ENSG00000000003.16"),
    organism = "Homo sapiens"
)
#> → Matching 2 identifiers against HGNC database.
#> → Importing HGNC complete set.
#> Error in vapply(X = X, FUN = FUN, FUN.VALUE = logical(1L), ..., USE.NAMES = useNames): formal argument "USE.NAMES" matched by multiple actual arguments
print(x)
#> Error: object 'x' not found