| deleteSelectedNodes | R Documentation |
In Cytoscape, delete all the selected nodes. Edges originating or terminating in these nodes will be deleted also. The nodes will still exist in the corresponding R graph until you explicitly delete them there as well.
deleteSelectedNodes(obj)
obj |
a CytoscapeWindowClass object. |
None.
Paul Shannon
selectNodes deleteSelectedEdges
cw <- new.CytoscapeWindow ('deleteSelectedNodes.test', graph=makeSimpleGraph())
displayGraph (cw)
redraw (cw)
layoutNetwork (cw, 'jgraph-spring')
print (nodes (cw@graph))
selectNodes (cw, "B")
deleteSelectedNodes (cw)