restoreLayout: restoreLayout

Description Usage Arguments Value See Also Examples

Description

restoreLayout restore a previously-saved layout

Usage

1
2
## S4 method for signature 'RCyjs'
restoreLayout(obj, filename = "layout.RData")

Arguments

obj

an RCyjs instance

filename

a character string, default "layout.RData"

Value

no return value

See Also

saveLayout

Examples

1
2
3
4
5
6
7
if(interactive()){
   rcy <- RCyjs(title="rcyjs demo", graph=simpleDemoGraph())
   layout(rcy, "grid")
   saveLayout(rcy, filename="gridLayout.RData")
   layout(rcy, "circle")
   restoreLayout(rcy, "gridLayout.RData")
   }

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