Unifying the machinery of the Geometric Framework for Nutrition: the mixture--amount nutritional geometry

REPRODUCIBILITY ARCHIVE FOR THE MIXTURE-AMOUNT GEOMETRIC FRAMEWORK FOR NUTRITION This archive contains the R code and data used for the six main-text figures in: Lynch, C., Montgomery, D., Barrett, M., and Morimoto, J. Unifying the machinery of the Geometric Framework for Nutrition: the mixture-amount nutritional geometry. Manuscript prepared for Ecology Letters. Figures 1, 3, and 6 are conceptual or simulated examples generated entirely within their scripts. Figure 2 uses published pollen data. Figures 4 and 5 reanalyze published mouse nutrition data. CONTENTS R/Figure 1.R Produces Figure 1. All information is generated within the script. R/Figure 2.R Produces Figure 2 using data/vaudo 2024 pnas dataset s1.xlsx. R/Figure 3.R Produces Figure 3. The candidate sets and designs are generated within the script. R/Figures 4 and 5.R Produces Figures 4 and 5 and performs the associated statistical analyses using data/crean 2023 source data.xlsx. R/Figure 6.R Produces Figure 6. All targets, rails, and predicted endpoints are generated within the script. data/pollen mixture amount cleaned.csv Processed pollen data used to check the Figure 2 transformation. This file was derived from the Vaudo et al. (2024) workbook. The source spreadsheet tabs retain the names used in the original publications. Run each R script from the archive's top-level directory so its relative data path resolves correctly. SOFTWARE REQUIREMENTS Use a recent version of R 4.x. Install the following packages before running the scripts: install.packages(c(   "readxl", "dplyr", "tidyr", "stringr", "purrr",   "ggplot2", "patchwork", "scales" )) The scripts also use the grid and stats packages included with R. The plots specify Times New Roman. R will substitute another font if that typeface is unavailable. RUNNING THE CODE 1. Download and unzip the archive. 2. Open R or RStudio and set the working directory to the unzipped top-level folder. 3. Install any missing packages listed above. 4.

Link
https://zenodo.org/records/22714739
Found by
Zenodo
Authors
Lynch, Colin M
Categories
dataset
Published
2026-09-11
Last seen by the radar
2026-09-11
Downloads
0
Views
0
Radar score
34.61 / 100 (how it is scored)
Why it scored so
Matched: dataset; Recency discount: updated event ×0.5; Primary record: Zenodo
Related links
https://doi.org/10.5281/zenodo.22714739
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Zenodo