Description Usage Arguments Value Examples
getJSON
a JSON string from the browser, describing the graph in cytoscape.js terms
1 2 | ## S4 method for signature 'RCyjs'
getJSON(obj)
|
obj |
an RCyjs instance |
a JSON string
1 2 3 4 5 6 | if(interactive()){
sampleGraph <- simpleDemoGraph()
rcy <- RCyjs(title="getJSON", graph=sampleGraph)
s <- getJSON(rcy)
s.asList <- fromJSON(s) # easier to inspect if you wish toa
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.