R/shiny_encode.R

Defines functions shinyEncode

Documented in shinyEncode

#' Launch a shiny interface for ENCODExplorer
#'
#' @return None
#'
#' @examples
#'  \dontrun{shinyEncode}
#'
#' @export
shinyEncode <- function(){
  if(!(requireNamespace("shiny") && 
       requireNamespace("shinythemes") &&
       requireNamespace("DT"))) {
    stop("shinyEncode requires the shiny, shinythemes and DT packages.\n",
         'Please install the packages by running ',
         'install.packages(c("shiny", "shinyThemes", "DT")) and try again.')
  }

  source(file = system.file("shiny/ui.R", package = "ENCODExplorer"))
  source(file = system.file("shiny/server.R", package = "ENCODExplorer"))
    shiny::runApp(appDir = shiny::shinyApp(ui,server))
}

Try the ENCODExplorer package in your browser

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

ENCODExplorer documentation built on Nov. 8, 2020, 5:11 p.m.