existing.CytoscapeWindow: existing.CytoscapeWindow

Description Usage Arguments Value Author(s) Examples

Description

The constructor for the CytoscapeWindowClass, used when Cytoscape already contains and displays a network.

Usage

1
existing.CytoscapeWindow (title, host='localhost', port=1234, copy.graph.from.cytoscape.to.R=FALSE)

Arguments

title

A character string, this is the name of an existing Cytoscape network window. This name enables RCy3 to identify and connect to the proper Cytoscape window and network that it contains.

host

Defaults to 'localhost', this is the domain name of a machine which is running Cytoscape with the appropriate CyREST plugin.

port

Defaults to 1234, this may be any port to which CyREST is listening.

copy.graph.from.cytoscape.to.R

Defaults to FALSE, but you may want a copy in R, for further exploration.

Value

An object of the existing.CytoscapeWindow class.

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())

  cy <- CytoscapeConnection ()
  cw <- CytoscapeWindow ('demo.existing', graph=makeSimpleGraph ())
  displayGraph (cw)
  layoutNetwork(cw, 'force-directed')
  cw2 <- existing.CytoscapeWindow ('demo.existing',  copy.graph.from.cytoscape.to.R=TRUE)

## End(Not run)

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