View source: R/analysis_distance.R
get_IBS_distance | R Documentation |
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)
x |
object of class |
ignore_het |
whether to ignore heterozygous comparisons, or alternatively call the major allele at every locus (see details). |
diagonal |
Should the diagonal of the distance matrix be changed to a
given value. Default = |
report_progress |
if |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.