setDefaultNodeLabelColor: setDefaultNodeLabelColor

Description Usage Arguments Value Author(s) See Also Examples

Description

In the specified CytoscapeWindow, stipulate the color for all node labels. There is, at present, no mapping rule for this trait.

Usage

1
setDefaultNodeLabelColor(obj, new.color, vizmap.style.name = "default")

Arguments

obj

a CytoscapeConnectionClass object.

new.color

a String object, a hex string, of the form '#RRGGBB'.

vizmap.style.name

a String object.

Value

None.

Author(s)

Paul Shannon

See Also

setDefaultNodeShape setDefaultNodeColor setDefaultNodeSize setDefaultNodeColor setDefaultNodeBorderColor setDefaultNodeBorderWidth setDefaultNodeFontSize setDefaultNodeLabelColor setDefaultEdgeLineWidth

Examples

1
2
3
4
5
6
  cw <- new.CytoscapeWindow ('setDefaultNodeLabelColor.test', graph=makeSimpleGraph())
  displayGraph (cw)
  redraw (cw)
  layoutNetwork(cw, 'jgraph-spring')
  setDefaultNodeLabelColor (cw, '#FFFFFF') # white node labels
  redraw (cw)

RCytoscape documentation built on Nov. 17, 2017, 10:52 a.m.