invertNodeSelectionR Documentation

invertNodeSelection

Description

Select the specified nodes.

Usage

invertNodeSelection(obj)

Arguments

obj a CytoscapeWindowClass object.

Value

None.

Author(s)

Paul Shannon

See Also

clearSelection invertNodeSelection

Examples

  cw <- new.CytoscapeWindow ('invertNodeSelection demo', graph=makeSimpleGraph())
     # all nodes should be selected, since none were before
  selectNodes (cw, 'A')
  invertNodeSelection (cw)
  redraw (cw)
     # a richer test will be to programmatically select nodes, but that
     #  does not work yet (pshannon, 13 jan 2011)