Description Usage Arguments Value Author(s) See Also Examples
In the specified CytoscapeWindow, set the labels of the specified nodes.
1 | setNodeLabelDirect(obj, node.names, new.labels)
|
obj |
a |
node.names |
one or more |
new.labels |
one or more |
None.
Paul Shannon
setNodeShapeDirect
1 2 3 4 5 6 | cw <- new.CytoscapeWindow ('setNodeLabelDirect.test', graph=makeSimpleGraph())
displayGraph (cw)
redraw (cw)
layoutNetwork(cw, 'jgraph-spring')
setNodeLabelDirect (cw, 'A', 'A new, very long label')
redraw (cw)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.