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

View source: R/pairwise.propShared.r

pairwise.propSharedR Documentation

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)

Arguments

gi

a genind object with at least two populations

Value

a matrix of proportion of shared alleles between populations


PopGenReport documentation built on Oct. 11, 2023, 9:07 a.m.