View source: R/Module_LoadDataModule.R
LoadDataModule | R Documentation |
Container Module for loading a Project Folder, MS data, or feature Tables. TODO: transition to Container format/naming
LoadDataModule( input, output, session, values = reactiveValues(projectData = NULL, featureTables = NULL, MSData = NULL, GlobalOpts = NULL) ) LoadDataModuleUI(id)
input |
arguments necessary for use with |
output |
arguments necessary for use with |
session |
arguments necessary for use with |
values |
a |
id |
id to be used to define a namespace via |
returns its internalValues
LoadDataModule
: server logic
LoadDataModuleUI
: UI elements
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.
values
for a description of the values
object
General Information: MseekContainers
Specific containers: MseekContainer
, MainPageContainer
More on Shiny modules: http://shiny.rstudio.com/articles/modules.html
## Not run: library(shiny) ui <- MseekMinimalUI(SelectProjectFolderModuleUI("examplemodule"), diagnostics = T) server <- function(input, output) { MseekMinimalServer(diagnostics = T, data = F, tables = F) ExampleModule <- callModule(SelectProjectFolderModule, "examplemodule", values) } # Create Shiny app ---- shinyApp(ui, server) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.