#' Run Shiny app for power estimation
#'
#'
#' @export
#'
runShiny <- function(){
require(shiny)
require(plotly)
require(reshape2)
appDir <- system.file("shinyApp", package = "scPower")
if (appDir == "") {
stop("Could not find example directory. Try re-installing the package.", call. = FALSE)
}
shiny::runApp(appDir, display.mode = "normal")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.