TransGeneID | R Documentation |
Gene ID conversion between ENTREZID and SYMBOL
TransGeneID( genes, fromType = "Symbol", toType = "Entrez", organism = "hsa", fromOrg = organism, toOrg = organism, ensemblHost = "www.ensembl.org", update = FALSE )
genes |
A character vector, input genes to be converted. |
fromType |
The input ID type, one of "entrez", "symbol"(default), "hgnc", "ensembl", "fullname" and "uniprotswissprot"; you can also input other valid attribute names for biomaRt. Look at the code in examples to check valid attributes. |
toType |
The output ID type, similar to 'fromType'. |
organism |
"hsa"(default), "mmu", "bta", "cfa", "ptr", "rno", and "ssc" are optional. |
fromOrg |
"hsa", "mmu", "bta", "cfa", "ptr", "rno", and "ssc" are optional (Only used when transform gene ids between organisms). |
toOrg |
"hsa"(default), "mmu", "bta", "cfa", "ptr", "rno", and "ssc" are optional (Only used when transform gene ids between organisms). |
ensemblHost |
String, specifying ensembl host, you can use 'listEnsemblArchives()' to show all available Ensembl archives hosts. |
update |
Boolean, specifying whether update built-in gene annotation (needs network and takes time). |
A character vector, named by unique input gene ids.
Wubing Zhang
TransGeneID("NFE2L2", organism="hsa") TransGeneID("NFE2L2", toType="uniprot")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.