addGraph: addGraph

Description Usage Arguments Details Value Examples

Description

addGraph send these nodes and edges (with attributes) to RCyjs for display

Usage

1
2
## S4 method for signature 'RCyjs'
addGraph(obj, graph)

Arguments

obj

an RCyjs instance

graph

a graphNEL

Details

This version transmits a graph (nodes, edges and attributes) to the browser by writing the data to a file, and sending that filename to be read in the browser by javascript.

Value

nothing

Examples

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

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