Generate code files required for shiny app containing only one dataset. In particular, two R scripts will be generated, namely server.R
and ui.R
. If users want to include multiple dataset in one shiny app, please use make_code_multi()
instead. Note that both make_file
and make_code
functions are ran when running the wrapper function make_app
.
make_code(
shiny.title = "App",
shiny.prefix = "sc1",
shiny.dir = "app",
enableSubset = TRUE,
defPtSiz = 1.25,
theme = "flatly",
tabs = c("civge", "civci", "gevge", "gem", "gec", "vio", "pro", "hea", "about"),
font = "Lato",
ganalytics = NA
)
title for shiny app
specify file prefix
specify directory to create the shiny app in
specify whether to enable "Toggle to subset cells" functionality in the shiny app. Default is to enable this functionality
specify default point size for single cells. For example, a smaller size can be used if you have many cells in your dataset
Bootsrap theme
Vector of tab names to include
Google font for plots. Defaults to "Lato". Requires package `showtext`.
Google analytics tracking ID (e.g. "UA-123456789-0")
server.R and ui.R required for shiny app