Description Usage Arguments Value
This returns the three-dimensional array whose [i,j,k]
th entry is the probability that maternal genotype i
and paternal genotype j
combine to make offspring genotype k
1 2 | mating_tensor(maternal, paternal = maternal, offspring = maternal,
sep = "", phased = FALSE)
|
maternal |
Character vector of genotypes. |
paternal |
Character vector of genotypes. [default: same as maternal] |
offspring |
Character vector of genotypes. [default: same as maternal] |
sep |
Character separating the two alleles. [default: ”] |
phased |
Does order matter for the diploid genotypes? |
A three-dimensional array, with dimnames.
If phased
is FALSE
then the two paternal alleles are sorted before being combined together into the offspring diploid genotype.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.