deleteSelectedNodes: deleteSelectedNodes

Description Usage Arguments Value Author(s) See Also Examples

Description

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.

Usage

1

Arguments

obj

a CytoscapeWindowClass object.

Value

None.

Author(s)

Paul Shannon

See Also

selectNodes deleteSelectedEdges

Examples

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)

RCytoscape documentation built on Nov. 17, 2017, 10:52 a.m.