heatmap_widget.R would include the function heatmap_widget() that would take a set of inputs and options and return a heatmap object. All helper scripts would be sourced by global.R and functions would be available for any module UI or server functions.
Note: not exactly sure if this is best practice, but can't find good examples of how to handle this.
For example:
heatmap_widget.R
would include the functionheatmap_widget()
that would take a set of inputs and options and return a heatmap object. All helper scripts would be sourced byglobal.R
and functions would be available for any module UI or server functions.Note: not exactly sure if this is best practice, but can't find good examples of how to handle this.