Skip to content

top annotation showing no hovertext #304

@ricoderks

Description

@ricoderks

If I added a top annotation with col_side_colors the hovertext is not shown, except for the first column. This only happens when the plot_method is set to "plotly". When I use row_side_colors the hovertext is nicely shown for each cell.
It works for both when I set the plot_method to "ggplot", but then I don't have the colorbars for the annotation.

An example:

library(heatmaply)

set.seed(123)
m <- matrix(rnorm(100),
            nrow = 5)

col_ann <- data.frame(group1 = letters[1:20])
row_ann <- data.frame(group2 = LETTERS[1:5])

heatmaply(m,
          col_side_colors = col_ann,
          row_side_colors = row_ann,
          plot_method = "ggplot")

heatmaply(m,
          col_side_colors = col_ann,
          row_side_colors = row_ann,
          plot_method = "plotly")

I'am using version 1.5.0 of heatmaply.

cheers, Rico

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions