View source: R/transect_clustering.R
transect_clustering | R Documentation |
Estimate the degree of spatial clustering along a transect
transect_clustering(genotypes, positions, deme_size = 30)
genotypes |
Vector of genotype labels |
positions |
Vector of positions along a linear transect. Should be the
same length as |
transect_clustering
estimates the degree of non-randomness in the
distribution of genotypes along a linear transect by comparing the mean
pairwise distances between sampling points with the same genotype to mean
pairwise distances between sampling points with non-identical genotypes.
A vector of three elements giving the number of pairs of identical and non-identical gentotypes in the transect, and the Pearson correlation coefficient between distance and pairwise identity.
Tom Ellis
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.