lockNodeDimensions: lockNodeDimensions

Description Usage Arguments Value Author(s) See Also Examples

Description

Select the specified nodes.

Usage

1
lockNodeDimensions(obj, new.state, visual.style.name='default')

Arguments

obj

a CytoscapeConnectionClass object.

new.state

a boolean object, TRUE or FALSE

visual.style.name

a string object, naming the visual style whose 'locked' you wish to change. Defaults to 'default'

Value

None.

Author(s)

Paul Shannon

See Also

setNodeSizeDirect setNodeWidthDirect setNodeHeightDirect

Examples

1
2
3
4
5
6
7
  cw <- new.CytoscapeWindow ('lockNodeDimensions demo', graph=makeSimpleGraph())
  displayGraph (cw)
  layoutNetwork(cw)
  redraw (cw)
  lockNodeDimensions (cw, FALSE)
  setNodeWidthDirect (cw, 'A', 100)
  setNodeHeightDirect (cw, 'A', 50)

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