calculate_deltaV_matrix: Calculate binding avidity adaptation matrix

Description Usage Arguments Value

View source: R/antigenic_drift.R

Description

Calculates the gradient of binding avidity adaptation for different levels of host immunity. This is useful because we need to solve some ODEs for each combination of host immunity and each possible binding avidity value ie. precomputation

Usage

1
calculate_deltaV_matrix(viruspars, maxV = 3, maxK = 25, step = 1)

Arguments

viruspars

the vector of virus pars as taken by run_simulation

maxV

the maximum binding avidity to calculate for

maxK

the maximum achievable antibody titre in which the virus will have to adapt

step

over how much time does this adaptation take place? usually 1 day

Value

a numeric matrix


jameshay218/driftSim documentation built on Jan. 24, 2020, 6:14 p.m.