MS_changeNames {MetaboSignal} | R Documentation |
This function allows transforming KEGG IDs of genes or compounds into their corresponding common names (for compounds) or symbols (for genes).
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
MS_changeNames(c("rno:84482", "K01084", "cpd:C00267"), "rno") MS_changeNames("K01082", organism_code = "rno")