setEdgeTooltipRule: setEdgeTooltipRule

Description Usage Arguments Value Author(s) See Also 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, vizmap.style.name = 'default')

Arguments

obj

a CytoscapeWindowClass object.

edge.attribute.name

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

vizmap.style.name

visual style name, defaults to the style 'default'.

Value

None.

Author(s)

Tanja Muetze, Georgi Kolishovski, Paul Shannon

See Also

setEdgeTooltipDirect

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
  ## Not run: 
  # first, delete existing windows to save memory:
  deleteAllWindows(CytoscapeConnection())

  cw <- CytoscapeWindow ('setEdgeTooltipRule.test', graph=makeSimpleGraph())
  displayGraph (cw)
  layoutNetwork (cw, 'force-directed')
  setEdgeTooltipRule (cw, 'edgeType')

## End(Not run)

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