Fast Principal Component Analysis for Outlier Detection
Overview
Methods to detect genetic markers involved in biological adaptation. 'pcadapt' provides statistical tools for outlier detection based on Principal Component Analysis. Implements the method described in (Luu, 2016) DOI:10.1111/1755-0998.12592 and later revised in (Privé, 2020) DOI:10.1093/molbev/msaa053.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-05-02
- NOTE12 OK, 2 NOTE2026-04-22
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
Show 1 earlier changeHide 1 earlier change
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 19 (12 internal)
- Examples that run
- 25%1 run in a plain check · 3 hold no code
- Exported functions with examples
- 21%
- Documented parameters
- 99%
- Return-value docs
- 21%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 32
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Issues over time
PRs over time
Commits over time
Commit identities over time
4 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/bcm-uga/pcadapt on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-09-08
Dependencies
Installing pcadapt adds 40 packages (22 with compiled code, 43 MB of source tarballs). Heaviest: BH 14 MB, ggplot2 6.0 MB, data.table 5.7 MB.
Code & Tests
Datasets
People & History
Previously maintained by Michael Blum (4.0.0 to 4.1.0) and Keurcien Luu (1.0 to 3.0.4).
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 4.4.1Latest
- RR 4.5.0 released · 2025-04-11
- 4.4.02024-09-24 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 4.3.52023-08-29 · diff ↗
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 4.3.32020-05-05 · diff ↗
- RR 4.0.0 released · 2020-04-24
- unarchivedReturned to CRAN2020-02-28
- 4.3.12020-02-28 · diff ↗
- archivedRemoved from CRAN2020-02-19check problems were not corrected despite reminders
- RR 3.6.0 released · 2019-04-26
- 4.1.02019-02-27 · diff ↗
Show 24 earlier eventsHide 24 earlier events
- unarchivedReturned to CRAN2018-07-03
- 4.0.32018-07-03 · diff ↗
- RR 3.5.0 released · 2018-04-23
- archivedRemoved from CRAN2018-04-14there are out-of-memory writes
- unarchivedReturned to CRAN2018-04-13
- 4.0.12018-04-13 · diff ↗
- archivedRemoved from CRAN2018-04-06compiled code made illegal writes
- unarchivedReturned to CRAN2018-04-05
- 4.0.02018-04-05 · diff ↗ ·
removed 13 exports
compute.pval, convert.line, corpca, cover.to.pool, create.pcadapt, create.pcadapt.pool, get.pool.matrix, manhattan.plotting, neutral.plotting, pvalqq.plotting, sample.geno, score.plotting, scree.plottingadded 8 exports
bed2matrix, hist_plot, manhattan_plot, qq_plot, run.pcadapt, score_plot, scree_plot, writeBed - archivedRemoved from CRAN2018-02-21policy violation Misrepresentation of authorship of contents of 'src_Lapack' and 'src_convert' directories
- RR 3.4.0 released · 2017-04-21
- 3.0.4
- 3.0.3
- 3.0.22016-06-21 · diff ↗
- 3.0.12016-06-14 · diff ↗ ·
removed 1 export
read4pcadaptadded 3 exports
get.pc, get.pop.names, read.pcadapt - RR 3.3.0 released · 2016-05-03
- 3.02016-04-15 · diff ↗ ·
removed 11 exports
computeStats, fstCalc, fstGeno, getPopColors, manhattanPlot, neutralDistribution, pval, pvalqqPlot, read.genotype, scoresPlot, screePlotadded 8 exports
compute.pval, create.pcadapt, get.score.color, manhattan.plotting, neutral.plotting, pvalqq.plotting, score.plotting, scree.plotting - 2.22016-02-13 · diff ↗
- 2.1.12016-01-05 · diff ↗
- 2.12015-12-18 · diff ↗
- 2.0.12015-11-09 · diff ↗
- 2.02015-11-04 · diff ↗ ·
removed 7 exports
fdrCalc, fdrControl, fdrList, kurtosis, outlier, sdevEstimation, sdevListadded 3 exports
computeStats, fstCalc, fstGeno - 1.02015-09-05
- RR 3.2.0 released · 2015-04-16
Package metadata
- First published
- 2015-09-05
- Total releases
- 20 / 11 yrs
- License
- GPL (>= 2) OSI
- Download size
- 1.6 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("pcadapt")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1093/molbev/msaa053.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.