setZoom,RCyjs-method {RCyjs} | R Documentation |
setZoom
zoom in or out
## S4 method for signature 'RCyjs' setZoom(obj, newValue)
obj |
an RCyjs instance |
newValue |
numeric, typically be 0.1 (zoomed way out, nodes are small) and 10 (zoomed way in, nodes are large) |
no return value
if(interactive()){ rcy <- RCyjs(title="rcyjs demo", graph=simpleDemoGraph()) setZoom(rcy, 0.2) Sys.sleep(1) setZoom(rcy, 5) }