Description Usage Arguments Value
Run a principal components analysis
1 | doPCA(gt, nPCs = 4)
|
gt |
A genotype matrix with N rows and L columns, where N is the number of individuals and L is the number of loci, for which the i,jth element gives the number of the counted allele in each individual at each locus. |
nPCs |
The number of principal component axes to retain. Default is 4. |
A matrix with N rows and nPCs
columns
giving the position of each of the N samples on
the first nPCs
principal component axes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.