helper function to map ENS ids to symbols

e2sym(x)

Arguments

x

character() mix of Ensembl Ids and other strings; the latter are left unchanged

Value

a vector like x with gene symbols from v79 mapping substituted where possible

Examples

e2sym(c("ABC", "ENSG00000213088", "ENSG00000107796", "ENSG00000163017"))
#> [1] "ABC"   "ACKR1" "ACTA2" "ACTG2"