Description Usage Arguments Examples
Cytoscape Network Chart
1 2 3 |
df |
data.frame or tibble |
nodes |
data.frame or tibble |
edges |
data.frame or tibble |
json |
pass single json object. This option over-rules all others. |
id |
character column name where df used |
source |
character column name where df used |
target |
character column name where df used |
elementId |
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.