WOLFRAM NOTEBOOK

WOLFRAM|DEMONSTRATIONS PROJECT

Mendelian Inheritance Pedigree

number of children
4
mode of inheritance
autosomal recessive
autosomal dominant
dad allele 1
A
a
mom allele 1
A
a
dad allele 2
A
a
mom allele 2
A
a
randomize
This Demonstration lets you vary the genotypes of both first-generation parents. Based on the genotypes, a Punnett square shows all possible genotypes for their children. A two-generation pedigree is also shown; the genders of the children are decided randomly and the genotypes are assigned using a weighted probability based on the parents' genotypes. Depending on the mode of inheritance selected (autosomal dominant or recessive), a disease phenotype is associated with a genotype that carries negative alleles.
Wolfram Cloud

You are using a browser not supported by the Wolfram Cloud

Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.


I understand and wish to continue anyway »

You are using a browser not supported by the Wolfram Cloud. Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.