| deleteSelectedEdges | R Documentation |
In Cytoscape, remove all selected edges. These edges will still exist in the corresponding R graph until you delete them there as well.
deleteSelectedEdges(obj)
obj |
a CytoscapeWindowClass object. |
None.
Paul Shannon
selectEdges cy2.edge.names deleteSelectedNodes
cw <- new.CytoscapeWindow ('deleteSelectedEdges.test', graph=makeSimpleGraph())
displayGraph (cw)
redraw (cw)
layoutNetwork (cw, 'jgraph-spring')
print (cy2.edge.names (cw@graph)) # find out Cytoscape's names for these edges
selectEdges (cw, "B (synthetic lethal) C")
deleteSelectedEdges (cw)
redraw (cw)