pop_fst.Rd
This function computes population specific Fst (as computed by hierfstat::fst.dosage()
).
pop_fst(.x, include_global = FALSE, allele_sharing_mat = NULL)
a grouped gen_tibble
(as obtained by using dplyr::group_by()
)
boolean determining whether, besides the population specific Fst, a global Fst should be appended. Note that this will return a vector of n populations plus 1 (the global value)
optional, the matrix of Allele Sharing returned by
pairwise_allele_sharing()
with as_matrix=TRUE
. As a number of statistics can be
derived from the Allele Sharing matrix,
a vector of population specific Fst (plus the global value if include_global=TRUE
)