getNodeCount: getNodeCount

Description Usage Arguments Value Author(s) Examples

Description

Reports the number of nodes 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 ('getNodeCount.test', graph=makeSimpleGraph())
  displayGraph (cw)
  layoutNetwork(cw, 'jgraph-spring')
  redraw (cw)
    # in Cytoscape, interactively select two nodes, or
  getNodeCount (cw)
  # [1] 3

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