Description Usage Arguments Value Author(s) See Also Examples
In the specified CytoscapeWindow, set the tooltips of the specified edge or edges.
1  | setEdgeTooltipDirect(obj, edge.names, new.values)
 | 
obj | 
 a   | 
edge.names | 
 one or more cy2-style edge names,   | 
new.values | 
 one or more   | 
None.
Tanja Muetze, Georgi Kolishovski, Paul Shannon
setEdgeTooltipRule
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19  |   ## Not run: 
  # first, delete existing windows to save memory:
  deleteAllWindows(CytoscapeConnection())
  cw <- CytoscapeWindow ('setEdgeTooltipDirect.test', graph=makeSimpleGraph())
  displayGraph (cw)
  layoutNetwork (cw, 'force-directed')
  edges.of.interest <- as.character (cy2.edge.names (cw@graph))
    # first try passing three edges and three tooltips
  setEdgeTooltipDirect (cw, edges.of.interest, c ('tooltip #1', 'tooltip #2', 'tooltip #3'))
    # now try passing three edges and one tooltip
  setEdgeTooltipDirect (cw, edges.of.interest, 'a general purpose tooltip')
  setEdgeTooltipDirect (cw, edges.of.interest, '')
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.