CytoscapeConnection: CytoscapeConnection

Description Usage Arguments Value Author(s) See Also Examples

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", port = 1234)

Arguments

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.

Value

An object of the CytoscapeConnection Class.

Author(s)

Tanja Muetze, Georgi Kolishovski, Paul Shannon

See Also

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

Examples

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

  cy <- CytoscapeConnection ()
  deleteAllWindows (cy)
  getNodeShapes (cy)
  # [1] "DIAMOND"         "OCTAGON"         "TRIANGLE"        "VEE"            
  # [5] "HEXAGON"         "RECTANGLE"       "PARALLELOGRAM"   "ROUND_RECTANGLE"
  # [9] "ELLIPSE"  
  hidePanel (cy, 'control')

## End(Not run)

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