Description Usage Arguments Value Author(s) See Also Examples
In the specified CytoscapeWindow, set the labels of the specified node(s).
1 | setNodeLabelDirect(obj, node.names, new.labels)
|
obj |
a |
node.names |
one or more |
new.labels |
one or more |
None.
Tanja Muetze, Georgi Kolishovski, Paul Shannon
setNodeBorderColorDirect setNodeBorderOpacityDirect setNodeBorderWidthDirect setNodeColorDirect setNodeFillOpacityDirect setNodeFontSizeDirect setNodeHeightDirect setNodeImageDirect setNodeLabelColorDirect setNodeLabelOpacityDirect setNodeOpacityDirect setNodeShapeDirect setNodeSizeDirect setNodeWidthDirect
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
# first, delete existing windows to save memory:
deleteAllWindows(CytoscapeConnection())
cw <- CytoscapeWindow ('setNodeLabelDirect.test', graph=makeSimpleGraph())
displayGraph (cw)
layoutNetwork (cw, 'force-directed')
setNodeLabelDirect (cw, 'A', 'A new, very long label')
setNodeLabelDirect (cw, c('B', 'C'), 'Some node')
setNodeLabelDirect (cw, c('B', 'C'), c('node B', 'node C'))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.