hideSelectedNodesR Documentation

hideSelectedNodes

Description

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

Usage

hideSelectedNodes(obj)

Arguments

obj a CytoscapeWindowClass object.

Value

None.

Author(s)

Paul Shannon

See Also

unhideAll

Examples

  cw <- new.CytoscapeWindow ('hideSelectedNodes.test', graph=makeSimpleGraph())
  selectNodes (cw, c ('A', 'B'))
  hideSelectedNodes (cw)
  unhideAll (cw)
   # alas, Cytoscape requires that you render these nodes, and redo the
   # layout, so that they are visible again
  redraw (cw)
  layoutNetwork (cw, 'jgraph-spring')