addGraphFromFile: addGraphFromFile

Description Usage Arguments Details Value Examples

Description

addGraphFromFile add graph from specified file, which contains a cytoscape.js JSON graph

Usage

1
2
## S4 method for signature 'RCyjs'
addGraphFromFile(obj, jsonFileName)

Arguments

obj

an RCyjs instance

jsonFileName

path to the file

Details

More description

Value

nothin

Examples

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)
  }

paul-shannon/RCyjs documentation built on May 28, 2019, 1:15 p.m.