fitSelection,RCyjs-method {RCyjs} | R Documentation |
fitSelection
zoom in to include only currently selected nodes
## S4 method for signature 'RCyjs' fitSelection(obj, padding = 30)
obj |
an RCyjs instance |
padding |
numeric, in pixels |
no return value
if(interactive()){ rcy <- RCyjs(title="rcyjs demo", graph=simpleDemoGraph()) selectNodes(rcy, "A") fitSelection(rcy, padding=100) }