R/utils_fQC.R
check.ibs.Rd
Checks IBS status for two genotypes.
check.ibs(gen)
Numeric vector of length two with genotype codes.
Integer: 2 if identical non-heterozygotes, 0 if opposite homozygotes, -1 otherwise.
Roberto Higa
check.ibs(c(1, 1)) #> [1] 2 check.ibs(c(1, 3)) #> [1] 0