Gene Expression Decomposition and Integration
Overview
A memory-efficient implementation for integrating gene expression data from single-cell RNA sequencing experiments. Uses a C++ backend with thin R wrappers to enable analysis of large-scale single-cell datasets. The package supports multiple data modalities including count matrices, paired data (splicing, RNA velocity, CITE-seq), and binary indicators. It implements a latent variable model with block coordinate descent optimization for dimensionality reduction and batch effect correction. The method is described in Mikaeili Namini et al. (2026) doi:10.1093/bioinformatics/btag334, building on the original GEDI model of Madrigal et al. (2024) doi:10.1038/s41467-024-50963-0.
Maintenance
- Compatibility with Eigen 5.0 (upcoming RcppEigen 0.4.x). Eigen 5.0 removes
Eigen::MappedSparseMatrix, so the sparse-matrix helperscompute_Yp(),compute_Mp(),compute_s_0(),compute_o_0()andeigenSparseMatVecProduct()now takeEigen::Map<Eigen::SparseMatrix<double>>instead. The package still builds against the current CRAN RcppEigen (0.3.4.0.2) and the RcppEigen release candidate (0.4.9.9-2). No user-visible changes. Contributed by Dirk Eddelbuettel (@eddelbuettel) in #28; see RcppCore/RcppEigen#151 for the wider Eigen 5.0 migration.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK7 OK2026-05-20
Documentation
- Help pages
- 28 (13 internal)includes a package overview page
- Examples that run
- 13%2 run in a plain check · 14 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 100%
- Documented parameters
- 98%
- Return-value docs
- 100%
- Help pages citing references
- 4%
Downloads
Repository
- PRs merged (all time)
- 94%
- Median days to close, 50 most recently updated closed issues
- 1
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
Commit identities over time
5 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/csglab/gedi2 on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows
GitHub Pages site last deployed 2025-11-05
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 2.3.6Latest
- 2.3.42026-05-19
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-05-19
- Total releases
- 2 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.0.0
- Download size
- 121 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("gedi2")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-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.