Description Usage Arguments Value Author(s) See Also Examples
This method returns the four numbers (top.x, top.y, bottom.x, bottom.y) which implicitly specify the bounds of the current window.
1 | getViewCoordinates(obj)
|
obj |
a |
A named list of four numbers, with these names: top.x, top.y, bottom.x, bottom.y
Tanja Muetze, Georgi Kolishovski, Paul Shannon
getViewCoordinates getZoom setZoom
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
# WARNING: Method RCy3::getViewCoordinates() is not implemented in RCy3!
# first, delete existing windows to save memory:
deleteAllWindows(CytoscapeConnection())
window.title = 'getViewCoordinates demo'
cw <- CytoscapeWindow (window.title, graph=makeSimpleGraph())
displayGraph (cw)
redraw (cw)
layoutNetwork (cw, 'force-directed')
#print (getViewCoordinates (cw))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.