Skip to content

Commit

Permalink
Add 'Cor' as title to color scale
Browse files Browse the repository at this point in the history
  • Loading branch information
lahuuki committed Dec 11, 2024
1 parent f2c9742 commit 51aa0c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/layer_stat_cor_plot_complex.R
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ layer_stat_cor_plot_complex <- function(cor_stats_layer,
ComplexHeatmap::Heatmap(
matrix = cor_stats_layer,
col = my.col,
name = "Cor",
bottom_annotation = ref_col_annotation,
right_annotation = query_row_annotation,
cell_fun = function(j, i, x, y, width, height, fill) {
Expand All @@ -147,6 +148,7 @@ layer_stat_cor_plot_complex <- function(cor_stats_layer,
ComplexHeatmap::Heatmap(
matrix = cor_stats_layer,
col = my.col,
name = "Cor",
bottom_annotation = ref_col_annotation,
right_annotation = query_row_annotation,
...
Expand Down

0 comments on commit 51aa0c8

Please sign in to comment.