setDefaultNodeLabelColor | R Documentation |
In the specified CytoscapeWindow, stipulate the color for all node labels. There is, at present, no mapping rule for this trait.
setDefaultNodeLabelColor(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
cw <- new.CytoscapeWindow ('setDefaultNodeLabelColor.test', graph=makeSimpleGraph()) displayGraph (cw) redraw (cw) layoutNetwork (cw, 'jgraph-spring') setDefaultNodeLabelColor (cw, '#FFFFFF') # white node labels redraw (cw)