utils.basic.stats {dartR.base} | R Documentation |
Calculates mean observed heterozygosity, mean expected heterozygosity and FIS per locus, per population and various population differentiation measures @family utilities
Description
WARNING: UTILITY SCRIPTS ARE FOR INTERNAL USE ONLY AND SHOULD NOT BE USED BY END USERS AS THEIR USE OUT OF CONTEXT COULD LEAD TO UNPREDICTABLE OUTCOMES.
Usage
utils.basic.stats(x)
Arguments
x |
A genlight object containing the SNP genotypes [required]. |
Details
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.
Value
A list with with the statistics for each population
Author(s)
Luis Mijangos and Carlo Pacioni (post to https://groups.google.com/d/forum/dartr)
Examples
require("dartR.data")
out <- utils.basic.stats(platypus.gl)
[Package dartR.base version 0.65 Index]