selectEdges: selectEdges

Description Usage Arguments Value Author(s) See Also Examples

Description

Select the specified edges.

Usage

1
selectEdges(obj, edge.names, preserve.current.selection=TRUE)

Arguments

obj

a CytoscapeWindowClass object.

edge.names

a list of strings, the names of edges to select.

preserve.current.selection

a logical object.

Value

None.

Author(s)

Tanja Muetze, Georgi Kolishovski, Paul Shannon

See Also

clearSelection getSelectedEdgeCount getSelectedEdges hideSelectedEdges

Examples

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

  cw <- CytoscapeWindow ('selectEdges.test', graph=makeSimpleGraph())
  displayGraph (cw); layoutNetwork(cw); redraw (cw)
  clearSelection (cw)
  selectEdges (cw, c ("A (phosphorylates) B", "B (synthetic lethal) C"))
  getSelectedEdges (cw)

## End(Not run)

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