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")
   }

PriceLab/RCyjs documentation built on May 10, 2019, 8:03 a.m.