ModulesUI: Search, select and load modules

Description Usage Arguments Value Examples

View source: R/Modules_module.R

Description

Search, select and load modules

server function for the shiny module Modules

Usage

1
2
3
ModulesUI(id)

Modules(input, output, session, rval)

Arguments

id

shiny id

input

shiny input

output

shiny output

session

shiny session

rval

reactivevalues object with the following elements :

gating_set

: a GatingSet object

modules

: Names of pre-selected modules

Value

The input reactivevalues object 'rval' with updated elements :

modules

: names of selected modules

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
## Not run: 
library(shiny)
library(shinydashboard)
library(flowR)
library(DT)

if (interactive()){
  
  ui <- dashboardPage(
    dashboardHeader(title = "Modules"),
    sidebar = dashboardSidebar(disable = TRUE),
    body = dashboardBody(
      ModulesUI("module")
    )
  )
  
  server <- function(input, output, session) {
    rval <- reactiveValues(modules = c("Import"))
    rval <- callModule(Modules, "module", rval = rval)
  }
  
  shinyApp(ui, server)
  
}

## End(Not run)

VoisinneG/flowR documentation built on June 1, 2021, 6:42 p.m.