getSelectedEdgesR Documentation

getSelectedEdges

Description

Retrieve the identifiers of all the edges selected in the current graph.

Usage

getSelectedEdges(obj)

Arguments

obj a CytoscapeWindowClass object.

Value

A list of character strings.

Author(s)

Paul Shannon

Examples

  cw <- new.CytoscapeWindow ('getSelectedEdges.test', graph=makeSimpleGraph())
  displayGraph (cw)
  layoutNetwork (cw, 'jgraph-spring')
  redraw (cw)
    # in Cytoscape, interactively select two edges
    # doesn't work yet:  selectEdges (cwe, "A (phosphorylates) B")
  getSelectedEdges (cw)