Skip to content

Commit

Permalink
Fixed bug in ExpressionHeatmap. Wrong dependency checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
enblacar committed Aug 10, 2023
1 parent b2357dc commit 14a0544
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# SCpubr v2.X.X (next release)

## `SCpubr::do_EnrichmentHeatmap`

- Fixed a bug that checked the pacakge dependencies for the wrong function.

# SCpubr v2.0.0

This major update focus on a complete re-implementation of all heatmap-based functions into `ggplot2` instead of `ComplexHeatmap`. This will lead to many of the existing code to break. The trade-off between the difficulty of debug, expand and maintain the existing heatmap-based functions with regards to the capabilities ComplexHeatmap offers with regards to ggplot2 was not worthy.
Expand Down
2 changes: 1 addition & 1 deletion R/do_ExpressionHeatmap.R
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ do_ExpressionHeatmap <- function(sample,
# Add lengthy error messages.
withr::local_options(.new = list("warning.length" = 8170))

check_suggests(function_name = "do_EnrichmentHeatmap")
check_suggests(function_name = "do_ExpressionHeatmap")
# Check if the sample provided is a Seurat object.
check_Seurat(sample = sample)

Expand Down

0 comments on commit 14a0544

Please sign in to comment.