Description Usage Arguments Value Note Examples
Convert igraph to Cytoscape JSON
1 | toCytoscape(igraphobj)
|
igraphobj |
an igraph object |
a JSON object
From https://github.com/idekerlab/cy-rest-R/blob/17f748426bb5e48ba4075b9d97318ad582b250da/utility/cytoscape_util.R
1 2 3 | library(igraph)
g <- barabasi.game(20)
json <- toCytoscape(g)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.