pcadapt analysis on a gen_tibble
object
gt_pcadapt.Rd
pcadapt is an algorithm that detects genetic markers under selection. It is based on the
principal component analysis (PCA) of the genotypes of the individuals.
The method is described in Luu et al. (2017),
See the R package pcadapt
, which provides extensive
documentation and examples.
Arguments
- x
A
gen_tibble
object.- pca
a
gt_pca
object, as returned bygt_pca_partialSVD()
orgt_pca_randomSVD()
.- k
Number of principal components to use in the analysis.
- n_cores
Number of cores to use.