getWindowCount: getWindowCount

Description Usage Arguments Value Author(s) Examples

Description

Returns the number of windows which currently exist in the Cytoscape Desktop.

Usage

1

Arguments

obj

a CytoscapeConnectionClass object.

Value

An integer.

Author(s)

Paul Shannon

Examples

1
2
3
4
5
6
  cy <- CytoscapeConnection ()
  count.at.start = getWindowCount (cy)
  cw2 <- CytoscapeWindow ('getWindowCount.test1', graph=makeSimpleGraph())
  cw3 <- CytoscapeWindow ('getWindowCount.test2', graph=makeSimpleGraph())
  getWindowCount (cy)
    # should be two greater than 'count.at.start'

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