Description Usage Arguments Value Examples
Any recognised cytoscape style option can be passed to the node style. For available options see the cytoscape documentation.
1 |
cytoscape |
object |
... |
additional parameters passed to the style node object |
ctytoscape object
1 2 3 4 | nodes <- data.frame(id = c('a','b'))
edges <- data.frame(id = 'ab', source = 'a', target = 'b')
cytoscape(nodes = nodes, edges = edges) %>% node_style('background-color' = '#ff0000')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.