getWindowID: getWindowID

Description Usage Arguments Value Author(s) See Also Examples

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

1
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

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

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