The R markdown files (.Rmd
) contain code for all statistical analyses in R, separately for each figure in the manuscript. The output created by fitting linear mixed-effects models is saved in the corresponding .pdf
files in the parent folder's stats
folder.
For easy programmatic access when plotting in Python, coefficients of the linear models are also saved in .csv
files in the parent folder's stats
folder.
The data exported from Python for use as input to the R analyses are stored in .csv
files in the parent folder's csv
folder. The .csv
input files are parsed by a helper function, get_data.R
, which creates unique IDs for mice, series, experiments, and neurons, required to fit the models.