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