Genotype matrix
An autosomal marker with n alleles has choose(n+1, 2) possible
unordered genotypes. This function returns these as rows in a
matrix.
allGenotypes(n)
n |
A positive integer. |
An integer matrix with two columns and choose(n+1, 2) rows.
allGenotypes(3)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.