Description Usage Arguments Value Author(s) See Also Examples
Control the size of the CytoscapeWindow by specifying a width and height. On a typical screen, there may be 1200 pixels in the width of a full-size window, and 800 pixels in height.
1 | setWindowSize(obj, width, height)
|
obj |
a |
width |
a |
height |
a |
None.
Tanja Muetze, Georgi Kolishovski, Paul Shannon
getZoom setZoom getCenter setCenter getViewCoordinates fitContent
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ## Not run:
# WARNING: Method RCy3::setWindowSize() is not implemented in RCy3!
# first, delete existing windows to save memory:
deleteAllWindows(CytoscapeConnection())
window.title = 'setWindowSize demo'
cw <- CytoscapeWindow (window.title, graph=makeSimpleGraph())
displayGraph (cw)
layoutNetwork(cw, 'force-directed')
setWindowSize (cw, 1200, 800)
fitContent (cw)
setWindowSize (cw, 120, 80)
fitContent (cw)
setWindowSize (cw, 600, 400)
fitContent (cw)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.