getWindowIDR Documentation

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.

Author(s)

Paul Shannon

See Also

getWindowList

Examples

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