CytoscapeConnection: CytoscapeConnection

Description Usage Arguments Value Author(s) See Also Examples

View source: R/RCytoscape.R

Description

The constructor for the CytoscapeConnectionClass. This class is both the base class for CytoscapeWindow objects, and quite usefully, and instantiable object in its own right. It is very useful for calling the many RCytoscape methods which do not address a single window in particular: getWindowList, getWindowCount, deleteWindow, getNodeShapes, etc.

Usage

1
CytoscapeConnection (host = "localhost", rpcPort = 9000)

Arguments

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.

Value

An object of the CytoscapeConnection Class.

Author(s)

Paul Shannon

See Also

ping version msg clearMsg getWindowCount getWindowID getWindowCount getWindowList deleteWindow deleteAllWindows getNodeShapes getAttributeClassNames getLineStyles getArrowShapes getLayoutNames haveNodeAttribute haveEdgeAttribute getGraphFromCyWindow hidePanel dockPanel floatPanel

Examples

1
2
3
4
  cy <- CytoscapeConnection ()
  deleteAllWindows (cy)
  getNodeShapes (cy)
  hidePanel (cy, 'Control')

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