Description Usage Arguments Details Value Examples
addGraphFromFile
add graph from specified file, which contains a cytoscape.js JSON graph
1 2 | ## S4 method for signature 'RCyjs'
addGraphFromFile(obj, jsonFileName)
|
obj |
an RCyjs instance |
jsonFileName |
path to the file |
More description
nothin
1 2 3 4 5 6 7 | if(interactive()){
rcy <- RCyjs()
filename <- system.file(package="RCyjs", "extdata", "sampleGraph.json")
addGraphFromFile(rcy, filename)
layout(rcy, "cose")
fit(rcy, 200)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.