Find proportion of shared alleles genetic distances from a codominant alleles matrix
Given a matrix with two adjacent columns for each locus (e.g. LOCUS1a, LOCUS1b, LOCUS2a, LOCUS2b, ...)
containing codominant alelles, where individual genotypes are in rows, find the proportion of shared alleles
(Bowcock et al., 1994) among individuals using functions in the
This is a convenience function that wraps
Note that any type of genetic distance matrix can be used in MEMGENE, and the proportion of shared alleles metric is not a requirement.
A matrix with two adjacent columns for each locus containing codominant alleles
A vector of any length giving the values in the alleles matrix representing missing data (
First prepares the alleles matrix into a format that can be converted using functions in the
adegenet package to the
propShared is then run on this object.
Returns a genetic distance matrix using the proportion of shared alleles metric (Bowcock et al., 1994)
Pedro Peres-Neto (firstname.lastname@example.org)
Paul Galpern (email@example.com)
Bowcock AM, Ruizlinares A, Tomfohrde J, et al. 1994 High resolution of human evolutionary trees with polymorphic microsatellites. Nature, 368, 455-457.
1 2 3
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.