setNodeFontSizeDirectR Documentation

setNodeFontSizeDirect

Description

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

Usage

setNodeFontSizeDirect(obj, node.names, new.size)

Arguments

obj a CytoscapeWindowClass object.
node.names one or more String objects.
new.size an integer, in pixel units.

Value

None.

Author(s)

Paul Shannon

See Also

setNodeWidthDirect setNodeHeightDirect setNodeSizeDirect

Examples

  cw <- new.CytoscapeWindow ('setNodeFontSizeDirect.test', graph=makeSimpleGraph())
  displayGraph (cw)
  redraw (cw)
  layoutNetwork (cw, 'jgraph-spring')
  setNodeFontSizeDirect (cw, 'A', 32)
  redraw (cw)