From 632b31bd70881885c487f75dafd5cc71c287bacc Mon Sep 17 00:00:00 2001 From: Chirag Parsania Date: Tue, 22 Oct 2024 14:17:22 +1100 Subject: [PATCH] bug fix --- R/chip_related.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/chip_related.R b/R/chip_related.R index 26d9d9e..3379545 100644 --- a/R/chip_related.R +++ b/R/chip_related.R @@ -390,7 +390,7 @@ make_enriched_heatmap_list <- function(x, } if(length(heatmap_color_palette) > 1 ) { - if(length(heatmap_color_palette) != heatmap_columns){ + if(length(heatmap_color_palette) != length(heatmap_columns)){ cli::cli_abort("{.arg heatmap_color_palette} must be equal to the length of {.arg heatmap_columns} ") }