View source: R/Documentation_templates.R
MseekModules | R Documentation |
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()
.
MseekModules(input, output, session, values, reactives, static, keys, ...) MseekModulesUI(id)
input, output, session |
arguments necessary for use with
|
values |
a |
reactives |
a list, wrapped in a |
static |
a list of arguments that are not in a reactive context and hence do not change while the app is running. |
keys |
|
... |
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 |
If the server module for this Module returns something,
it is described in Details
.
MseekModules
: generic server logic example for MseekModules
MseekModulesUI
: generic UI example for MseekModules
values
for a description of the values
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.