Data and Code for Arevalo, et al., 2019 (Earliest infections predict the age distribution of seasonal influenza A cases).
The required python and R packages can be installed by creating a conda environment with the included FluAImprinting.yml file as follows:
conda env create -f FluAImprinting.yml
raw_datacontains raw case data used to fit the model and other data sources used in the calculation of imprinting probabilities.data_processingcontains scripts to reformat and refactor data.datacontains data inputs used for modelling and imprinting probability calculation.modelscontains all models tested.fitting_scriptscontains scripts used to fit models and process fit outputs.simulationscontains scripts used to fit models to simulated data.vaccine_imprintingcontains scripts used to fit models with imprinting conferred via vaccination.figurescontains jupyter notebooks with code used to produce all figures in the manuscript.final_results_for_mscontains model fits used in the manuscript.
All files licensed under the Apache License, Version 2.0 (the "License"); you may not use these files except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.