deleteSelectedEdgesR Documentation

deleteSelectedEdges

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

deleteSelectedEdges(obj)

Arguments

obj a CytoscapeWindowClass object.

Value

None.

Author(s)

Paul Shannon

See Also

selectEdges cy2.edge.names deleteSelectedNodes

Examples

  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)