fitSelection: fitSelection

Description Usage Arguments Value Examples

Description

fitSelection zoom in to include only currently selected nodes

Usage

1
2
## S4 method for signature 'RCyjs'
fitSelection(obj, padding = 30)

Arguments

obj

an RCyjs instance

padding

numeric, in pixels

Value

no return value

Examples

1
2
3
4
5
if(interactive()){
   rcy <- RCyjs(title="rcyjs demo", graph=simpleDemoGraph())
   selectNodes(rcy, "A")
   fitSelection(rcy, padding=100)
   }

RCyjs documentation built on Nov. 8, 2020, 8:20 p.m.