R/runExample.R

Defines functions runExample

#' @import dplyr
#' @import stringr
#' @import ggplot2
#' @import data.table
#' @import shiny
#' @import shinythemes
#' @import pool
#' @import shinyWidgets
#' @import DBI
#' @importFrom magrittr %>%
#' @importFrom RSQLite SQLite
#'
#' @export

runExample <- function() {

  ## Open up a connection to the SQLite database.
  con <<- dbPool(SQLite(), dbname = "data/murach.sqlite")

  ## Run the app.
  app_dir <- system.file("myapp", package = "scRNAseqShiny")
  runApp(app_dir, display.mode = "normal")

}
rpolicastro/kevin_scRNAseq_shiny documentation built on July 28, 2020, 3:09 a.m.