imprinting: Calculate Birth Year-Specific Probabilities of Immune Imprinting to Influenza

Reconstruct birth-year specific probabilities of immune imprinting to influenza A, using the methods of Gostic et al. (2016) <doi:10.1126/science.aag1322>. Plot, save, or export the calculated probabilities for use in your own research. By default, the package calculates subtype-specific imprinting probabilities, but with user-provided frequency data, it is possible to calculate probabilities for arbitrary kinds of primary exposure to influenza A, including primary vaccination and exposure to specific clades, strains, etc.

Version: 0.1.0
Depends: R (≥ 3.5.0)
Imports: dplyr (≥ 1.0.9), tidyr (≥ 1.2.0), cowplot (≥ 1.0.0), ggplot2, tidyselect
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0), devtools
Published: 2022-11-18
Author: Katelyn Gostic [aut], Alex Byrnes [ctb, cre]
Maintainer: Alex Byrnes <abyrnes at>
License: MIT + file LICENSE
NeedsCompilation: no
CRAN checks: imprinting results


Reference manual: imprinting.pdf
Vignettes: custom-imprinting-types


Package source: imprinting_0.1.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): imprinting_0.1.0.tgz, r-oldrel (arm64): imprinting_0.1.0.tgz, r-release (x86_64): imprinting_0.1.0.tgz, r-oldrel (x86_64): imprinting_0.1.0.tgz


Please use the canonical form to link to this page.