Ensembl-to-NCBI gene identifier mappings
Source:R/AllGenerics.R
, R/EnsemblToNcbi-methods.R
EnsemblToNcbi.Rd
Ensembl-to-NCBI gene identifier mappings
Usage
EnsemblToNcbi(object, ...)
# S4 method for EnsemblGenes
EnsemblToNcbi(object, useCurated = TRUE)
# S4 method for GencodeGenes
EnsemblToNcbi(object, useCurated = TRUE)
# S4 method for Hgnc
EnsemblToNcbi(object)
# S4 method for Mgi
EnsemblToNcbi(object)
# S4 method for 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.
Examples
## character ====
x <- EnsemblToNcbi(
object = c("ENSG00000000005.6", "ENSG00000000003.16"),
organism = "Homo sapiens"
)
#> → Matching 2 identifiers against HGNC database.
#> → Importing HGNC complete set.
#> → Importing /Users/mike/.cache/R/AcidGenomes/BiocFileCache/886a796ea9b4_hgnc_complete_set.txt using base::`readLines()`.
#> → Importing text connection with base::`read.table()`.
print(x)
#> EnsemblToNcbi with 2 rows and 2 columns
#> ensemblGeneId ncbiGeneId
#> <character> <integer>
#> ENSG00000000005.6 ENSG00000000005 64102
#> ENSG00000000003.16 ENSG00000000003 7105