deleteSelectedEdges: deleteSelectedEdges

Description Usage Arguments Value Author(s) See Also Examples

Description

This function removes all selected edges in Cytoscape. 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)

Tanja Muetze, Georgi Kolishovski, Paul Shannon

See Also

selectEdges cy2.edge.names deleteSelectedNodes

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
  ## Not run: 
  # first, delete existing windows to save memory:
  deleteAllWindows(CytoscapeConnection())

  cw <- CytoscapeWindow ('deleteSelectedEdges.test', graph=makeSimpleGraph())
  displayGraph (cw)
  redraw (cw)
  layoutNetwork(cw, 'force-directed') 
  print (cy2.edge.names (cw@graph))   # find out Cytoscape's names for  these edges
  selectEdges (cw, "B (synthetic lethal) C")
  deleteSelectedEdges (cw)
  redraw (cw)

## End(Not run)

tmuetze/Bioconductor_RCy3_the_new_RCytoscape documentation built on May 31, 2019, 4:39 p.m.