Dimension Reduction of Non-Normally Distributed Data
Overview
Implements a generalized version of principal components analysis (GLM-PCA) for dimension reduction of non-normally distributed data such as counts or binary matrices. Townes FW, Hicks SC, Aryee MJ, Irizarry RA (2019) doi:10.1186/s13059-019-1861-6. Townes FW (2019) arXiv:1907.02647.
This release should be backwards-compatible even though some arguments are now deprecated.
Added
- AvaGrad optimizer which is faster and more numerically stable than Fisher scoring.
- Minibatch methods (memoized and stochastic gradients) to support large sparse Matrices
- Automatic tuning of optimization hyperparameters (learning rate or penalty)
- Negative binomial likelihood with feature-specific overdispersion parameters
- print and predict methods for fitted glmpca object
Changed
- more detailed documentation of main
glmpcafunction - split off large blocks of code in the main
glmpcafunction to separate functions - organize results as an S3 class instead of a list
- moved arguments
penaltyandverboseinto thectlparameters list
Show all changes in 0.2.0Hide the rest of the changes in 0.2.0
- deprecated family
multandbern, replaced with familybinom - control parameter
epshas now been renamedtol
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: ‘F. William Townes <will.townes@gmail.com>’
The Description field contains
<arXiv:1907.02647>.
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
Found the following URLs which should use \doi (with the DOI name only):
File ‘glmpca.Rd’:
https://doi.org/10.1186/s13059-019-1861-6- NOTE11 OK, 2 NOTENow
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 2
- Examples that run
- 100%1 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 85%
- Return-value docs
- 100%
- Help pages citing references
- 50%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 17
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Issues over time
PRs over time
2 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/willtownes/glmpca on 2026-10-22.
Dependencies
Installing glmpca adds no packages beyond those that come with R.
Code & Tests
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
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.2.0Latest
- RR 4.0.0 released · 2020-04-24
- 0.1.02019-09-27
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2019-09-27
- Total releases
- 2 / 7 yrs
- License
- LGPL (>= 3) | file LICENSE OSI · relicensed from Artistic-2.0 in 0.2.0
- Minimum R
- ≥ 3.5
- Download size
- 163 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("glmpca")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.