Description Usage Arguments Value Author(s) See Also Examples
save the current layout (that is, node positions) to the specified file.
1 | saveLayout(obj, filename, timestamp.in.filename=FALSE)
|
obj |
a |
filename |
a |
timestamp.in.filename |
|
Nothing.
Paul Shannon
restoreLayout
1 2 3 4 5 6 7 | cw <- new.CytoscapeWindow ('saveLayout.test', graph=makeSimpleGraph())
displayGraph (cw)
layoutNetwork(cw, 'jgraph-spring')
saveLayout (cw, 'layout.RData')
layoutNetwork(cw, 'jgraph-circle')
restoreLayout (cw, 'layout.RData')
saveLayout (cw, 'layout2', timestamp.in.filename=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.