getEdgeCountR Documentation

getEdgeCount

Description

Reports the number of the edges in the current graph.

Usage

getEdgeCount(obj)

Arguments

obj a CytoscapeWindowClass object.

Value

A list of character strings.

Author(s)

Paul Shannon

Examples

  cw <- new.CytoscapeWindow ('getEdgeCount.test', graph=makeSimpleGraph())
  displayGraph (cw)
  layoutNetwork (cw, 'jgraph-spring')
  redraw (cw)
    # in Cytoscape, interactively select two nodes, or
  getEdgeCount (cw)
  # [1] 3