R/run_flowR.R

Defines functions run_flowR

Documented in run_flowR

#' Run flowR GUI
#' @param modules names of shiny modules (server functions) to include in the GUI
#' @param shiny.maxRequestSize file size limit (in MB)
#' @import shiny
#' @export
run_flowR <- function(modules = NULL, shiny.maxRequestSize = 1000){
  
  options(shiny.maxRequestSize = shiny.maxRequestSize * 1024^2)
  
  app <- shinyApp(ui = flowR_ui(), 
           server = function(input, output, session){
             flowR_server(input = input,
                          output=output,
                          session = session,
                          modules = modules)}
           )
  
  runApp(app)
  
}
VoisinneG/flowR documentation built on June 1, 2021, 6:42 p.m.