Description Usage Arguments Value Author(s) References See Also Examples
Calculate first and second order rates of changes of LnPr(K) from STRUCTURE results based on Evanno et al. 2005.
1 |
sr |
output from a call to |
plot |
logical. Generate a plot of Evanno metrics? |
a list with:
df | data.frame with Evanno log-likelihood metrics for each value of K. |
plots | list of four ggplot objects for later plotting. |
Eric Archer eric.archer@noaa.gov
Evanno, G., Regnaut, S., and J. Goudet. 2005. Detecting the number of clusters of individuals using the software STRUCTURE: a simulation study. Molecular Ecology 14:2611-2620.
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
data(msats.g)
# Run STRUCTURE
sr <- structureRun(msats, k.range = 1:4, num.k.rep = 10)
# Calculate Evanno metrics
evno <- evanno(sr)
evno
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.