Description Usage Arguments Value Author(s) See Also Examples
Layout the current graph according to the specified algorithm.
1 | layoutNetwork(obj, layout.name='grid')
|
obj |
a |
layout.name |
a |
Nothing.
Tanja Muetze, Georgi Kolishovski, Paul Shannon
getLayoutNameMapping getLayoutNames restoreLayout 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 ('layout.test', graph=makeSimpleGraph())
displayGraph (cw)
possible.layout.names <- getLayoutNames(cw)
# choose one of the layouts e.g.:
layoutNetwork (cw, possible.layout.names[1])
# or:
layoutNetwork (cw, 'force-directed')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.