toCytoscape: Convert igraph to Cytoscape JSON

toCytoscapeR Documentation

Convert igraph to Cytoscape JSON

Description

Convert igraph to Cytoscape JSON

Usage

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

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


cannin/paxtoolsr documentation built on Feb. 2, 2023, 11:44 a.m.