Learn R Programming

RCytoscape (version 1.22.0)

predictTimeToDisplayGraph: predictTimeToDisplayGraph

Description

Use simple heuristics and previously collected timimg to predict the length of time that will be required to send the R graph across the XMLRPC wire to Cytoscape.

Usage

predictTimeToDisplayGraph(obj)

Arguments

obj
a CytoscapeWindowClass object.

Value

Time in seconds.

See Also

new.CytoscapeWindow

Examples

Run this code
  cw <- new.CytoscapeWindow ('predictTimeToDisplayGraph.test', graph=makeSimpleGraph(), 
                             collectTimings=TRUE)
  message (paste ('estimated time: ', predictTimeToDisplayGraph (cw)))
  displayGraph (cw)
  layoutNetwork(cw, 'jgraph-spring')

Run the code above in your browser using DataLab