symbols2ensembl: Convert gene symbols to ENSEMBL gene IDs

Description Usage Arguments Author(s) Examples

View source: R/genes.R

Description

Convert gene symbols to ENSEMBL gene IDs

Usage

1
symbols2ensembl(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("Gfap", "Fabp7", "Foo")
symbols2ensembl(mat1)

symbols2ensembl(c("Gfap", "Fabp7"), "mm")

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