pcadapt has been developed to detect genetic markers involved in biological adaptation. pcadapt provides statistical tools for outlier detection based on Principal Component Analysis (PCA).
To run the package, you can install it from CRAN:
install.packages("pcadapt")
library(pcadapt)
A tutorial for pcadapt is available. To access to the vignette, type the following command in your R
console:
browseVignettes("pcadapt")
If you desire to install from GitHub, run the following commands:
install.packages("devtools")
devtools::install_github("bcm-uga/pcadapt")
[1] Luu, K., Bazin, E., & Blum, M. G. (2017). pcadapt: an R package to perform genome scans for selection based on principal component analysis. Molecular Ecology Resources, 17(1), 67-77.
[2] Duforet-Frebourg, N., Luu, K., Laval, G., Bazin, E., & Blum, M. G. (2015). Detecting genomic signatures of natural selection with principal component analysis: application to the 1000 Genomes data. Molecular biology and evolution, msv334.