setNodeLabelColorDirect: setNodeLabelColorDirect

Description Usage Arguments Value Author(s) See Also Examples

Description

In the specified CytoscapeWindow, set the size of the font used in rendering the label of the specified node.

Usage

1
setNodeLabelColorDirect(obj, node.names, new.colors)

Arguments

obj

a CytoscapeWindowClass object.

node.names

one or more String objects.

new.colors

an string, using standard hex notation.

Value

None.

Author(s)

Paul Shannon

See Also

setNodeFontSizeDirect

Examples

1
2
3
4
5
6
7
  cw <- new.CytoscapeWindow ('setNodeLabelColorDirect.test', graph=makeSimpleGraph())
  displayGraph (cw)
  redraw (cw)
  layoutNetwork(cw, 'jgraph-spring')
  setNodeFontSizeDirect (cw, 'A', 50)
  setNodeLabelColorDirect (cw, 'A', '#FFFF00')
  redraw (cw)

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