Learn R Programming

RCy3 (version 1.2.0)

getAllEdges: getAllEdges

Description

Retrieve all edges in the current graph, expressed in the standard Cytoscape notation.

Usage

getAllEdges(obj)

Arguments

obj
a CytoscapeWindowClass object.

Value

A list of character strings.

Examples

Run this code
  # first, delete existing windows to save memory:
  deleteAllWindows(CytoscapeConnection())

  cw <- CytoscapeWindow ('getAllEdges.test', graph=makeSimpleGraph())
  displayGraph (cw)
  print (getAllEdges (cw))
    # [1] "A (phosphorylates) B"   "B (synthetic lethal) C" "C (undefined) A"    

Run the code above in your browser using DataLab