getGraphFromCyWindow: getGraphFromCyWindow

Description Usage Arguments Value Author(s) Examples

Description

Returns the Cytoscape network as a bioconductor graph

Usage

1
getGraphFromCyWindow(obj, window.title)

Arguments

obj

a CytoscapeConnectionClass object.

window.title

a string object.

Value

A bioconductor graph object.

Author(s)

Paul Shannon

Examples

1
2
3
4
5
6
  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

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