Description Usage Arguments Details Value Examples
addGraph
send these nodes and edges (with attributes) to RCyjs for display
1 2 | ## 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
1 2 3 4 5 | if(interactive()){
rcy <- RCyjs(title="rcyjs demo", graph=g)
g <- simpleDemoGraph()
setGraph(rcy, g)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.