R/launch_genoppi.R

Defines functions launch_genoppi

Documented in launch_genoppi

#' @title launch genoppi
#' @description launches genoppi in a seperte shiny application
#' @param local boolean. Launch locally on your machine or try connect to server (to be implemented)
#' @import shiny
#' @import shinydashboard
#' @export


launch_genoppi <- function(local=T) {
  appDir <- system.file("shiny-examples", "myapp", package = "genoppi")
  if (appDir == "") {
    stop("Could not find example directory. Try re-installing `genoppi`.", call. = FALSE)
  }
  shiny::runApp(appDir, display.mode = "normal")
}
lagelab/Genoppi documentation built on Oct. 13, 2022, 2:36 p.m.