shinyModuleZoomingServer: Shiny module _Zooming_

View source: R/shinyModules.R

shinyModuleZoomingServerR Documentation

Shiny module Zooming

Description

The server logical for shiny module Zooming.

Usage

shinyModuleZoomingServer(
  id = "m1",
  default = list(),
  brushed_area = NULL,
  dims = NULL,
  persp = "ccs",
  trigger_zoom_out = NULL,
  ...
)

shinyModuleZoomingUI(id = "m1")

Arguments

id

Character value. ID of the module.

brushed_area

Reactive expression which, if called with ⁠<reactiveExpression>()⁠ returns a list of four slots named xmin, xmax, ymin and ymax each being a numeric value.

dims

Image dimensions of the original, complete image during zooming.

...

Used to absorb deprecated arguments or functions.

object

An object for which a method for getImageRange() is defined.

Value

A reactive expression which, if called with ⁠<reactiveExpression>()⁠ returns a list of three slots:

  • x: Numeric vector of length two corresponding to the xrange of the zoom.

  • y: Numeric vector of length two corresponging to the yrange of the zoom.

  • dims: Numeric vector of length two. The dimensions of the image that was zoomed in on.


theMILOlab/SPATA2 documentation built on Feb. 8, 2025, 11:41 p.m.