ensembl2symbols: Convert ENSEMBL gene IDs to gene symbols

Description Usage Arguments Author(s) Examples

View source: R/genes.R

Description

Convert ENSEMBL gene IDs to gene symbols

Usage

1
ensembl2symbols(x, sp = "hg")

Arguments

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 mat. Default: "hg".

Author(s)

Selin Jessa

Examples

1
2
3
4
5
mat1 <- matrix(seq(1, 15), nrow = 3)
rownames(mat1) <- c("ENSMUSG00000020932", "ENSMUSG00000019874", "Foo")
ensembl2symbols(mat1)

ensembl2symbols(c("ENSMUSG00000020932", "ENSMUSG00000019874"), "mm")

fungenomics/cytobox documentation built on Feb. 13, 2020, 10:51 a.m.