Description Usage Arguments Value Author(s) Examples
Returns the number of edges currently selected.
1 | getSelectedEdgeCount(obj)
|
obj |
a |
An integer.
Tanja Muetze, Georgi Kolishovski, Paul Shannon
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## Not run:
# first, delete existing windows to save memory:
deleteAllWindows(CytoscapeConnection())
cw <- CytoscapeWindow ('getSelectedEdgeCount.test', graph=makeSimpleGraph())
displayGraph (cw)
layoutNetwork(cw, 'force-directed')
redraw (cw)
clearSelection (cw)
getSelectedEdgeCount (cw)
# [1] 0
# in Cytoscape, interactively select an edge, or programmatically
selectEdges (cw, "A (phosphorylates) B")
getSelectedEdgeCount (cw)
# [1] 1
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.