moduleSurfacePlotServer | R Documentation |
Server of the surface plot module
moduleSurfacePlotServer( id, object, final_plot, reactive_object, highlighted = shiny::reactive(FALSE) )
id |
The namespace id. |
object |
A valid spata-object. |
final_plot |
The final plot that is to be displayed. (See details.). |
reactive_object |
A valid (reactive) spata-object. |
The argument final_plot
takes a ggplot object as input which is going to be displayed as the final plot. This allows to
adjust the output of $assembled_plot()
outside of the module. If no further adjustment is needed determine final_plot
as:
shiny::reactive(*module_return_variable*()$assembled_plot())
A reactive list with several slots:
$assembled_plot() The surface plot as a ggplot-object.
$dblclick() A list containing information regarding the double clicked position in the plot.
$current_setting() A list with information about the settings of assembled_plot
(e.g. sample, color_to, smooth, smoothing_span ...)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.