Description Usage Arguments Details See Also
This function helps to apply an existing style to particular network in a Cytoscape session, with the use of the cyREST plugin.
1 | applyStyle(style.name, network.suid, port.number = 1234)
|
style.name |
The name of the existing style |
network.suid |
The network ID in the cytoscape session |
port.number |
The local port number used by cyREST plugin to communicate with Cytoscape |
The style must exist in the Cytoscape session. This function is already included in addGraphToCytoscape().
addGraphToCytoscape
, addNetworkStyle
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.