setNodeOpacityDirect | R Documentation |
In the specified CytoscapeWindow, set the opacity of all aspectes of the specified node: fill color, border, label.
setNodeOpacityDirect(obj, node.names, new.value)
obj |
a CytoscapeWindowClass object. |
node.names |
one or more String objects. |
new.value |
a numeric object, ranging from 0 to 255. |
None.
Paul Shannon
setNodeFillOpacityDirect setNodeLabelOpacityDirect setNodeBorderOpacityDirect
cw <- new.CytoscapeWindow ('setNodeOpacityDirect.test', graph=makeSimpleGraph()) displayGraph (cw) redraw (cw) layoutNetwork (cw, 'jgraph-spring') setNodeOpacityDirect (cw, 'A', 220) redraw (cw)