Learn R Programming

RCy3 (version 1.2.0)

getWindowID: getWindowID

Description

Windows in Cytoscape have both a title and an identifier. The title is useful for human readers; the identifier is used by Cytoscape internals, and is sometimes useful to obtain.This method returns the identifier associated with the window title.

Usage

getWindowID(obj, window.title)

Arguments

obj
a CytoscapeConnectionClass object.
window.title
a string.

Value

The identifier (id) of a window, which is always a string -- even if the identifer appears to be an integer.

See Also

getWindowList

Examples

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

  cy <- CytoscapeConnection ()
  cw <- CytoscapeWindow ('getWindowID.test', graph=makeSimpleGraph())
  displayGraph (cw)
  getWindowID (cy, 'getWindowID.test')

Run the code above in your browser using DataLab