Ae | R Documentation |
This function returns the effective number of alleles in a sample.
Ae(x, loci = NULL, ...)
x |
A set of |
loci |
A list of loci to use if this is a |
... |
Ignored |
The effective number of alleles either as a numeric
value
or as a data.frame
if multiple loci are passed.
locus <- c( locus(1:2), locus(c(1,1)), locus(c(2,2)), locus(2:3) )
Ae(locus)
locus2 <- c( locus(1:2), locus(c(1,1)), locus(c(2,2)), locus(2:3) )
df <- data.frame( locus, locus2 )
Ae(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.