| getGraphFromCyWindow | R Documentation |
Returns the Cytoscape network as a bioconductor graph
getGraphFromCyWindow(obj, window.title)
obj |
a CytoscapeConnectionClass object. |
window.title |
a string object. |
A bioconductor graph object.
Paul Shannon
cw <- CytoscapeWindow ('getGraphFromCyWindow.test', graph=makeSimpleGraph())
displayGraph (cw)
layoutNetwork (cw)
redraw (cw)
g.cy <- getGraphFromCyWindow (cw, 'getGraphFromCyWindow.test')
print (g.cy) # 3 nodes, 3 edges