View source: R/calculate_heterozygosity.R
calculate_heterozygosity | R Documentation |
Calculate the average population level heterozygosity
calculate_heterozygosity(source_pop, locations, progress_bar = FALSE)
source_pop |
Population for which to estimate allele frequencies, or a list of individuals for which to calculate average heterozygosity |
locations |
A vector indicating the locations (in Morgan) of markers for which to calculate the heterozygosity |
progress_bar |
Displays a progress_bar if TRUE. Default value is TRUE |
A tibble containing the heterozygosities
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.