Description Usage Arguments Details
Before calling struc_preparation
it is necessary to bring the genetics into the correct form, which is mainly the correct dimensions.
1 | gen_check(Rmx, af, dom, epis)
|
Rmx |
maximum resistance value, if all gene loci under consideration are homozygous resistant. \code{numeric}, ≥ 1. |
af |
initial frequency of resistance alleles in the population. |
dom |
dominance of resistance alleles. |
epis |
epistasis value, describing the interaction between resistance alleles. |
If no genetics are required af
has to be set to NA
. The value of dom
is adjusted to the length of af
. If there are mismatches, the dom
is cut or the first given value is repeated to fit the number of given alleles in af
. The variables af and dom
are corrected and n_loci
is created, which is 0 when no genetics is included. If no value is given to epis
it is set to 0.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.