R/runExample.R

Defines functions runExample

Documented in runExample

#' Title
#'
#' @return
#' @export
#'
#' @examples
#'
runExample <- function() {
  appDir <- system.file("shiny-examples", "myapp", package = "GenomeTornadoPlot")
  if (appDir == "") {
    stop("Could not find example directory. Try re-installing `myshinyapp`.", call. = FALSE)
  }
  shiny::runApp(appDir, display.mode = "normal")
}
chenhong-dkfz/tornado.test.1 documentation built on Dec. 28, 2021, 7:28 p.m.