getSelectedEdges | R Documentation |
Retrieve the identifiers of all the edges selected in the current graph.
getSelectedEdges(obj)
obj |
a CytoscapeWindowClass object. |
A list of character strings.
Paul Shannon
cw <- new.CytoscapeWindow ('getSelectedEdges.test', graph=makeSimpleGraph()) displayGraph (cw) layoutNetwork (cw, 'jgraph-spring') redraw (cw) # in Cytoscape, interactively select two edges # doesn't work yet: selectEdges (cwe, "A (phosphorylates) B") getSelectedEdges (cw)