Learn R Programming

RCytoscape (version 1.22.0)

invertNodeSelection: invertNodeSelection

Description

Select the specified nodes.

Usage

invertNodeSelection(obj)

Arguments

obj
a CytoscapeWindowClass object.

Value

None.

See Also

clearSelection invertNodeSelection

Examples

Run this code
  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)
   

Run the code above in your browser using DataLab