Examples¶
Below is an overview of the examples, organized by model type or analysis type.
-
examples-sim-CRM.ipynb: Simulate time-course data using the Cross-Feeding Resource Model.
-
examples-bayes-gLV.ipynb: Bayesian inference for Generalized Lotka-Volterra.
examples-lasso-gLV.ipynb: Lasso-based inference for gLV.
examples-ridge-gLV.ipynb: Ridge-based inference for gLV.
examples-Rutter-Dekker.ipynb: Rutter-Dekker example.
examples-sim-gLV.ipynb: Simulation of gLV dynamics.
examples-Stein.ipynb: Real-life dataset example (Stein et al.) applying gLV methods. (Additional CSV files support these notebooks.)
-
Generalized Metabolic Lotka-Volterra (gMLV) is a variation of gLV that includes metabolite interactions alongside microbial abundances.
examples-ridge-lasso-gMLV.ipynb: Ridge/Lasso inference for gMLV.
examples-sim-gMLV.ipynb: gMLV simulation examples.
-
examples-impute-GP.ipynb: Data imputation with Gaussian Processes.
examples-impute-GP_Stein.ipynb: Extended GP-based imputation for Stein dataset. (CSV files for input/output data are included here.)
-
These notebooks use real-life data from Herold et al. to demonstrate multi-model workflows.
examples-Herold-sVAR.ipynb: sVAR approach on Herold dataset.
examples-Herold-VAR.ipynb: VAR approach on Herold dataset.
examples_impute_data.ipynb: Data imputation for Herold multi-model workflows. (`Source Data/` folder contains all raw files needed for these notebooks.)
-
examples-infer-MVAR.ipynb: Inference with the Multivariate Autoregressive model.
examples-sim-MVAR.ipynb: Simulation using MVAR. (`parametersS.json` is included for these demos.)
-
examples-bayes-VAR.ipynb: Bayesian inference for Vector Autoregression.
examples-sim-VAR.ipynb: Simulation examples for VAR. (JSON files and CSV data support these notebooks.)
run_gMLV_sims.py: A script to run gMLV simulations from the command line.
Each subfolder includes one or more Jupyter notebooks that guide you step-by-step through setup, simulation, and analysis with the MIMIC package. Feel free to explore each subfolder for model-specific usage instructions, parameter files, and example data.
Jupyter Notebook Examples by Model¶
CRM¶
GP¶
MVAR¶
MultiModel¶
VAR¶
gLV¶
- Repeat Rutter & Dekker et al 2024 analysis
- Perform Bayesian inference with shrinkage
- Repeat Stein et al. 2013 analysis
- Used Bayesian inference to infer the parameters of a (linearised) gLV model
- Example Lasso gLV model
- Simulate some time course data and perform ridge regression as in Stein et al. 2013
- Simulate some time course data from the gLV