gsegmat_symb {hwep} | R Documentation |
Symbolic representation of the segregation probability matrix
Description
Two alleles are identical-by-double-reduction (IBDR) if they originate from the same (by origin) allele in the parent. We let "a" be the probability of zero IBDR alleles, "b" be the probability of one IBDR pair, "c" be the probability of two IBDR pairs, etc...
Usage
gsegmat_symb(ploidy, out = c("str", "exp"))
Arguments
ploidy |
The ploidy of the species |
out |
Should we return a character matrix
( |
Value
A character or expression matrix containing the mathematical form for the segregation matrix. Element (i, j) is the probability a parent with dosage i-1 produces a gamete with dosage j-1.
Author(s)
David Gerard
See Also
gsegmat()
for numerical expressions.
Examples
gsegmat_symb(4)
gsegmat_symb(6)
gsegmat_symb(8)
[Package hwep version 2.0.2 Index]