Creates a formatted node table for visualization with visNetwork. Includes styling and formatting for network visualization.
visNetwork_nodes(
mcmodule,
variate = 1,
color_pal = NULL,
color_by = NULL,
inputs = FALSE
)A data frame formatted for visNetwork with columns:
id: Unique node identifier
color: Node color based on type/category
grouping: Module association
expression: Node expression or type
title: Hover text containing node details
An mcmodule object containing the network structure
Integer specifying which variate to extract (default: 1)
Custom color palette for nodes (optional)
Column name to determine node colors (optional)
Include non-node inputs: data-sets, data-frames and columns (optional)