Ensembl-to-Entrez gene identifier mappings

Ensembl2Entrez(object, ...)

Entrez2Ensembl(object, ...)

# S4 method for RangedSummarizedExperiment
Ensembl2Entrez(object, format = c("1:1", "long"))

Arguments

object

Object.

format

character(1). Formatting method to apply:

  • "1:1": Recommended. Return with 1:1 mappings. For Ensembl genes that don't map 1:1 with Entrez, pick the oldest Entrez identifier. Genes that don't map to Entrez will contain NA in entrezId column.

  • "long": Return 1:many in long format.

...

Additional arguments.

Value

Ensembl2Entrez.

Note

Updated 2021-02-03.

Examples

data(RangedSummarizedExperiment, package = "AcidTest") rse <- RangedSummarizedExperiment ## SummarizedExperiment ==== x <- Ensembl2Entrez(rse) print(x)
#> Ensembl2Entrez with 496 rows and 2 columns #> ensemblId entrezId #> <character> <integer> #> ENSG00000000003.15 ENSG00000000003.15 7105 #> ENSG00000000005.6 ENSG00000000005.6 64102 #> ENSG00000000419.12 ENSG00000000419.12 8813 #> ENSG00000000457.14 ENSG00000000457.14 57147 #> ENSG00000000460.17 ENSG00000000460.17 55732 #> ... ... ... #> ENSG00000032742.17 ENSG00000032742.17 8100 #> ENSG00000033011.13 ENSG00000033011.13 56052 #> ENSG00000033030.15 ENSG00000033030.15 55596 #> ENSG00000033050.9 ENSG00000033050.9 10061 #> ENSG00000033100.16 ENSG00000033100.16 54480