R/shiny_app.R

Defines functions run_ViralHaplotyper_app

Documented in run_ViralHaplotyper_app

#' Runs the shiny app for this package
#' 
#' @export

run_ViralHaplotyper_app <- function(port = 5437){
  packageDir <- find.package('ViralHaplotyper')
  shinyAppDir <- file.path(packageDir, "www") 
  if (is.null(port)){
    runApp(shinyAppDir, host = "0.0.0.0")
  } else {
    runApp(shinyAppDir, port = port, host = "0.0.0.0")
  }
}
philliplab/ViralHaplotyper documentation built on May 25, 2019, 5:05 a.m.