Convert ENSEMBL gene IDs to gene symbols
ensembl2symbols(x, sp = "hg")
x | Character vector of genes, or matrix (e.g. of counts) where rownames are genes. |
---|---|
sp | Character, one of "mm" or "hg", specifying the species for which
data is given in |
mat1 <- matrix(seq(1, 15), nrow = 3) rownames(mat1) <- c("ENSMUSG00000020932", "ENSMUSG00000019874", "Foo") ensembl2symbols(mat1)#> [,1] [,2] [,3] [,4] [,5]#> [1] "Gfap" "Fabp7"