Create genotypes from haplotypes
Matrix of haplotypes (rows: individuals, columns: alleles)
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.
Matrix of genotypes (rows: individuals, columns genotypes)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.