Description Usage Arguments Value Author(s) Examples
If any nodes are selected in the current Cytocape window, they will be unselected.
1 | clearSelection(obj)
|
obj |
a |
Nothing
Paul Shannon
1 2 3 4 5 6 | 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
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.