hideSelectedNodes: hideSelectedNodes

Description Usage Arguments Value Author(s) See Also Examples

Description

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

Usage

1

Arguments

obj

a CytoscapeWindowClass object.

Value

None.

Author(s)

Tanja Muetze, Georgi Kolishovski, Paul Shannon

See Also

unhideAll

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
  ## Not run: 
  # first, delete existing windows to save memory:
  deleteAllWindows(CytoscapeConnection())

  cw <- CytoscapeWindow ('hideSelectedNodes.test', graph=makeSimpleGraph())
  displayGraph (cw)
  redraw (cw)
  layoutNetwork(cw, 'force-directed')
  saveLayout (cw, 'layout.tmp.RData')
  selectNodes (cw, c ('A', 'B'))
  hideSelectedNodes (cw)
  unhideAll (cw)
  restoreLayout (cw, 'layout.tmp.RData')

## End(Not run)

RCy3 documentation built on Nov. 17, 2017, 1:22 p.m.