fitSelectedContent: fitSelectedContent

Description Usage Arguments Value Author(s) See Also Examples

Description

Using all of the available window (the Cytoscape drawing canvas) display the current graph.

Usage

1

Arguments

obj

a CytoscapeWindowClass object.

Value

None.

Author(s)

Paul Shannon

See Also

setZoom fitContent

Examples

1
2
3
4
5
6
7
8
9
  cw <- new.CytoscapeWindow ('fitSelectedContent.test', graph=makeSimpleGraph())
  displayGraph (cw)
  redraw (cw)
  layoutNetwork(cw, 'jgraph-spring')
  setZoom (cw, 0.1)
  selectNodes (cw, 'A')
  fitSelectedContent (cw)
  setZoom (cw, 10.0)
  fitSelectedContent (cw)


Search within the RCytoscape package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.