View source: R/dplot3_graphd3.R
dplot3_graphd3 | R Documentation |
Plot graph using networkD3
dplot3_graphd3(
net,
groups = NULL,
color.scale = NULL,
edge.col = NULL,
node.col = NULL,
node.alpha = 0.5,
edge.alpha = 0.33,
zoom = TRUE,
legend = FALSE,
palette = rtPalette,
theme = rtTheme,
...
)
net |
igraph network |
groups |
Vector, length n nodes indicating group/cluster/community membership of nodes in
|
color.scale |
D3 colorscale (e.g. |
edge.col |
Color for edges |
node.col |
Color for nodes |
node.alpha |
Float [0, 1]: Node opacity. Default = .5 |
edge.alpha |
Float [0, 1]: Edge opacity. Default = .33 |
zoom |
Logical: If TRUE, graph is zoomable. Default = TRUE |
legend |
Logical: If TRUE, display legend for groups |
palette |
Vector of colors, or Character defining a builtin palette - get options with
|
theme |
rtemis theme to use |
... |
Additional arguments to pass to |
E.D. Gennatas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.