Description Usage Arguments Details Value Author(s)
Really basic mutation of traits, assuming normally distributed mutants for real valued traits.
1 | make_mutation(vcv)
|
vcv |
A variance-covariance matrix or a variance value. |
For now, this just does mulivariate-normal mutation (continuous traits), but may expand to deal with diallelic loci etc.
For some uses (e.g., what we do in tree
) we may want to
enable mutation to be on the log scale.
A generating function, taking traits
and
mutants
as arguments. For the 1d case, traits
is a
vector over types/species, while for the 2d case it is a matrix
with rows representing types/species and columns traits. The
vector mutants
is always over types/species and is the
number of mutants to generate for each type.
Rich FitzJohn
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.