Description Usage Arguments Value Examples
fitSelection
zoom in to include only currently selected nodes
1 2 | ## S4 method for signature 'RCyjs'
fitSelection(obj, padding = 30)
|
obj |
an RCyjs instance |
padding |
numeric, in pixels |
no return value
1 2 3 4 5 | if(interactive()){
rcy <- RCyjs(title="rcyjs demo", graph=simpleDemoGraph())
selectNodes(rcy, "A")
fitSelection(rcy, padding=100)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.