Description Usage Arguments Details Value See Also Examples
View source: R/createNetworkFromIgraph.R
Takes an igraph network and generates data frames for nodes and edges to send to the createNetwork function. Returns the network.suid and applies the perferred layout set in Cytoscape preferences.
1 2 3 | createNetworkFromIgraph(igraph, network.name = "MyNetwork",
collection.name = "myNetworkCollection",
base.url = "http://localhost:1234/v1", ...)
|
igraph |
(igraph) igraph network object |
network.name |
(char) network name |
collection.name |
(char) network collection name |
base.url |
cyrest base url for communicating with cytoscape |
... |
params for nodeSet2JSON() and edgeSet2JSON(); see createNetwork |
Vertices and edges from the igraph network will be translated into nodes and edges in Cytoscape. Associated attributes will also be passed to Cytoscape as node and edge table columns.
(int) network SUID
createNetwork, createIgraphFromNetwork
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.