R/runMsFeatureCmp.R

Defines functions runMsFeatureCmp

Documented in runMsFeatureCmp

# runMsFeatureCmp.R
# Package: msFeatureCmp
# Author: Yijia Chen
# Date: 2021-12-08
# Version: 0.1.0

# This file contains the point of entry for the shiny app.

#' Shiny app launcher
#'
#' Launches the shiny app for the package (msFeatureCmp). The shiny code is
#' located in \code{./inst/shiny-scripts}.
#'
#' @return Nothing. The shiny app is launched.
#'
#' @examples
#' \dontrun{
#' runMsFeatureCmp()
#' }
#'
#' @export
#' @import shiny
runMsFeatureCmp <- function() {
  appDir <- system.file("shiny-scripts", package = "msFeatureCmp")
  shiny::runApp(appDir, display.mode = "normal")
  return(invisible(NULL))
}

# [END]
ychen-uoft/msFeatureCmp documentation built on Dec. 23, 2021, 7:17 p.m.