setDefaultNodeColor | R Documentation |
In the specified CytoscapeWindow, stipulate the color for all nodes other than those mentioned in a node border color rule.
setDefaultNodeColor(obj, new.color, vizmap.style.name = "default")
obj |
a CytoscapeConnectionClass object. |
new.color |
a String object, a hex string, of the form '#RRGGBB'. |
vizmap.style.name |
a String object. |
None.
Paul Shannon
setDefaultNodeShape setDefaultNodeColor setDefaultNodeSize setDefaultNodeColor setDefaultNodeBorderColor setDefaultNodeBorderWidth setDefaultNodeFontSize setDefaultNodeLabelColor setDefaultEdgeLineWidth setEdgeColorRule setNodeBorderColorRule
cw <- new.CytoscapeWindow ('setDefaultNodeColor.test', graph=makeSimpleGraph()) displayGraph (cw) redraw (cw) layoutNetwork (cw, 'jgraph-spring') setDefaultNodeColor (cw, '#8888FF') # light blue redraw (cw)