R/analysis_app.R

Defines functions addin_30_analysis_app

Documented in addin_30_analysis_app

# Suppress CMD CHECK notes for things that look like global vars
utils::globalVariables(
  c('.rs.invokeShinyWindowViewer'))

#' Run the Analysis app
#'
#' Runs a Shiny app which will read a consolidated data file and
#' create aggregated statistics from it.
#' @export
addin_30_analysis_app = function() {
  opts = options(shiny.launch.browser = .rs.invokeShinyWindowViewer)
  on.exit(options(opts))
  shiny::runApp(system.file('analysis_app', package='phenoptrReports'))
}
akoyabio/phenoptrReports documentation built on Jan. 17, 2022, 6:22 p.m.