| ohd | R Documentation |
Counts the number of opposing homozygotes for each animal that caused a heterozygus site in the sire.
ohd(genotypeMatrix, unique_check = FALSE, SNPs = 6000)
genotypeMatrix |
|
unique_check |
|
SNPs |
|
Returns a vector with the number of heterozygous sites that each sample caused.
This function can be used to identify pedigree errors; i.e., the outliers.
This method is suggested by Bruce Tier <btier@une.edu.au> to identify pedigree errors.
genotype <- matrix(c( 2,1,0, 2,0,0, 0,0,2 ), byrow = TRUE, ncol = 3) ohd(genotype)