Description Usage Arguments Value Author(s) Examples
Returns the Cytoscape network as a Bioconductor graph
1 | getGraphFromCyWindow(obj, window.title)
|
obj |
a |
window.title |
a |
A Bioconductor graph object.
Tanja Muetze, Georgi Kolishovski, Paul Shannon
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
# first, delete existing windows to save memory:
deleteAllWindows(CytoscapeConnection())
cw <- CytoscapeWindow ('getGraphFromCyWindow.test', graph=makeSimpleGraph())
displayGraph (cw)
layoutNetwork (cw)
g.cy <- getGraphFromCyWindow (cw, 'getGraphFromCyWindow.test')
print (g.cy) # 3 nodes, 3 edges
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.