layout: default
title: Shiny App
nav_order: 100
has_children: true
Polyphenol Estimation Pipeline - Shiny Application
A web-based interface for estimating dietary polyphenol intake from 24-hour diet recall data.
Version: 0.1 Alpha
About
This Shiny application provides a graphical interface for the Polyphenol Estimation Pipeline developed by Stephanie M.G. Wilson at the University of California, Davis. The app allows researchers to run the pipeline without writing R code.
Pipeline Repository: github.com/SWi1/polyphenol_pipeline
What the App Does
The Shiny app implements the same polyphenol estimation methodology as the original R scripts:
- Accepts ASA24 or NHANES diet recall data
- Disaggregates reported foods into ingredients using FDA FDD v3.1
- Maps ingredients to polyphenol content from FooDB
- Calculates intake at total and class levels
- Identifies top food contributors to polyphenol intake
- Computes a 42-component Dietary Inflammatory Index (DII)
- Generates QA/QC reports for unmapped foods
- Exports results as CSV files
App Structure
The application has five main tabs:
| Tab | Purpose |
|---|---|
| Get Started | Overview of the pipeline and usage instructions |
| Input | Upload data, select format, configure options, run pipeline |
| Results | Interactive charts and tables with Chart/Table toggle |
| QA/QC | Unmapped foods report and data quality metrics |
| About | Pipeline methodology, credits, and citation information |
How to Access
Option 1: Hosted Version (No Installation)
A hosted version is available on Hugging Face Spaces:
Option 2: Run Locally
Run the app on your own computer using R and RStudio. See Running Locally for setup instructions.
Option 3: Docker Container
Coming soon. A Docker container image will be available for running the application in any environment.
Credits
Pipeline Development Stephanie M.G. Wilson University of California, Davis smgwilson@ucdavis.edu
Shiny Application Development Richard Stoker United States Department of Agriculture - Agricultural Research Service Richard.Stoker@usda.gov
License
- Shiny Application: CC0 1.0 (Public Domain)
- Pipeline and Data Files: MIT License (Stephanie M.G. Wilson)
See the LICENSE file in the repository for full details.