R/bioViewer.R

#' Shiny app to look at pain biomarker dataset
#'
#' @return shiny app
#' @export
bioViewer  <- function() {
  appDir <- system.file("Shiny-apps", package = "painBiomarkR")
  if (appDir == "") {
    stop("Could not find example directory. Try re-installing `painBiomarkR`.", call. = FALSE)
  }

  shiny::runApp(appDir, display.mode = "normal")
}
jonotuke/painBiomarkR documentation built on May 13, 2019, 3:01 a.m.