Learn R Programming

RCytoscape (version 1.22.0)

hideSelectedNodes: hideSelectedNodes

Description

Hide (but do not delete) the currently selected nodes. We strongly recommened that you save the current layout before hiding any nodes: 'unhideAll' often places restored nodes in unpredictable positions.

Usage

hideSelectedNodes(obj)

Arguments

obj
a CytoscapeWindowClass object.

Value

None.

See Also

unhideAll

Examples

Run this code
  cw <- new.CytoscapeWindow ('hideSelectedNodes.test', graph=makeSimpleGraph())
  # saveLayout (cw, 'layout.tmp.RData')
  selectNodes (cw, c ('A', 'B'))
  hideSelectedNodes (cw)
  unhideAll (cw)
  # restoreLayout (cw, 'layout.tmp.RData')

Run the code above in your browser using DataLab