getEdgeCount: getEdgeCount

Description Usage Arguments Value Author(s) Examples

Description

Reports the number of the edges in the current graph.

Usage

1

Arguments

obj

a CytoscapeWindowClass object.

Value

A list of character strings.

Author(s)

Paul Shannon

Examples

1
2
3
4
5
6
7
  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

RCytoscape documentation built on Nov. 17, 2017, 10:52 a.m.