Interactive Shiny application for the CHICO study, combining cohort background, participant summaries, and microbiome comparison in an editorial-style interface.
About: study background, cohort context, and manuscript-style overviewData Information: participant summaries fromsample_info_genusData Visualization: interactive taxon comparison and Top-N composition viewAuthors: contributor and institutional information
remotes::install_github("jaspershen-lab/chico_shiny")library(chicoshiny)
run_chico_shiny()Recommended from the repository root:
devtools::load_all()
run_chico_shiny()Manual loading also works:
source("R/utils_paths.R")
source("R/app_ui.R")
source("R/app_server.R")
source("R/run_app.R")
run_chico_shiny()Compare one selected taxon across one or more groups.
- controls:
Level,Bacteria,Group type,Group - output: interactive boxplot with jittered points
- hover:
sample_id,group,abundance - statistics:
- two groups:
Wilcoxon rank-sum test - more than two groups:
Kruskal-Wallis test
- two groups:
Compare compositional patterns across selected groups.
- controls:
Level,Top N taxa,Group type,Group - supports two or more groups
- collapses remaining taxa into
Others - returns a per-group compositional summary table
Built from sample_info_genus.
Summary page includes:
- age distribution
Affectpie chartriskpie chartpersistentpie chart
Participant table includes these columns when available:
sample_idAgeAffectvirusvirus_numberriskpersistent
The app depends on packaged resources under inst/:
inst/data/inst/www/inst/markdown/
When deploying to a server, make sure the full project directory is included. Missing inst/ resources will cause missing images, markdown content, or datasets.
Usually caused by running from source without loading the project correctly.
Use:
devtools::load_all()
run_chico_shiny()from the repository root.
This comes from an invalid page title being rendered as HTML text. Redeploy the latest version and hard refresh the browser.
R/app_ui.R: UIR/app_server.R: server logicR/run_app.R: launcherR/utils_paths.R: local/package path helpersinst/markdown/about.html: About page contentinst/markdown/authors.html: Authors page content
run_chico_shiny()