Description Usage Arguments Value Author(s) Examples
Returns the number of edge currently selected.
1 | getSelectedEdgeCount(obj)
|
obj |
a |
An integer.
Paul Shannon
1 2 3 4 5 6 7 8 9 10 | cw <- new.CytoscapeWindow ('getSelectedEdgeCount.test', graph=makeSimpleGraph())
displayGraph (cw)
layoutNetwork(cw, 'jgraph-spring')
redraw (cw)
clearSelection (cw)
getSelectedEdgeCount (cw) # should be 0
# in Cytoscape, interactively select an edge, or programmatically (doesn't work yet)
# selectEdges (cwe, "A (phosphorylates) B")
getSelectedEdgeCount (cw)
# should be 1
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.