hideNodes: hideNodes

Description Usage Arguments Value Author(s) See Also Examples

Description

Hide (but do not delete) the currently nodes. Highly recommended: save the current layout before hiding, since 'unhideAll' will, in addition to restoring hidden nodes to view, will place then in unpredictable locations on the screen.

Usage

1
hideNodes(obj, node.names)

Arguments

obj

a CytoscapeWindowClass object.

node.names

a character list object.

Value

None.

Author(s)

Paul Shannon

See Also

hideSelectedNodes unhideAll saveLayout restoreLayout

Examples

1
2
3
4
5
6
7
  cw <- new.CytoscapeWindow ('hideNodes.test', graph=makeSimpleGraph())
  redraw (cw)
  layoutNetwork(cw, 'jgraph-spring')
  # saveLayout (cw, 'layout.tmp.RData')
  hideNodes (cw, c ('A', 'B'))
  unhideAll (cw)
  # restoreLayout (cw, 'layout.tmp.RData')

RCytoscape documentation built on Nov. 17, 2017, 10:52 a.m.