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
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: escape
Title: Easy single cell analysis platform for enrichment
Version: 2.5.3
Version: 2.5.4
Authors@R: c(
person(given = "Nick", family = "Borcherding", role = c("aut", "cre"), email = "ncborch@gmail.com"),
person(given = "Jared", family = "Andrews", role = c("aut"), email = "jared.andrews07@gmail.com"),
Expand Down
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 2.5.4 (2025-06-05)

## Bug fixes
* Fix conversion wide-to-long format for ```heatmapEnrichment()```
* Fix issue with t() call on sparse matrices.

# 2.5.3 (2025-05-19)

## Highlights
Expand Down
2 changes: 1 addition & 1 deletion R/heatmapEnrichment.R
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ heatmapEnrichment <- function(input.data,
# ---------- 4. long format for ggplot (base-R) --------------------------
long <- data.frame(
variable = rep(gene.set, each = nrow(agg)),
value = as.vector(t(agg[gene.set])),
value = unlist(agg[gene.set], use.names = FALSE),
group = rep(agg[[group.by]], times = length(gene.set)),
stringsAsFactors = FALSE
)
Expand Down
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
}
loadNamespace("DelayedMatrixStats")
}
cnts[MatrixGenerics::rowSums2(cnts) != 0, , drop = FALSE]
cnts[MatrixGenerics::rowSums2(cnts, na.rm = TRUE) != 0, , drop = FALSE]
}

# -----------------------------------------------------------------------------
Expand Down
Loading