restoreLayout,RCyjs-method {RCyjs} | R Documentation

## restoreLayout

### Description

`restoreLayout` restore a previously-saved layout

### Usage

    ## 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

    if(interactive()){
       rcy <- RCyjs(title="rcyjs demo", graph=simpleDemoGraph())
       layout(rcy, "grid")
       saveLayout(rcy, filename="gridLayout.RData")
       layout(rcy, "circle")
       restoreLayout(rcy, "gridLayout.RData")
       }

[Package RCyjs version 2.2.2 Index]