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)

Tanja Muetze, Georgi Kolishovski, Paul Shannon

Examples

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

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

## End(Not run)

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