Match Cases to Controls Based on Genotype Principal Components
Overview
Matches cases to controls based on genotype principal components (PC). In order to produce better results, matches are based on the weighted distance of PCs where the weights are equal to the % variance explained by that PC. A weighted Mahalanobis distance metric (Kidd et al. (1987) DOI:10.1016/0031-3203(87)90066-5) is used to determine matches.
- Change maintainer email address
- Add mandatory ‘Maintainer’ field to Description file
- Increment version number
- Update RoxygenNote version in description file to 7.2.2
From NEWS.md in the release
Install
Health
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Derek W. Brown <derek9@gwmail.gwu.edu>’ Package CITATION file contains call(s) to old-style personList() or as.personList(). Please use c() on person objects instead. Package CITATION file contains call(s) to old-style citEntry(). Please use bibentry() instead.
- NOTE11 OK, 2 NOTENow
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 5
- Examples that run
- 80%4 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
3 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/machiela-lab/pcamatchr on 2026-10-18.
Dependencies
Installing PCAmatchR adds no packages beyond those that come with R.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.3.3Latest
- RR 4.2.0 released · 2022-04-22
- 0.3.22022-03-02 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.3.02021-01-10 · diff ↗
- 0.2.12020-08-04 · diff ↗
- 0.1.62020-04-24
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2020-04-24
- Total releases
- 5 / 6 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 376 KB / 3 files
- Download size
- 836 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("PCAmatchR")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1093/bioinformatics/btaa784.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.