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.1
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-12-16
DOI: 10.32614/CRAN.package.imprinting
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.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): imprinting_0.1.1.tgz, r-oldrel (arm64): imprinting_0.1.1.tgz, r-release (x86_64): imprinting_0.1.1.tgz, r-oldrel (x86_64): imprinting_0.1.1.tgz
Old sources: imprinting archive


Please use the canonical form to link to this page.