Description Usage Arguments Value Author(s) See Also Examples
In the specified CytoscapeWindow, set the color of the specified node or nodes. This method bypasses the vizmap, and excludes this node, for the duration of the current Cytoscape session, from further manipulation by vizmap color rules.
1 | setNodeColorDirect(obj, node.names, new.color)
|
obj |
a |
node.names |
a |
new.color |
an |
None.
Paul Shannon
setNodeColorRule
1 2 3 4 5 6 | cw <- new.CytoscapeWindow ('setNodeColorDirect.test', graph=makeSimpleGraph())
displayGraph (cw)
redraw (cw)
layoutNetwork(cw, 'jgraph-spring')
setNodeColorDirect (cw, 'A', '#880000')
redraw (cw)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.