setNodeTooltipRule: setNodeTooltipRule

Description Usage Arguments Value Author(s) Examples

Description

Specify the node attribute to be used as the tooltip for each node. Non-character attributes are converted to strings before they are used as tooltips.

Usage

1
setNodeTooltipRule(obj, node.attribute.name)

Arguments

obj

a CytoscapeWindowClass object.

node.attribute.name

the node attribute whose values will determine the tooltip on each node when this rule is applied.

Value

None.

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())

  cw <- CytoscapeWindow ('setNodeTooltipRule.test', graph=makeSimpleGraph())
  displayGraph (cw)
  layoutNetwork (cw, 'force-directed')
  setNodeTooltipRule (cw, 'type')
  setNodeTooltipRule (cw, 'lfc')
  setNodeTooltipRule (cw, 'count')

## End(Not run)


Search within the RCy3 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.