Description Usage Arguments Value Examples
Translates the node IDs to readable and comprensible names.
The names of the nodes are encoded as "pathway: name", where "pathway" is the pathway to which the node belongs and "node" is the name of the node. Nodes may include more genes than the one depicted in the name.
1 | get_node_names(metaginfo, names, maxchar = NULL)
|
metaginfo |
Pathways object |
names |
Character vector with the subpathway IDs to be translated |
maxchar |
Integer, describes the number of maximum characters to be shown. By default no filter is applied. |
A character vector including the readable names of the subpathways IDs, in the same order as provided.
1 2 3 4 5 | data(results)
pathways_list <- c("hsa03320", "hsa04012")
pathways <- load_pathways(species = "hsa", pathways_list)
node_vals <- get_nodes_data(results)
translated_names <- get_node_names(pathways, rownames(node_vals))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.