Curated demo dataset → comparison → dashboard. Requires R ≥ 4.1.
Open Terminal and copy-paste each block. You stay at the shell prompt the whole time.
Rscript -e 'install.packages("syrona")'
# not on CRAN yet? install from GitHub:
# Rscript -e 'install.packages("remotes")'
# Rscript -e 'remotes::install_github("HealthInformaticsUT/Syrona")'
Rscript -e '
library(syrona)
base <- tempdir() # or a folder you choose, e.g. base <- path.expand("~/syrona-demo")
file.copy(system.file("extdata", "demo", package = "syrona"), base, recursive = TRUE)
dir <- file.path(base, "demo")
options(syrona.data_dir = dir)
compare_all("demo_population", "demo_selected")
run_app(data_dir = dir)
'
Paste each block into the RStudio Console.
install.packages("syrona") # once
library(syrona)
# not on CRAN yet? install from GitHub instead:
# install.packages("remotes")
# remotes::install_github("HealthInformaticsUT/Syrona")
base <- tempdir() # or a folder you choose, e.g. base <- path.expand("~/syrona-demo")
file.copy(system.file("extdata", "demo", package = "syrona"), base, recursive = TRUE)
dir <- file.path(base, "demo")
data/comparisons/):
options(syrona.data_dir = dir)
compare_all("demo_population", "demo_selected")
run_app(data_dir = dir)
The demo is a curated subset (32 concepts across conditions, procedures, and drugs)
of the Est-Health-30 vs Estonian Biobank comparison. demo_population = general sample,
demo_selected = biobank-like sample.