Description Usage Arguments Value Author(s) Examples
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.
1 | setNodeTooltipRule(obj, node.attribute.name)
|
obj |
a |
node.attribute.name |
the node attribute whose values will, when this rule is applied, determine the tooltip on each node. |
None.
Paul Shannon
1 2 3 4 5 6 7 | cw <- new.CytoscapeWindow ('setNodeTooltipRule.test', graph=makeSimpleGraph())
displayGraph (cw)
layoutNetwork(cw, 'jgraph-spring')
redraw (cw)
setNodeTooltipRule (cw, 'type')
setNodeTooltipRule (cw, 'lfc')
setNodeTooltipRule (cw, 'count')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.