getGraphFromCyWindowR Documentation

getGraphFromCyWindow

Description

Returns the Cytoscape network as a bioconductor graph

Usage

getGraphFromCyWindow(obj, window.title)

Arguments

obj a CytoscapeConnectionClass object.
window.title a string object.

Value

A bioconductor graph object.

Author(s)

Paul Shannon

Examples

  cw <- CytoscapeWindow ('getGraphFromCyWindow.test', graph=makeSimpleGraph())
  displayGraph (cw)
  layoutNetwork (cw)
  redraw (cw)
  g.cy <- getGraphFromCyWindow (cw, 'getGraphFromCyWindow.test')
  print (g.cy)  # 3 nodes, 3 edges