clearSelection: clearSelection

Description Usage Arguments Value Author(s) Examples

Description

If any nodes are selected in the current Cytocape window, they will be unselected.

Usage

1

Arguments

obj

a CytoscapeWindowClass object.

Value

Nothing

Author(s)

Paul Shannon

Examples

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

RCytoscape documentation built on Nov. 17, 2017, 10:52 a.m.