createNetworkFromCytoscapejs | R Documentation |
Create a network from CytoscapeJS JSON
createNetworkFromCytoscapejs(
cytoscapejs,
title = NULL,
collection = "My CytoscapeJS Network Collection",
base.url = .defaultBaseUrl
)
cytoscapejs |
network (nodes, edges, attributes, node positions and metadata) in CytoscapeJS format |
title |
network name (NULL means use the name in cytoscapejs) |
collection |
collection name (NULL means create an unnamed collection) |
base.url |
(optional) Ignore unless you need to specify a custom domain, port or version to connect to the CyREST API. Default is http://localhost:1234 and the latest version of the CyREST API supported by this version of RCy3. |
The SUID of the new network
createNetworkFromCytoscapejs()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.