if (!exists("shinySettings")) {
if (file.exists("data")) {
shinySettings <- list(dataFolder = "data")
} else {
shinySettings <- list(dataFolder = "C:/TEMP/PheValuatorExport")
}
}
dataFolder <- shinySettings$dataFolder
suppressWarnings(rm("cohort", "database", "phevaluatorAnalysis", "phevaluatorResult"))
load(file.path(dataFolder, "PreparedPheValuatorData.RData"))
cohort <- cohort[, c("cohortFullName", "cohortId", "cohortName")]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.