Description Usage Arguments Value Examples
View source: R/Import_module.R
Import data and build a GatingSet
Import module server function
1 2 3 |
id |
shiny id |
input |
shiny input |
output |
shiny output |
session |
shiny session |
rval |
a reactivevalues object (can be empty) |
The input reactivevalues object 'rval' with updated elements :
a named list with each element containing :
: a GatingSet objects
: the name of its parent GatingSet
selected GatingSet
Name of the selected GatingSet
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 27 28 29 | ## Not run:
library(shiny)
library(shinydashboard)
if (interactive()){
ui <- dashboardPage(
dashboardHeader(title = "Import"),
sidebar = dashboardSidebar(disable = TRUE),
body = dashboardBody(
fluidRow(
column(4, box(width = NULL, verbatimTextOutput("info"))),
column(8, box(width = NULL, ImportUI("module")))
)
)
)
server <- function(input, output, session) {
rval <- reactiveValues()
rval <- callModule(Import, "module", rval = rval)
output$info <- renderPrint({
print(rval$gating_set_list)
})
}
shinyApp(ui, server)
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.