Learn R Programming

RCy3 (version 1.2.0)

getWindowList: getWindowList

Description

Returns a named list of windows in the current Cytoscape Desktop.

Usage

getWindowList(obj)

Arguments

obj
a CytoscapeConnectionClass object.

Value

A named list, in which the values are the titles of the windows; the names of the list are integers.

Examples

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

  cy <- CytoscapeConnection ()
  getWindowList (cy)
    # NULL
  cw2 <- CytoscapeWindow ('getWindowList.test1', graph=makeSimpleGraph())
  cw3 <- CytoscapeWindow ('getWindowList.test2', graph=makeSimpleGraph())
  getWindowList (cy)
    # [1] "getWindowList.test2" "getWindowList.test1"

Run the code above in your browser using DataLab