existing.CytoscapeWindow: existing.CytoscapeWindow

Description Usage Arguments Value Author(s) Examples

View source: R/RCytoscape.R

Description

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

Usage

1
existing.CytoscapeWindow (title, host='localhost', rpcPort=9000, 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 RCytoscape 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 XMLRPC server plugin.

rpcPort

Defaults to 9000, this may be any port to which the CytoscapeRPC server 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)

Paul Shannon

Examples

1
2
3
4
  cy <- CytoscapeConnection ()
  cw <- new.CytoscapeWindow ('demo.existing', graph=makeSimpleGraph ())
  displayGraph (cw)
  cw2 <- existing.CytoscapeWindow ('demo.existing',  copy.graph.from.cytoscape.to.R=TRUE)

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