| mc_network | R Documentation |
Generates an interactive network visualization using visNetwork library. The visualization includes interactive features for exploring model structure and relationships.
mc_network(
mcmodule,
variate = 1,
color_pal = NULL,
color_by = NULL,
legend = FALSE,
inputs = FALSE
)
mcmodule |
An mcmodule object |
variate |
Integer specifying which variate to visualize (default: 1) |
color_pal |
Custom color palette for nodes (optional) |
color_by |
Column name to determine node colors (optional) |
legend |
Show colors legend (optional) |
inputs |
Show non-node inputs: data-sets, data-frames and columns (optional) |
An interactive visNetwork object with features:
Highlighting of connected nodes
Node selection and filtering by module
Directional arrows showing relationships
Hierarchical layout
Draggable nodes
network <- mc_network(mcmodule=imports_mcmodule)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.