This repository contains code for analyzing weight loss data in mice models in response to multiple type of infections. The analysis includes statistical tests, mixed-effect modeling, simulations, and power calculations. The project aims to investigate the optimal weight loss threshold to prevent excessive suffering in mice while maintaining statistical power.
For more details, please refer to the article here.
statistical_analysis.ipynb
: Jupyter Notebook containing code for standard statistical analysis on the data.statistical_analysis_over_time.ipynb
: Jupyter Notebook for analyzing weight loss over time.mixed_effect_model.ipynb
: Jupyter Notebook implementing mixed-effect modeling (comparing survivor mice to non survivor mice).run_simulation.ipynb
: Jupyter Notebook for running simulations in order to compute the statistcal power applied to different thresold of sacrifice.analyse_power_in_house.py
: Python script for conducting in-house power calculations, i.e re-evaluate the statistical test (log rank) in each experiments with new threshold.determine_mouse_death.py
: Python script to compute at which time a mouse is dead with new threshold of sacrifice.simulation.py
: Python script implementing the simulations functions.graphiques.ipynb
: Jupyter Notebook containing code for generating graphs and visualizations of for the article.
To run the analysis:
- Clone the repository to your local machine.
- Ensure you have Python and Jupyter Notebook installed.
- Open the desired Jupyter Notebook files in your preferred environment.
- Follow the instructions within each notebook to execute the analysis steps.
- Maëlick Brochut
This project is licensed under the [GNU GPLv3] License - see the LICENSE file for details.