diss.dist uses the same discrete dissimilarity matrix utilized by the index
of association (see
ia for details). By default, it returns a
distance reflecting the number of allelic differences between two
percent = TRUE, it returns a ratio of the number of
observed differences by the number of possible differences. Eg. two
individuals who share half of the same alleles will have a distance of 0.5.
This function can analyze distances for any marker system.
The distance calculated here is quite simple and goes by many names, depending on its application. The most familiar name might be the Hamming distance, or the number of differences between two strings.
Pairwise distances between individuals present in the genind object.
percent = TRUE, this is exactly the same as
provesti.dist, except that it performs better for large
numbers of individuals (n > 125) at the cost of available memory.
Zhian N. Kamvar
1 2 3 4 5 6 7 8 9 10
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.