Skip to content

Commit

Permalink
add default mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
Yunuuuu committed Dec 24, 2024
1 parent 2a1cb48 commit 886957f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/layout-heatmap-.R
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ heatmap_layout.default <- function(data = NULL, mapping = aes(),
width = width, height = height,
class = "HeatmapLayout"
)
# add default mapping
ans@plot <- ggadd_default(ans@plot, mapping = aes(.data$.x, .data$.y))
ans@filling <- filling
ans
}
Expand Down

0 comments on commit 886957f

Please sign in to comment.