MseekModules: MseekModules

View source: R/Documentation_templates.R

MseekModulesR Documentation

MseekModules

Description

Regular modules in Metaboseek take a shiny::reactiveValues object called values as their first argument. values is the primary interface allowing communication between modules and is generated by MseekMinimalServer(). Modules expect this input to work properly, and will only work in shiny apps that provide the proper environment set up by MseekMinimalServer().

Usage

MseekModules(input, output, session, values, reactives, static, keys, ...)

MseekModulesUI(id)

Arguments

input, output, session

arguments necessary for use with callModule()

values

a reactiveValues object that in effect gives read and write access to external objects

reactives

a list, wrapped in a reactive() expression with settings for this module. See details.

static

a list of arguments that are not in a reactive context and hence do not change while the app is running.

keys

reactive({}) that reports the current key press. This argument is deprecated and will be removed from all modules.

...

additional arguments, as defined for the individual module. For example: constant layout options depending on the context that this module is used in

id

id to be used to define a namespace via NS() (must match id in callModule for the server Module)

Value

If the server module for this Module returns something, it is described in Details.

Functions

  • MseekModules: generic server logic example for MseekModules

  • MseekModulesUI: generic UI example for MseekModules

See Also

values for a description of the values object


mjhelf/Mosaic documentation built on April 28, 2022, 11:32 a.m.