Skip to content

Commit 5eae8bd

Browse files
committed
v2.6.1
Small bug from GSVA in unit tests fix
1 parent 84570aa commit 5eae8bd

4 files changed

Lines changed: 12 additions & 3 deletions

File tree

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: escape
22
Title: Easy single cell analysis platform for enrichment
3-
Version: 2.6.0
3+
Version: 2.6.1
44
Authors@R: c(
55
person(given = "Nick", family = "Borcherding", role = c("aut", "cre"), email = "ncborch@gmail.com"),
66
person(given = "Jared", family = "Andrews", role = c("aut"), email = "jared.andrews07@gmail.com"),

NEWS.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
2+
# 2.6.1
3+
4+
Update to 2.6.0 to match Bioconductor Release 3.22 on 2025/10/30
5+
6+
## BUG FIXES
7+
* Fixed issue `densityEnrichment()` interaction with GSVA package through the function `compute.gene.cdf`
8+
9+
110
# 2.5.5 (2025-06-11)
211

312
## Bug fix & enhanced functionality

R/densityEnrichment.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ densityEnrichment <- function(input.data,
6767
tmp <- cnts[, cols, drop = FALSE]
6868

6969
dens <- suppressWarnings(
70-
compute.cdf(tmp, seq_len(ncol(tmp)), TRUE, FALSE)
70+
compute.cdf(tmp, seq_len(ncol(tmp)), FALSE, FALSE)
7171
)
7272
ord <- apply(dens, 2, order, decreasing = TRUE) # genes × cells
7373
scores <- vapply(seq_len(ncol(ord)),

tests/testthat/test-densityEnrichment.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ GS <- list(
77
)
88

99
# helper: number of groups in default 'ident' column
10-
n_groups <- length(unique(as.character(Idents(pbmc))))
10+
n_groups <- length(unique(as.character(SeuratObject::Idents(pbmc))))
1111

1212

1313
# ── 1 Core functionality returns patchwork object ──────────────────

0 commit comments

Comments
 (0)