addGraph,RCyjs-method {RCyjs} | R Documentation |
addGraph
send these nodes and edges (with attributes) to RCyjs for display
## S4 method for signature 'RCyjs' addGraph(obj, graph)
obj |
an RCyjs instance |
graph |
a graphNEL |
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.
nothing
if(interactive()){ rcy <- RCyjs(title="rcyjs demo", graph=g) g <- simpleDemoGraph() setGraph(rcy, g) }