Description Usage Arguments Value
Calculates the mean allele richness across all markers for a sample at all sampling levels. Based on the formula presented in https://www.genetics.org/content/157/1/389
1 | allele_richness(pop, allele_coding = 1:2, num_cores = detectCores())
|
pop |
a data frame with individuals in columns and markers in rows, there must be atleast two individuals, missing data is not allowed |
allele_coding |
the coding used for indicating the different alleles |
num_cores |
the number of cores to use with mclapply(), must be 1 on windows, default is detectCores() |
a table of expected allele richness for each marker at each subsampling level with markers in rows and sampling levels in columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.