Description Usage Arguments Value Author(s) Examples
Retrieve the default color used to display selected nodes.
1 | setDefaultNodeSelectionColor(obj, new.color, vizmap.style.name)
|
obj |
a |
new.color |
a |
vizmap.style.name |
a |
Nothing.
Tanja Muetze, Georgi Kolishovski, Paul Shannon
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
# first, delete existing windows to save memory:
deleteAllWindows(CytoscapeConnection())
cw <- CytoscapeWindow ("demo.setDefaultNodeSelectionColor", graph=makeSimpleGraph ())
displayGraph (cw)
layoutNetwork (cw, 'force-directed')
setDefaultNodeSelectionColor (cw, '##FFFF00') # yellow
# redraw (cw) --> not required anymore
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.