redraw: redraw

Description Usage Arguments Value Author(s) See Also Examples

Description

Ask Cytoscape to redraw all nodes and edges, applying the vizmap rules.

Usage

1
redraw(obj)

Arguments

obj

a CytoscapeWindowClass object.

Value

None.

Author(s)

Tanja Muetze, Georgi Kolishovski, Paul Shannon

See Also

displayGraph layoutNetwork

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 ('redraw.test', graph=makeSimpleGraph())
  displayGraph (cw)
  layoutNetwork(cw, 'force-directed')
  redraw (cw)  # applies default vizmap (rendering) rules, plus any you
               # have specified

## End(Not run)

RCy3 documentation built on Nov. 17, 2017, 1:22 p.m.