mc_network: Create Interactive Network Visualization
Description
Generates an interactive network visualization using visNetwork library. The visualization
includes interactive features for exploring model structure and relationships.
Usage
mc_network(
mcmodule,
variate = 1,
color_pal = NULL,
color_by = NULL,
legend = FALSE,
inputs = FALSE
)
Value
An interactive visNetwork object with features:
Highlighting of connected nodes
Node selection and filtering by module
Directional arrows showing relationships
Hierarchical layout
Draggable nodes
Arguments
- 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)
Examples
Run this code# \donttest{
network <- mc_network(mcmodule=imports_mcmodule)
# }
Run the code above in your browser using DataLab