Description Usage Arguments Value References Examples
View source: R/Other_support_functions.R
This function allows transforming KEGG IDs of genes or compounds into their corresponding common names (for compounds) or symbols (for genes).
1 | MS_changeNames(nodes, organism_code)
|
nodes |
character vector or matrix containing the KEEG IDs of either metabolites, genes (organism-specific or orthology), or reactions. It also converts human Entrez gene IDs into symbols. |
organism_code |
character vector containing the KEGG code for the organism of interest. For example the KEGG code for the rat is "rno". See the function "MS_keggFinder( )". This argument is ignored when nodes are metabolites. |
A character string or a matrix containing the common metabolite names or gene symbols corresponding to the input KEGG IDs. Reaction IDs remain unchanged.
http://www.kegg.jp/kegg/docs/keggapi.html
1 2 | MS_changeNames(c("rno:84482", "K01084", "cpd:C00267"), "rno")
MS_changeNames("K01082", organism_code = "rno")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.