Description Usage Arguments Value Author(s) Examples
Set node weights
1 | setNodeWeights(graphList, weights = NULL, defaultWeight = 1)
|
graphList |
a list of |
weights |
named vector or matrix; if vector, the node is going to have the same weight in all graphs it appears; if matrix, the rows represent nodes and columns represent graphs and the node will have different weights in each pathway |
defaultWeight |
the default weight for all nodes not set by the parameter |
The graphList
with the node weights set.
Calin Voichita and Sorin Draghici
1 2 3 4 5 6 | # load the set of pathways
kpg <- keggPathwayGraphs("hsa")
kpg <- setNodeWeights(kpg)
nodeWeights(kpg[["path:hsa04110"]])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.