gl.basic.stats: Calculates basic statistics for each loci (Hs, Ho, Fis etc.)

View source: R/gl.basic.stats.r

gl.basic.statsR Documentation

Calculates basic statistics for each loci (Hs, Ho, Fis etc.)

Description

Based on function basic.stats. Check ?basic.stats for help.

Usage

gl.basic.stats(x, digits = 4, verbose = NULL)

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(s)

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])
}

dartR documentation built on June 8, 2023, 6:48 a.m.