mat_pw_fst | R Documentation |
The function computes the pairwise FST matrix between
populations from an object of class genind
mat_pw_fst(x)
x |
An object of class |
The formula used is that of Weir et Cockerham (1984).
This functions uses directly the function pairwise.WCfst
from hierfstat.
A pairwise matrix
of FST with as many rows and columns as
there are populations in the input data.
Negative values are converted into 0
P. Savary
weir1984estimatinggraph4lg
## Not run: data("data_ex_genind") mat_fst <- mat_pw_fst(data_ex_genind) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.