get_IBS_distance.Rd
Get identity by state (IBS) distance, computed as the proportion
of sites that are identical between samples. If ignore_het = TRUE
then heterozygous sites are ignored, otherwise the major strain is called
at every locus.
get_IBS_distance(x, ignore_het = TRUE, diagonal = NULL, report_progress = TRUE)
object of class mipanalyzer_biallelic
.
whether to ignore heterozygous comparisons, or alternatively call the major allele at every locus (see details).
Should the diagonal of the distance matrix be changed to a
given value. Default = NULL
, which cause no changes.
if TRUE
then a progress bar is printed to the
console.