Description Usage Arguments Value Author(s) See Also Examples
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.
1 | deleteSelectedNodes(obj)
|
obj |
a |
None.
Paul Shannon
selectNodes deleteSelectedEdges
1 2 3 4 5 6 7 | cw <- new.CytoscapeWindow ('deleteSelectedNodes.test', graph=makeSimpleGraph())
displayGraph (cw)
redraw (cw)
layoutNetwork(cw, 'jgraph-spring')
print (nodes (cw@graph))
selectNodes (cw, "B")
deleteSelectedNodes (cw)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.