R/runMotifFunc.R

Defines functions runMotifFunc

Documented in runMotifFunc

#' Launch the shiny app for package MotifFunc
#'
#' A function that launches the shiny app for this package.
#' The code has been placed in \code{./inst/shiny-scripts}.
#'
#' @return No return value but open up a shiny page.
#'
#' @examples
#' \dontrun{
#' runMotifFunc()
#' }
#'
#' @export
#' @importFrom shiny runApp

runMotifFunc <- function() {
  appDir <- system.file("shiny-scripts",
                        package = "MotifFunc")
  shiny::runApp(appDir, display.mode = "normal")
  return()
}
# [END]
minhanho/MotifFunc documentation built on Dec. 8, 2019, 1:46 p.m.