Pe | R Documentation |
This function returns the effective number of alleles in a sample.
Pe(x, ...)
x |
A set of |
... |
Ignored (for consistency) |
The polymorphic index for the locus, sum(pi(1-pi)) 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) )
Pe(locus)
locus2 <- c( locus(1:2), locus(c(1,1)), locus(c(2,2)), locus(2:3) )
df <- data.frame( locus, locus2 )
Pe(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.