Description Usage Arguments Value Author(s) See Also Examples
Display the current graph using all of the available window (the Cytoscape drawing canvas).
1 | fitContent(obj)
|
obj |
a |
None.
Tanja Muetze, Georgi Kolishovski, Paul Shannon
setZoom fitSelectedContent
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
# first, delete existing windows to save memory:
deleteAllWindows(CytoscapeConnection())
cw <- CytoscapeWindow ('fitContent.test', graph=makeSimpleGraph())
displayGraph (cw)
redraw (cw)
layoutNetwork(cw, 'force-directed')
setZoom (cw, 0.1)
fitContent (cw)
setZoom (cw, 10.0)
fitContent (cw)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.