Description Usage Arguments Value
This function assigns individuals to clusters using STRUCTURE assignment probabilities provided in the qmatrix. It then calculates pairwise Fst values between clusters.
1 2 | fst.STRUCTURE.popgen(qmatrix, allele.dat, nclusters, nreps, NA.symbol,
samp.snps, nsamp, ncores)
|
qmatrix |
Dataframe. The STRUCTURE qmatrix, with individuals in column 'ind' |
allele.dat |
Dataframe/matrix containing '/' separated allele data, with rownames representing individuals |
nclusters |
(optional) Integer. The number of clusters identified by STRUCTURE |
nreps |
Integer. The number of times to repeat estimations. Default is 100 |
NA.symbol |
The code used to represent missing allele data |
samp.snps |
Logical. If TRUE, a specified number of SNPs will be randomly sampled in each iteration to account for uncertainty and speed computations. Default is FALSE |
nsamp |
(optional) Integer. The number of SNPs to sample during each iteration |
ncores |
Integer. The number of cores to split job across. Default is 1 (no parallelisation) |
Matrix of pairwise comparison confidence intervals
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.