Calculates basic statistics for each loci (Hs, Ho, Fis etc.)
Source:R/gl.basic.stats.r
gl.basic.stats.Rd
Based on function basic.stats
. Check ?basic.stats
for help.
Arguments
- x
Name of the genlight object containing the SNP data [required].
- digits
Number of digits that should be returned [default 4].
- verbose
Verbosity: 0, silent or fatal errors; 1, begin and end; 2, progress log; 3, progress and results summary; 5, full report [default 2, unless specified using gl.set.verbosity].
Value
Several tables and lists with all basic stats.
basic.stats
for details.
Author
Bernd Gruber (bugs? Post to https://groups.google.com/d/forum/dartr)
Examples
if (!(requireNamespace("hierfstat", quietly = TRUE))) {
out <- gl.basic.stats(possums.gl[1:10,1:100])
}