Learn R Programming

PopGenReport (version 3.1)

pairwise.propShared: Calculates proportion of shared alleles per pairs of populations

Description

Calculates proportion of shared alleles per pairs of populations based on the minima of allele frequency for each allel (then summed and averaged over loci). Returns a similarity matrix (upper diagonal of the pairwise matrix.

Usage

pairwise.propShared(gi)

Value

a matrix of proportion of shared alleles between populations

Arguments

gi

a genind object with at least two populations