restoreLayout: restoreLayout

Description Usage Arguments Value Author(s) See Also Examples

Description

restore the current layout (that is, node positions) from the information saved in the supplied filename.

Usage

1
restoreLayout(obj, filename)

Arguments

obj

a CytoscapeWindowClass object.

filename

a string

Value

Nothing.

Author(s)

Paul Shannon

See Also

saveLayout

Examples

1
2
3
4
5
6
  cw <- new.CytoscapeWindow ('restoreLayout.test', graph=makeSimpleGraph())
  displayGraph (cw)
  layoutNetwork(cw, 'jgraph-spring')
  saveLayout (cw, 'layout.RData')
  layoutNetwork(cw, 'jgraph-circle')
  restoreLayout (cw, 'layout.RData')

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