Returns a vector with the number of heterozygous sites that each sample caused.
Arguments
genotypeMatrix
matrix half-sib genotypes (one half-sib per row, with SNP ordered by mapping position in the columns. Data should be numeric. Use 0, 1 and 2 respectively for AA, AB and BB. Use 9 for missing data)
unique_check
logical check if samples uniquely originate an opposing homozygote at a locus
SNPs
integer number of SNP to use
Author
This method is suggested by Bruce Tier <btier@une.edu.au> to identify pedigree errors.