Description Usage Arguments Value Author(s) See Also Examples
In the specified CytoscapeWindow, set the color of the specified node or nodes. This method bypasses the vizmap and excludes this node, for the duration of the current Cytoscape session, from further manipulation by vizmap color rules.
1 | setNodeColorDirect(obj, node.names, new.colors)
|
obj |
a |
node.names |
a |
new.colors |
an |
None.
Tanja Muetze, Georgi Kolishovski, Paul Shannon
setNodeColorRule setNodeBorderColorDirect setNodeBorderOpacityDirect setNodeBorderWidthDirect setNodeColorDirect setNodeFillOpacityDirect setNodeFontSizeDirect setNodeHeightDirect setNodeImageDirect setNodeLabelColorDirect setNodeLabelDirect setNodeLabelOpacityDirect setNodeOpacityDirect setNodeShapeDirect setNodeSizeDirect setNodeWidthDirect
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
# first, delete existing windows to save memory:
deleteAllWindows(CytoscapeConnection())
cw <- CytoscapeWindow ('setNodeColorDirect.test', graph=makeSimpleGraph())
displayGraph (cw)
layoutNetwork (cw, 'force-directed')
setNodeColorDirect (cw, 'A', '#880000')
setNodeColorDirect (cw, c('A', 'C'), c('#88FF00', '#880000'))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.