utils.basic.stats {dartR} | R Documentation |
Calculates mean observed heterozygosity, mean expected heterozygosity and Fis per locus, per population and various population differentiation measures
Description
This is a re-implementation of hierfstat::basics.stats
specifically
for genlight objects. Formula (and hence results) match exactly the original
version of hierfstat::basics.stats
but it is much faster.
Usage
utils.basic.stats(x, digits = 4)
Arguments
x |
A genlight object containing the SNP genotypes [required]. |
digits |
Number of decimals to report [default 4] |
Value
A list with with the statistics for each population
Author(s)
Luis Mijangos and Carlo Pacioni (bugs? Post to https://groups.google.com/d/forum/dartr)
Examples
require("dartR.data")
out <- utils.basic.stats(platypus.gl)
[Package dartR version 2.9.7 Index]