allGenos.Rd
Finds all possible genotypes based on input alleles.
allGenos(alleles)
Vector of input alleles, numeric or character
Matrix of all possible genotypes, one row per genotype
Guro Dorum
alleles <- 1:3 allGenos(alleles) #> v1 v2 #> [1,] 1 1 #> [2,] 2 2 #> [3,] 3 3 #> [4,] 1 2 #> [5,] 1 3 #> [6,] 2 3