deleteGraph,RCyjs-method {RCyjs} | R Documentation |
deleteGraph
Remove all nodes and edges, the elements of the current graph.
## S4 method for signature 'RCyjs' deleteGraph(obj)
obj |
RCyjs instance |
This method will remove any previous graph in the browser
nothing
if(interactive()){ sampleGraph <- simpleDemoGraph() rcy <- RCyjs(title="rcyjs demo", graph=sampleGraph) deletetGraph(rcy) }