Mendelian segregation

Description

Generate conditional probability table for mendelian segregation.

Usage

1
mendel(allele, names = c("child", "father", "mother"))

Arguments

allele

A character vector.

names

Names of columns in dataframe.

Examples

1
2
3
4
## Inheritance of the alleles "y" and "g"

men <- mendel( c("y","g"), names = c("ch", "fa", "mo") )
men