R/launchApp.R

Defines functions launchApp

#' Launch App function
#'
#' @return
#' @export
#'
#' @examples
launchApp <- function(){
  appDir <- system.file("app", package = "Dcellerate")
  if (appDir == "") {
    stop("Could not find app Try re-installing `Dcellerate`.", call. = FALSE)
  }
  shiny::runApp(appDir, display.mode = "normal", port = 4800, launch.browser = FALSE)
}
BioData-PT/D-cellerate documentation built on May 10, 2024, 10:49 a.m.