clearSelection | R Documentation |
If any nodes are selected in the current Cytocape window, they will be unselected.
clearSelection(obj)
obj |
a CytoscapeWindowClass object. |
Nothing
Paul Shannon
cw<- CytoscapeWindow ('clearSelection.test', graph=makeSimpleGraph()) displayGraph (cw) selectNodes (cw, 'A') print (getSelectedNodeCount (cw)) # should be 1 clearSelection (cw) print (getSelectedNodeCount (cw)) # should be 0