Learn R Programming

RCy3 (version 1.2.0)

invertEdgeSelection: invertEdgeSelection

Description

Invert edge selection, i.e. select all edges that were not selected and deselect all edges that were selected.

Usage

invertEdgeSelection(obj)

Arguments

obj
a CytoscapeWindowClass object.

Value

None.

See Also

clearSelection invertNodeSelection

Examples

Run this code
  # first, delete existing windows to save memory:
  deleteAllWindows(CytoscapeConnection())

  cw <- CytoscapeWindow ('invertEdgeSelection demo', graph=makeSimpleGraph())
  displayGraph (cw)
  layoutNetwork (cw, 'force-directed')
  invertEdgeSelection (cw)
    # all edges should be selected, since none were before

Run the code above in your browser using DataLab