Nothing
#' Estimates expected Heterozygosity
#' @param gl A genlight object [required]
#' @return A simple vector whit Ho for each loci
#' @export
#' @author Bernd Gruber (Post to \url{https://groups.google.com/d/forum/dartr})
gl.He <- function(gl) {
alf <- colMeans(as.matrix(gl), na.rm = T) / 2
out <- alf * (1 - alf) * 2
return(out)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.