coreOTUModule {PathoStat} | R Documentation |
This function provides the server logic for the Core OTU tab. This function
is not called directly; instead, it should be invoked within the Shiny app's
server function using the callModule
function.
See http://shiny.rstudio.com/articles/modules.html for information
about this design pattern.
coreOTUModule(input, output, session, pstat)
input |
Shiny server input object created by |
output |
Shiny server output object created by |
session |
Session created by |
pstat |
PathoStat object (third argument to |
The callModule
function should be invoked with this
function as the first argument. callModule
is responsible for creating
the namespaced input
, output
, and session
arguments.
The second argument to callModule
is the ID to be used for the
namespace and must match the id
argument provided to
coreOTUModuleUI. The third argument to callModule
should
be a PathoStat object from the app's server function, and is
passed to this function as the pstat
argument.
None
coreOTUModuleUI
for the UI function,
callModule
to see how to invoke this function, or
http://shiny.rstudio.com/articles/modules.html for more
information about Shiny modules.
# This function is not called directly; instead, it should be invoked within # the app's server function using the shiny::callModule function. ## Not run: shinyServer(function(input, output, session) { shinyInput <- getShinyInput() pstat <- shinyInput$pstat callModule( coreOTUModule, "coreOTUModule", pstat ) } ## End(Not run)