setNodeHeightDirect: setNodeHeightDirect

Description Usage Arguments Value Author(s) See Also Examples

Description

In the specified CytoscapeWindow, set the height of the specified node. Not that the node dimensions (height and width) must be unlocked for this to work. If they ARE locked, then node and height change together, as specified by a node size rule, or the setNodeSizeDirect method

Usage

1
setNodeHeightDirect(obj, node.names, new.heights)

Arguments

obj

a CytoscapeWindowClass object.

node.names

one ore more String objects.

new.heights

one or more integers, in pixel units.

Value

None.

Author(s)

Paul Shannon

See Also

setNodeWidthDirect lockNodeDimensions setNodeSizeDirect setNodeHeightDirect

Examples

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

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