This repository demonstrates how EMMA supports reproducibility by
capturing provenance metadata during Functional Enrichment Analysis (FEA) and
provides a Docker container for recreating the recorded analysis environment.
The analysis in EMMA_supplement.qmd was first run locally to generate
the results and the lockfile, and is then reproduced in a clean Docker container.
1- Clone the EMMA_Supplement repository locally
2- Run the following command in the terminal inside the EMMA_Supplement
directory. This command will build a Docker container image:
docker build -t emma_supplement .
3- To start the container, run :
docker run -e PASSWORD=emma -p 2711:8787 emma_supplement
4- Then go to http://localhost:2711/
To sign-in, use username = rstudio, password = emma
5- Inside RStudio server console, run setwd("/home/rstudio/emma_analysis/")
6- Then open emma_supplement/EMMA_supplement.qmd
7- Finally, navigate to section # Environment restoration and reproducibility check and
start executing the code