Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: gedi2
Type: Package
Title: Gene Expression Decomposition and Integration
Version: 2.3.4
Date: 2026-05-09
Version: 2.3.5
Date: 2026-06-09
Authors@R: c(
person("Arsham", "Mikaeili Namini", email = "arsham.mikaeilinamini@mail.mcgill.ca", role = c("aut", "cre")),
person("Hamed", "S.Najafabadi", email = "hamed.najafabadi@mcgill.ca", role = c("aut"))
Expand Down
15 changes: 15 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# gedi 2.3.5

## New features

* `plot_features()` gains two differential projection types (#26):
* `projection = "diffexp"` plots the per-cell differential expression for
selected genes, given a `contrast` (optionally adding the global offset via
`include_O = TRUE`). The full J x N matrix is never materialised.
* `projection = "diffadb"` plots the per-cell differential pathway activity
for selected pathways (requires a gene-level prior `C`).
* New method `model$diffADB(contrast)` returns the differential pathway
activity (num_pathways x N). It is the exact differential of `ADB`
(i.e. `ADB(Z + dQ) - ADB(Z)`), applying the same `solve_A` shrinkage so it
stays on the same scale as `model$projections$ADB`.

# gedi 2.3.1

## CRAN Compliance
Expand Down
4 changes: 4 additions & 0 deletions R/RcppExports.R
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,10 @@ getDiffExp_cpp <- function(Rk_list, H_rotation, contrast, D, Bi_list, verbose =
.Call(`_gedi2_getDiffExp_cpp`, Rk_list, H_rotation, contrast, D, Bi_list, verbose)
}

getDiffADB_cpp <- function(Rk_list, H_rotation, contrast, C_rotation, inputC, D, Bi_list, S_A, verbose = 0L) {
.Call(`_gedi2_getDiffADB_cpp`, Rk_list, H_rotation, contrast, C_rotation, inputC, D, Bi_list, S_A, verbose)
}

compute_svd_factorized_cpp <- function(Z, D, Bi_list, verbose = 0L) {
.Call(`_gedi2_compute_svd_factorized_cpp`, Z, D, Bi_list, verbose)
}
Expand Down
3 changes: 3 additions & 0 deletions R/gedi_class.R
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,9 @@ GEDI <- R6Class(
diffExp = function(contrast, include_O = FALSE) {
compute_diffExp(self, private, contrast, include_O)
},
diffADB = function(contrast) {
compute_diffADB(self, private, contrast)
},

# =========================================================================
# Dimensionality Reduction Methods
Expand Down
Loading
Loading