sym2ens: Convert gene symbol to ensembl

View source: R/utility_functions.R

sym2ensR Documentation

Convert gene symbol to ensembl

Description

Gene symbol is converted to ensembl id using org.Hs.eg.db or org.Mm.eg.db annotation databases.

Gene ensemble id is converted to symbol using org.Hs.eg.db or org.Mm.eg.db annotation databases.

Usage

sym2ens(my.symbols, my.species)

ensembl2sym(my.ensembl, my.species)

Arguments

my.symbols

Character. Vector of Gene symbols.

my.species

Character. Species, one of "Mm" or "Hs".

my.ensembl

Character. Vector of ENSEMBL ids.

Value

data.frame mapping gene Symbols to Ensembl

data.frame mapping gene Ensemble to Symbol

Author(s)

Nicholas Mikolajewicz


NMikolajewicz/scMiko documentation built on June 28, 2023, 1:41 p.m.