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

RCyjs documentation built on Nov. 8, 2020, 8:20 p.m.