Learn R Programming

EpiPvr (version 0.0.1)

Estimating Plant Pathogen Epidemiology Parameters from Laboratory Assays

Description

Provides functions for estimating plant pathogen parameters from access period (AP) experiments. Separate functions are implemented for semi-persistently transmitted (SPT) and persistently transmitted (PT) pathogens. The common AP experiment exposes insect cohorts to infected source plants, healthy test plants, and intermediate plants (for PT pathogens). The package allows estimation of acquisition and inoculation rates during feeding, recovery rates, and latent progression rates (for PT pathogens). Additional functions support inference of epidemic risk from pathogen and local parameters, and also simulate AP experiment data. The functions implement probability models for epidemiological analysis, as derived in Donnelly et al. (2025), . These models were originally implemented in the 'EpiPv' 'GitHub' package.

Copy Link

Version

Install

install.packages('EpiPvr')

Monthly Downloads

118

Version

0.0.1

License

GPL-3

Maintainer

Ruairi Donnelly

Last Published

October 1st, 2025

Functions in EpiPvr (0.0.1)

inoc_durtn_calculator

Helper function for effective inoculation period calculator
estimate_virus_parameters_SPT

Estimate SPT virus parameters using Bayesian inference with rstan
calculate_epidemic_probability

Main function for calculating epidemic probability
AP_assay_simulator

Main function for AP assay simulation
estimate_virus_parameters_PT

Estimate PT virus parameters using Bayesian inference with rstan
AP_insect_simulator

Simulate AP assay data for individual insects
ap_data_sim_SPT

Simulated access period experiment Data for a hypothetical SPT virus
gen_exp

Safely generate random exponential data
ap_data_sim_PT

Simulated access period experiment Data for a hypothetical PT virus
solveInoculumStatesBP

Compute Epidemic Probability via Transition and Fertility Matrices
EpiPvr-package

The EpiPvr package