toCytoscape: Convert igraph to Cytoscape JSON

Description Usage Arguments Value Note Examples

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)

paxtoolsr documentation built on Nov. 8, 2020, 8:29 p.m.