Skip to content

[FEATURE] Allow custom legend titles for row_side_colors in ggheatmap() #312

@juliagcurras

Description

@juliagcurras

Hi there!

I'm trying to figure out whether it's possible to change the legend title for the grouping column when using the row_side_colors argument in the heatmaply::ggheatmap() function.

Here’s a minimal example using the iris dataset:

heatmaply::ggheatmap(
  x = iris[, -ncol(iris)],
  row_side_colors = iris[,"Species", drop=F]
) 

Output:
Image

I've tried various combinations of RowSideColors, row_side_colors, and row_side_palette, but I haven’t found a way to modify the legend title.

Thank you very much in advance for any help!

Best,
Julia

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions