Creates a formatted node table for visualisation with visNetwork. Includes styling and formatting for interactive network display.
visNetwork_nodes(
mcmodule,
variate = 1,
color_pal = NULL,
color_by = NULL,
inputs = FALSE
)A data frame formatted for visNetwork with columns: id, label, color, grouping, expression, and title (hover text).
(mcmodule object). Module containing network structure.
(integer). Which variate to extract. Default: 1.
(character vector, optional). Custom colour palette for nodes. Default: NULL.
(character, optional). Column name to determine node colours. Default: NULL.
(logical). If TRUE, include non-node inputs. Default: FALSE.