| getJSON,RCyjs-method {RCyjs} | R Documentation |
getJSON a JSON string from the browser, describing the graph in cytoscape.js terms
## S4 method for signature 'RCyjs' getJSON(obj)
obj |
an RCyjs instance |
a JSON string
if(interactive()){
sampleGraph <- simpleDemoGraph()
rcy <- RCyjs(title="getJSON", graph=sampleGraph)
s <- getJSON(rcy)
s.asList <- fromJSON(s) # easier to inspect if you wish toa
}