Learn R Programming

RCy3 (version 1.2.0)

hideSelectedEdges: hideSelectedEdges

Description

Hide (but do not delete) the currently selected edges.

Usage

hideSelectedEdges(obj)

Arguments

obj
a CytoscapeWindowClass object.

Value

None.

See Also

unhideAll

Examples

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

  cw <- CytoscapeWindow ('hideSelectedEdges.test', graph=makeSimpleGraph())
  displayGraph (cw)
  layoutNetwork(cw, 'grid')
  
  selectEdges (cw, 'B (synthetic lethal) C')
  hideSelectedEdges (cw)
  # unhideAll (cw) # makes the edges appear again
   # previously, Cytoscape required that you render these edges,
   # and redo the layout, so that they are visible again.
   # This is no longer required.

Run the code above in your browser using DataLab