powered by
Finds all possible genotypes based on input alleles.
allGenos(alleles)
Matrix of all possible genotypes, one row per genotype
Vector of input alleles, numeric or character
Guro Dorum
alleles <- 1:3 allGenos(alleles)
Run the code above in your browser using DataLab