| invertNodeSelection | R Documentation |
Select the specified nodes.
invertNodeSelection(obj)
obj |
a CytoscapeWindowClass object. |
None.
Paul Shannon
clearSelection invertNodeSelection
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)