run_mutation_model_no_coinfection: Simulate evolution of mixture by mutation, with no...

Description Usage Arguments Value

View source: R/reassortment_model.R

Description

Simulate evolution of mixture by mutation, with no co-infection

Usage

1
2
run_mutation_model_no_coinfection(iv, fitness, burst_size, pop_size,
  generations, mutation_prob)

Arguments

iv

numeric vector of length n_strains = 4. Initial proportions of [mt, mt], [mt, wt], [wt, mt], [wt, wt].

fitness

numeric vector of length n_strains = 4. Relative fitness of the four strains.

burst_size

numeric vector of length 1. Burst size from a cell infected with one virion with fitness 1.

pop_size

numeric vector of length 1. Initial number of virions.

generations

numeric vector of length 1. Number of generations for which to run model.

mutation_prob

probability of mutation for each new virion. Assume same for pb1 and pa.

Value

matrix of dim c(generations, n_strains). Proportion of virions of each strain for each generation.


ada-w-yan/reassortment documentation built on April 10, 2021, 12:03 a.m.