Description Usage Arguments Value Author(s) Examples
Set the default color for the next CytoscapeWindow.
1 | setDefaultBackgroundColor(obj, new.color, vizmap.style.name)
|
obj |
a |
new.color |
a |
vizmap.style.name |
a |
A character string, a hexadecimal, e.g. #000000
Tanja Muetze, Georgi Kolishovski, Paul Shannon
1 2 3 4 5 6 7 8 9 | ## Not run:
# first, delete existing windows to save memory:
deleteAllWindows(CytoscapeConnection())
cw <- CytoscapeWindow ('setDefaultBackgroundColor.test', graph=makeSimpleGraph())
setDefaultBackgroundColor (cw, '#CCCC00')
cw2 <- CytoscapeWindow ('setDefaultBackgroundColor.test2', graph=makeSimpleGraph())
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.