R/launchShinyApp.R

Defines functions launchShinyApp

launchShinyApp <-
function() {
    appDir <- system.file("shinyapp", package = "xMWAS")
    if (appDir == "") {
        stop("Could not find shinyapp directory. Try re-installing `xMWAS`.", call. = FALSE)
    }
    
    shiny::runApp(appDir, display.mode = "normal")
}
kuppal2/xMWAS documentation built on April 15, 2021, 5:47 a.m.