setNodeFontSizeDirect: setNodeFontSizeDirect

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
setNodeFontSizeDirect(obj, node.names, new.sizes)

Arguments

obj

a CytoscapeWindowClass object.

node.names

one or more String objects.

new.sizes

an integer, in pixel units.

Value

None.

Author(s)

Paul Shannon

See Also

setNodeWidthDirect setNodeHeightDirect setNodeSizeDirect

Examples

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

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