Description Usage Arguments Value Author(s) Examples
Specify the edge attribute to be used as the label displayed on each edge. Non-character attributes are converted to strings before they are used.
1 | setEdgeLabelRule(obj, edge.attribute.name)
|
obj |
a |
edge.attribute.name |
the edge attribute whose values will, when this rule is applied, determine the edgeLabel on each edge. |
None.
Paul Shannon
1 2 3 4 5 | cw <- new.CytoscapeWindow ('setEdgeLabelRule.test', graph=makeSimpleGraph())
displayGraph (cw)
layoutNetwork(cw, 'jgraph-spring')
redraw (cw)
setEdgeLabelRule (cw, 'edgeType')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.