Description Usage Arguments Value Author(s) See Also Examples
In the specified CytoscapeWindow, stipulate the color for all nodes other than those mentioned in a node border color rule.
1 | setDefaultNodeColor(obj, new.color, vizmap.style.name = "default")
|
obj |
a |
new.color |
a |
vizmap.style.name |
a |
None.
Paul Shannon
setDefaultNodeShape setDefaultNodeColor setDefaultNodeSize setDefaultNodeColor setDefaultNodeBorderColor setDefaultNodeBorderWidth setDefaultNodeFontSize setDefaultNodeLabelColor setDefaultEdgeLineWidth setEdgeColorRule setNodeBorderColorRule
1 2 3 4 5 6 | cw <- new.CytoscapeWindow ('setDefaultNodeColor.test', graph=makeSimpleGraph())
displayGraph (cw)
redraw (cw)
layoutNetwork(cw, 'jgraph-spring')
setDefaultNodeColor (cw, '#8888FF') # light blue
redraw (cw)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.