predictTimeToDisplayGraph: predictTimeToDisplayGraph

Description Usage Arguments Value Author(s) See Also Examples

Description

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

Usage

1

Arguments

obj

a CytoscapeWindowClass object.

Value

Time in seconds.

Author(s)

Tanja Muetze, Georgi Kolishovski, Paul Shannon

See Also

CytoscapeWindow

Examples

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

  cw <- CytoscapeWindow ('predictTimeToDisplayGraph.test', graph=makeSimpleGraph(), 
                             collectTimings=TRUE)
  message (paste ('estimated time: ', predictTimeToDisplayGraph (cw)))
  displayGraph (cw)
  layoutNetwork(cw, 'force-directed')

## End(Not run)

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