deleteSelectedEdges: deleteSelectedEdges

Description Usage Arguments Value Author(s) See Also Examples

Description

In Cytoscape, remove all selected edges. These edges will still exist in the corresponding R graph until you delete them there as well.

Usage

1

Arguments

obj

a CytoscapeWindowClass object.

Value

None.

Author(s)

Paul Shannon

See Also

selectEdges cy2.edge.names deleteSelectedNodes

Examples

1
2
3
4
5
6
7
8
  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)

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