Matrix of haplotypes (rows: individuals,
columns: alleles)
Details
Given a matrix of haplotypes (with one allele per column), this
function creates a matrix of genotypes by combining the
alleles from odd and even columns into genotypes.
Value
Matrix of genotypes (rows: individuals, columns genotypes)