Description Usage Arguments Value
View source: R/reassortment_model.R
Simulate evolution of mixture by mutation, with no co-infection
1 2 | run_mutation_model_no_coinfection(iv, fitness, burst_size, pop_size,
generations, mutation_prob)
|
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. |
matrix of dim c(generations, n_strains). Proportion of virions of each strain for each generation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.