Description Usage Arguments Details Value See Also Examples
deleteGraph
Remove all nodes and edges, the elements of the current graph.
1 2 | ## S4 method for signature 'RCyjs'
deleteGraph(obj)
|
obj |
RCyjs instance |
This method will remove any previous graph in the browser
nothing
1 2 3 4 5 | if(interactive()){
sampleGraph <- simpleDemoGraph()
rcy <- RCyjs(title="rcyjs demo", graph=sampleGraph)
deletetGraph(rcy)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.