setBackgroundColor,RCyjs-method {RCyjs} | R Documentation |
setBackgroundColor
of the entire cytoscape.js div
## S4 method for signature 'RCyjs' setBackgroundColor(obj, newValue)
obj |
an RCyjs instance |
newValue |
a character string, any valid CSS color |
no return value
if(interactive()){ rcy <- RCyjs(title="rcyjs demo", graph=simpleDemoGraph()) setBackgroundColor(rcy, "lightblue") }