setEdgeTooltipRule: setEdgeTooltipRule

Description Usage Arguments Value Author(s) Examples

Description

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

Usage

1
setEdgeTooltipRule(obj, edge.attribute.name)

Arguments

obj

a CytoscapeWindowClass object.

edge.attribute.name

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

Value

None.

Author(s)

Paul Shannon

Examples

1
2
3
4
5
  cw <- new.CytoscapeWindow ('setEdgeTooltipRule.test', graph=makeSimpleGraph())
  displayGraph (cw)
  layoutNetwork(cw, 'jgraph-spring')
  redraw (cw)
  setEdgeTooltipRule (cw, 'edgeType')

RCytoscape documentation built on Nov. 17, 2017, 10:52 a.m.