test.g: Tests the significance of the effect of level on genetic...

Description Usage Arguments Value Author(s) Examples

Description

Tests the significance of the effect of level on genetic differentiation

Usage

1
test.g(data = data, level, nperm = 100,...)

Arguments

data

a data frame containing the genotypes for the different loci

level

A vector containing the assignment of each observation to its level

nperm

The number of permutations to carry out for the test

...

Mainly here to allow passing diploid=FALSE if necessary

Value

g.star

A vector containing all the generated g-statistics, the last one beeing the observed

p.val

The p-value associated with the test

Author(s)

Jerome Goudet jerome.goudet@unil.ch

Examples

1
2
3

hierfstat documentation built on Nov. 17, 2021, 5:08 p.m.