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