createWindow: createWindow

Description Usage Arguments Value Author(s) Examples

Description

Request that Cytoscape create a new window for the supplied CytoscapeWindowClass object. It will hold a new network, using the title supplied when the object's constructor was called.

This method will probably not often be useful: it is called behind the scenes by the CytoscapeWindow constructor unless you specify (in calling the constructor) 'create.window=FALSE'. In that case, or if you interactively delete the window in Cytoscape, or if you call the 'deleteWindow' or 'deleteAllWindows' methods, you can create a new window by calling this method.

Usage

1

Arguments

obj

a CytoscapeWindowClass object.

Value

Nothing.

Author(s)

Tanja Muetze, Georgi Kolishovski, Paul Shannon

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
  ## Not run: 
   # first, delete existing windows to save memory:
  deleteAllWindows(CytoscapeConnection())
  
   # create a CytoscapeWindowClass object by calling the constructor
  c2 <- CytoscapeWindow ('cwc demo', makeSimpleGraph ())
  
   # delete the window and then recreate it
  deleteAllWindows(CytoscapeConnection())
  createWindow(c2)

## End(Not run)

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