getViewCoordinates | R Documentation |
This method returns the four numbers (top.x, top.y, bottom.x, bottom.y) which implicitly specify the bounds of the current window.
getViewCoordinates(obj)
obj |
a CytoscapeWindowClass object. |
A named list of fou numbers, with these names: top.x, top.y, bottom.x, bottom.y
Paul Shannon
getViewCoordinates getZoom setZoom
window.title = 'getViewCoordinates demo' cw <- new.CytoscapeWindow (window.title, graph=makeSimpleGraph()) displayGraph (cw) redraw (cw) layoutNetwork (cw, 'jgraph-spring') print (getViewCoordinates (cw))