Description Usage Arguments Value See Also Examples
restoreLayout
restore a previously-saved layout
1 2 | ## S4 method for signature 'RCyjs'
restoreLayout(obj, filename = "layout.RData")
|
obj |
an RCyjs instance |
filename |
a character string, default "layout.RData" |
no return value
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")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.