Returns a matrix containing the phased parental haplotypes of the half-sibs (two rows per individual).
Alleles are coded as 0 (A), 1 (B), and 9 (missing/unphased).
Arguments
GenotypeMatrix
matrix. Half-sib genotypes (one half-sib per row; SNPs ordered by mapping position in the columns).
Data should be numeric: 0, 1, 2 for AA, AB, BB. Use 9 for missing data.