WelcomePageModule: WelcomePageModule

View source: R/Module_WelcomePageModule.R

WelcomePageModuleR Documentation

WelcomePageModule

Description

Start page module, shows update news and allows loading of data.

Usage

WelcomePageModule(
  input,
  output,
  session,
  values = reactiveValues(projectData = values$projectData, featureTables =
    values$featureTables, MSData = values$MSData, GlobalOpts = values$GlobalOpts),
  show = reactive({     TRUE })
)

WelcomePageModuleUI(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

show

a reactive(), if show() is TRUE, will show update news

id

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

Value

Returns nothing

Functions

  • WelcomePageModule: Server logic

  • WelcomePageModuleUI: UI elements

See Also

values for a description of the values object

Examples

## Not run: 
library(shiny)

ui <- MseekMinimalUI(WelcomePageModuleUI("examplemodule"), diagnostics = T)

server <- function(input, output, session) {
  MseekMinimalServer(diagnostics = T, data = F, tables = F)
  
  ExampleModule <- callModule(WelcomePageModule, "examplemodule", values)
}

# Run Shiny app
shinyApp(ui, server)

## End(Not run)


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