Description Usage Arguments Details Value Note Author(s) See Also Examples
A convenient function used to convert between gene ids from different gene annotations.
1 | convertGeneIds(gene_IDs, ID_type, ID_convert_to, delim = NULL, verbose = FALSE)
|
gene_IDs |
A vector of gene names. |
ID_type |
A character specifying the type of given annotation. Currently one of "refseq", "ensembleprot","uniprot" or "ensemble". In the case of ID_convert_to="entrez", "symbol" |
ID_convert_to |
A character specifying the type of desired annotation. Currently one of "symbol" or in they case of ID_type="symbol", "entrez" |
delim |
An optional character that will be removed from the beginning of each gene name. It can be a long string. |
verbose |
TRUE/FALSE Should the function be verbose? DEFAULTS to FALSE. |
This is a very usefule function to efficently convert between gene ids. It currently relies on enumeration of each possible conversion, which has limited it's use to mainly converting to gene symbol.
A character vector formatted to ID_convert_to
The function has enumerated combinations using AnnotationDBI. We can provide additional functionality if needed.
N. Ari Wijetunga < Neil.Wijetunga@med.einstein.yu.edu >
AnnotationDBI, Biomart
1 2 3 4 5 | data(genes_for_conversiontest)
genes[,1] <- convertGeneIds(gene_IDs=genes[,1], ID_type="refseq",
ID_convert_to="symbol")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.