Code for statistical analyses and figure generation
This repository contains the Jupyter Notebook used for statistical analyses and figure generation for the manuscript:
"[Manuscript title]"
README.md: repository overview and usage instructions.requirements.txt: Python packages required to run the notebook.LICENSE: MIT License for this repository..gitignore: excludes temporary files and raw data files from version control by default.notebooks/: contains the analysis notebook used for the manuscript.data/: reserved for input data files; data are not included unless otherwise specified.
The notebook creates an output/ folder during execution for generated figures and result tables.
- Python 3.x
- Jupyter Notebook or JupyterLab
- matplotlib
- numpy
- pandas
- statsmodels
- Clone or download this repository.
- Install required packages:
pip install -r requirements.txt- Open the notebook:
notebooks/Supplement 4_code_sharing.ipynb - Run cells sequentially.
The analysis dataset is not included in this repository unless otherwise specified. The dataset required to interpret and verify the findings will be deposited in a public repository upon acceptance of the manuscript. Full-text journal articles and protocols are not shared because they are third-party copyrighted materials.
The notebook was used for statistical analyses and figure generation. File paths may need to be adjusted according to the local working directory.