Description Usage Arguments Value Author(s) See Also Examples
restore the current layout (that is, node positions) from the information saved in the supplied filename.
1 | restoreLayout(obj, filename)
|
obj |
a |
filename |
a |
Nothing.
Paul Shannon
saveLayout
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')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.