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)

Tanja Muetze, Georgi Kolishovski, Paul Shannon

See Also

getWindowList

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
  ## Not run: 
  # first, delete existing windows to save memory:
  deleteAllWindows(CytoscapeConnection())

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

## End(Not run)

tmuetze/Bioconductor_RCy3_the_new_RCytoscape documentation built on May 31, 2019, 4:39 p.m.