R/runApp.R

Defines functions launchApp

Documented in launchApp

#' Launch ChromSCape
#'
#' Main function to launch ChromSCape in your favorite browser. You can pass
#' additional parameters that you would pass to shiny::runApp
#' (\code{\link[shiny]{runApp}})
#'
#' @param launch.browser Wether to launch browser or not
#' @param ... Additional parameters passed to \code{\link[shiny]{runApp}}
#'
#' @return Launches the shiny application
#' @import shiny
#'
#' @export
#'
#' @examples
#' \donttest{
#' launchApp()
#' }
launchApp <- function(launch.browser=TRUE, ...){
    source(file.path(system.file(package="ChromSCape"),
                "Module_preprocessing_filtering_and_reduction.R"),)
    shiny::runApp(system.file(package="ChromSCape"),launch.browser = TRUE, ...)
}

Try the ChromSCape package in your browser

Any scripts or data that you put into this service are public.

ChromSCape documentation built on Nov. 8, 2020, 6:57 p.m.