R/run_MicrobiomeProfiler.R

Defines functions run_MicrobiomeProfiler

Documented in run_MicrobiomeProfiler

#' Run the Shiny Application
#'
#' @param ... arguments to pass to golem_opts.
#' See `?golem::get_golem_options` for more details.
#' @inheritParams shiny::shinyApp
#'
#' @importFrom shiny shinyApp
#' @importFrom golem with_golem_options
#' @return Shiny application object.
#' @export
#' @examples
#' if (interactive()) {run_MicrobiomeProfiler()}
run_MicrobiomeProfiler <- function(
  onStart = NULL,
  options = list(),
  enableBookmarking = NULL,
  uiPattern = "/",
  ...
) {
  with_golem_options(
    app = shinyApp(
      ui = app_ui,
      server = app_server,
      onStart = onStart,
      options = options,
      enableBookmarking = enableBookmarking,
      uiPattern = uiPattern
    ),
    golem_opts = list(...)
  )
}
YuLab-SMU/MicrobiomeProfiler documentation built on May 16, 2024, 7:11 p.m.