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.
Tanja Muetze, Georgi Kolishovski, Paul Shannon
saveLayout
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
# first, delete existing windows to save memory:
deleteAllWindows(CytoscapeConnection())
cw <- CytoscapeWindow ('restoreLayout.test', graph=makeSimpleGraph())
displayGraph (cw)
layoutNetwork(cw, 'force-directed')
saveLayout (cw, 'layout.RData')
layoutNetwork(cw, 'isom')
restoreLayout (cw, 'layout.RData')
# you might need to adjust the zoom
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.