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)
  }

RCyjs documentation built on Nov. 8, 2020, 8:20 p.m.