new.CytoscapeWindow

Description

The constructor for the CytoscapeWindowClass

Usage

1
2
new.CytoscapeWindow(title, graph = new("graphNEL", edgemode='directed'), host = "localhost", rpcPort = 9000, 
                    create.window = TRUE, overwriteWindow=FALSE, collectTimings=FALSE)

Arguments

title

A character string, this is the name you will see on the Cytoscape network window. Multiple windows with the same name are not permitted.

graph

A Bioconductor graph.

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.

create.window

Defaults to TRUE, but if you want a CytoscapeWindow just to call what in Java we would call 'class methods' – getWindowList () for instance, a CytoscapeWindow without an actual window can be useful.

overwriteWindow

Every Cytoscape window must have a unique title. If the title you supply is already in use, this method will fail unless you specify TRUE for this parameter, in which case the pre-existing window with the same title will be deleted before this new one is created.

collectTimings

Default FALSE. Will record and report the time required to send a graph to Cytoscape.

Value

An object of the CytoscapeWindow Class.

Author(s)

Paul Shannon

See Also

CytoscapeWindow existing.CytoscapeWindow, predictTimeToDisplayGraph

Examples

1
  cw <- new.CytoscapeWindow ('new.demo', new ('graphNEL'))

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.