deleteGraph: deleteGraph

Description Usage Arguments Details Value See Also Examples

Description

deleteGraph Remove all nodes and edges, the elements of the current graph.

Usage

1
2
## S4 method for signature 'RCyjs'
deleteGraph(obj)

Arguments

obj

RCyjs instance

Details

This method will remove any previous graph in the browser

Value

nothing

See Also

addGraph setGraph

Examples

1
2
3
4
5
if(interactive()){
  sampleGraph <- simpleDemoGraph()
  rcy <- RCyjs(title="rcyjs demo", graph=sampleGraph)
  deletetGraph(rcy)
  }

paul-shannon/RCyjs documentation built on May 28, 2019, 1:15 p.m.