dist.codom(x, matrix = TRUE, global = TRUE, na.rm = TRUE)
either a list of distance matrices, one for each locus or a single matrix containing the mean distance between individuals across all loci
Dropped for each distance matrix and object of class "na.action" containing indices to those indivudals in the genind object which where omitted due to having NAs
This function calculates the distance between individuals in a genind object based on their genotypes. Specifically, the simple metric of Kosman and Leonard (2005) in which distance is calculated as a propotion of shared alleles at each locus.
Kosman E., Leonard, K.J. Similarity coefficients for molecular markers in studies of genetic relationships between individuals for haploid diploid, and polyploid species. Molecular Ecology. 14: 415-424
$distances 1 2 3 4 5 2 0.6666667 3 0.3888889 0.7222222 4 0.6111111 0.6666667 0.5000000 5 0.7777778 0.6666667 0.7777778 0.7777778 6 0.7777778 0.7222222 0.7222222 0.5555556 0.8333333 $dropped NULL