Learn R Programming

RCytoscape (version 1.22.0)

hideSelectedEdges: hideSelectedEdges

Description

Hide (but do not delete) the currently selected edges. 'Unhide' is supposed to return them to view, but this is broken in Cytoscape 2.7.

Usage

hideSelectedEdges(obj)

Arguments

obj
a CytoscapeWindowClass object.

Value

None.

See Also

unhideAll

Examples

Run this code
  cw <- new.CytoscapeWindow ('hideSelectedEdges.test', graph=makeSimpleGraph())
  # selectEdges (cw, 'B (synthetic lethal) C')
  hideSelectedEdges (cw)
  unhideAll (cw)
   # alas, Cytoscape requires that you render these edges, and redo the
   # layout, so that they are visible again
  redraw (cw)
  layoutNetwork(cw, 'jgraph-spring')

Run the code above in your browser using DataLab