restoreLayout | R Documentation |
restore the current layout (that is, node positions) from the information saved in the supplied filename.
restoreLayout(obj, filename)
obj |
a |
filename |
a |
Nothing.
Paul Shannon
saveLayout
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')