hideNodesR Documentation

hideNodes

Description

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

Usage

hideNodes(obj, node.names)

Arguments

obj a CytoscapeWindowClass object.
node.names a character list object.

Value

None.

Author(s)

Paul Shannon

See Also

hideSelectedNodes unhideNodes

Examples

  cw <- new.CytoscapeWindow ('hideNodes.test', graph=makeSimpleGraph())
  redraw (cw)
  layoutNetwork (cw, 'jgraph-spring')
  hideNodes (cw, c ('A', 'B'))