Skip to contents

Server-side logic for the density plot module. This function manages reactive data processing, dynamic UI generation for color palettes, and the rendering of interactive Plotly density plots.

Usage

plotthis_DensityPlotServer(
  id,
  data,
  hide.inputs = NULL,
  hide.tabs = NULL,
  defaults = NULL
)

Arguments

id

character unique ID for the shiny namespace.

data

reactive A reactive expression returning a data frame to be plotted.

hide.inputs

character vector of input IDs to hide in the UI. Default is NULL.

hide.tabs

character vector of tab names to hide within the module. Default is NULL.

defaults

A named list of default values for the inputs. When the reset button is clicked, inputs are reset to these values rather than hardcoded fallbacks. Typically the same list passed to the corresponding UI function.

Value

The moduleServer function for the DensityPlot module.

Author

Jacob Martin, Jared Andrews