This Shiny app lets you:
- upload a CSV, TSV, or delimited text file,
- run one-way ANOVA,
- run two-way ANOVA with interaction terms,
- perform Tukey-adjusted pairwise post-hoc tests,
- draw box plots or violin plots,
- annotate significant (
*,**,***) or non-significant (ns) group differences.
Your file should contain:
- one numeric response column,
- one categorical grouping column for one-way ANOVA,
- an optional second categorical grouping column for two-way ANOVA.
Install these packages before running the app:
install.packages(c(
"shiny",
"bslib",
"ggplot2",
"dplyr",
"readr",
"DT",
"emmeans",
"broom",
"tidyr"
))shiny::runApp()You do not need your own server to test the app in Docker. Running it locally is enough.
Build the image:
docker build -t sci-plot .Start the container:
docker run --rm -p 3838:3838 sci-plotThen open:
If you want to stop it, press Ctrl+C in the terminal where the container is running.
This repository includes a ready-to-use Codespaces configuration.
- Open the repository on GitHub.
- Select
Code>Codespaces>Create codespace on main. - Wait for the dev container build to finish.
- The app will start automatically and the forwarded
3838port will open in the browser.
If the app is not running, start it manually in the Codespaces terminal:
R -e "shiny::runApp('/workspaces/sci_plot', host='0.0.0.0', port=3838)"