get_IB_mixture.Rd
Get identity by "mixture distance". The mixture distance between two samples is the proportion of loci that have identical within-sample allele frequencies (WSAFs), or alternatively have WSAFs within a given tolerance. This extends the idea of identity by state (IBS) to continuous WSAFs rather than categorical genotypes.
get_IB_mixture(x, tol = 0, diagonal = NULL, report_progress = TRUE)
object of class mipanalyzer_biallelic
.
tolerance on mixture comparisons. Default = 0.
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.