setBackgroundColor: setBackgroundColor

Description Usage Arguments Value Examples

Description

setBackgroundColor of the entire cytoscape.js div

Usage

1
2
## S4 method for signature 'RCyjs'
setBackgroundColor(obj, newValue)

Arguments

obj

an RCyjs instance

newValue

a character string, any valid CSS color

Value

no return value

Examples

1
2
3
4
if(interactive()){
   rcy <- RCyjs(title="rcyjs demo", graph=simpleDemoGraph())
   setBackgroundColor(rcy, "lightblue")
   }

paul-shannon/RCyjs documentation built on May 28, 2019, 1:15 p.m.