addGraphFromFile,RCyjs-method {RCyjs} | R Documentation |
addGraphFromFile
add graph from specified file, which contains a cytoscape.js JSON graph
## S4 method for signature 'RCyjs' addGraphFromFile(obj, jsonFileName)
obj |
an RCyjs instance |
jsonFileName |
path to the file |
More description
nothin
if(interactive()){ rcy <- RCyjs() filename <- system.file(package="RCyjs", "extdata", "sampleGraph.json") addGraphFromFile(rcy, filename) layout(rcy, "cose") fit(rcy, 200) }