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