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

PriceLab/RCyjs documentation built on May 10, 2019, 8:03 a.m.