mutate_popn_wrapper: make function to mutate a population of virions

Description Usage Arguments Value

View source: R/reassortment_model.R

Description

make function to mutate a population of virions

Usage

1
mutate_popn_wrapper(mutation_prob)

Arguments

mutation_prob

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

Value

function that takes the argument virus_popn: numeric vector of length 4, with the number of virions in each of the 4 strains, and outputs the same vector but with mutated virions


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