TransGeneID {MAGeCKFlute}R Documentation

Gene ID conversion between ENTREZID and SYMBOL

Description

Gene ID conversion between ENTREZID and SYMBOL

Usage

TransGeneID(genes, fromType = "Symbol", toType = "Entrez",
  organism = "hsa", useBiomart = FALSE,
  ensemblHost = "www.ensembl.org")

Arguments

genes

A character vector, input genes to be converted.

fromType

The input ID type, one of "Symbol" (default), "Entrez" and "Ensembl"; you can also input other valid attribute names for biomaRt.

toType

The output ID type, one of "Symbol", "Entrez" (default), "Ensembl"; you can also input other valid attribute names for biomaRt.

organism

One of "hsa"(or 'Human'), "mmu"(or 'Mouse'), "bta", "cfa", "ptr", "rno", and "ssc".

useBiomart

Boolean, indicating whether use Biomart to do the transformation.

ensemblHost

String, specifying ensembl host, you can use 'listEnsemblArchives()' to show all available Ensembl archives hosts.

Value

A character vector, named by unique input gene ids.

Author(s)

Wubing Zhang

See Also

eg2id

Examples

data(mle.gene_summary)
TransGeneID(mle.gene_summary$Gene[1:10], organism="hsa")


[Package MAGeCKFlute version 1.4.3 Index]