moduleSurfacePlotServer: Server of the surface plot module

View source: R/m.R

moduleSurfacePlotServerR Documentation

Server of the surface plot module

Description

Server of the surface plot module

Usage

moduleSurfacePlotServer(
  id,
  object,
  final_plot,
  reactive_object,
  highlighted = shiny::reactive(FALSE)
)

Arguments

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.

Details

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())

Value

A reactive list with several slots:

  1. $assembled_plot() The surface plot as a ggplot-object.

  2. $dblclick() A list containing information regarding the double clicked position in the plot.

  3. $current_setting() A list with information about the settings of assembled_plot (e.g. sample, color_to, smooth, smoothing_span ...)


kueckelj/SPATA2 documentation built on March 16, 2024, 10:25 a.m.