Starts an interactive dashboard for analyzing Mapper constructions using Shiny.
dashboard(M, X, node_color_f = "default", dash_config = list(node_min = 5L, node_max = 10L))
M | MapperRef object. |
---|---|
X | data.frame to display in an interactive table. See details. |
node_color_f | Named list of color functions. See details. |
dash_config | Dashboard configuration. See details. |
WARNING: THIS APP IS EXPERIMENTAL
The data.frame supplied by the X
argument is displayed in an interactive table in the dashboard.
Supplying the original data as a data.frame with named columns may be helpful in situations where the actual X
mapper was constructed with required
preprocessing (such as feature scaling), whereas the original, unprocessed data.frame is better suited for direct analysis.
If supplied, node_color_f
must be a named list of functions which accepts as input a MapperRef object as the M
argument and returns as output a vector of numerical values, one per vertex.
These values are automatically converted to color hex codes based on the current palette. If node_color_f
isn't supplied, a few default color functions are supplied.