View source: R/cptable_special.R
mendel | R Documentation |
Generate conditional probability table for Mendelian segregation.
mendel(allele, names = c("child", "father", "mother"))
allele |
A character vector. |
names |
Names of columns in dataframe. |
No error checking at all on the input.
## Inheritance of the alleles "y" and "g"
men <- mendel(c("y","g"), names=c("ch", "fa", "mo"))
men
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.