MainPlotContainer: MainPlotContainer

View source: R/Container_MainPlotContainer.R

MainPlotContainerR Documentation

MainPlotContainer

Description

Module that contains most plotting devices in Metaboseek

Usage

MainPlotContainer(
  input,
  output,
  session,
  values = reactiveValues(projectData = NULL, featureTables = NULL, MSData = NULL,
    GlobalOpts = NULL)
)

MainPlotContainerUI(id)

Arguments

input

arguments necessary for use with callModule()

output

arguments necessary for use with callModule()

session

arguments necessary for use with callModule()

values

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

id

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

Value

The server module for this container returns nothing

Functions

  • MainPlotContainer: server logic module, to be called with callModule()

  • MainPlotContainerUI: returns the shiny UI elements for the Main plot box ("Data viewer"), including the box

MseekContainers

Containers are used to keep the code organised and can be characterized as Modules which contain other Modules, but do not contain add any functionality themselves. They should not contain any observers and are only here to pass values into modules, or provide ways for individual Modules to interact with each other.

See Also

values for a description of the values object

Examples

## Not run: 
ui <- function(request){
MseekContainerUI("Mseek")
}
server <- function(input, output, session) {
   callModule(MseekContainer, "Mseek")
}
Create Shiny app ----
shinyApp(ui, server)

## End(Not run)


mjhelf/METABOseek documentation built on April 27, 2022, 5:13 p.m.