toCytoscape: Convert igraph to Cytoscape JSON

Description Usage Arguments Value Note Examples

View source: R/toCytoscape.R

Description

Convert igraph to Cytoscape JSON

Usage

1
toCytoscape(igraphobj)

Arguments

igraphobj

an igraph object

Value

a JSON object

Note

From https://github.com/idekerlab/cy-rest-R/blob/17f748426bb5e48ba4075b9d97318ad582b250da/utility/cytoscape_util.R

Examples

1
2
3
library(igraph)
g <- barabasi.game(20) 
json <- toCytoscape(g)

cannin/paxtoolsr documentation built on Oct. 5, 2018, 11:23 p.m.