Description Usage Arguments Value Author(s) See Also Examples
In the specified CytoscapeWindow, set the opacity of all aspectes of the specified node(s): fill color, border, label.
1 | setNodeOpacityDirect(obj, node.names, new.values)
|
obj |
a |
node.names |
one or more |
new.values |
one or more |
None.
Tanja Muetze, Georgi Kolishovski, Paul Shannon
setNodeFillOpacityDirect setNodeLabelOpacityDirect setNodeBorderOpacityDirect
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
# first, delete existing windows to save memory:
deleteAllWindows(CytoscapeConnection())
cw <- CytoscapeWindow ('setNodeOpacityDirect.test', graph=makeSimpleGraph())
displayGraph (cw)
layoutNetwork (cw, 'force-directed')
setDefaultNodeBorderWidth (cw, 4)
setDefaultNodeBorderColor(cw, '#0000FF')
setNodeOpacityDirect (cw, 'A', 20)
setNodeOpacityDirect (cw, c('B', 'C'), c(111, 133))
setNodeOpacityDirect (cw, c('B', 'C'), 10)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.