talgalili / heatmaply

Interactive Heat Maps for R Using plotly
380 stars 73 forks source link

`cellnote_color` argument of `heatmaply()` not documented #276

Closed vgherard closed 2 years ago

vgherard commented 2 years ago

Describe the bug

The argument documentation reads:

***cellnote_color*** The color of the cellnote text to be used.

but no additional documentation is provided.

To Reproduce

?heatmaply

Expected behavior

Documentation.

Additional context

Hello and thanks for this great package. I am not able to find documentation for the cellnote_color argument of the plotting function. I was looking for this in order to customize the color scale without affecting, for instance, the row and column clustering; but the information provided and the "auto" default does not give much hints. Am I missing something?

Thank you, goodbye

Valerio.

alanocallaghan commented 2 years ago

I'm not sure what detail you want. Given that the cellnote doc reads #' @param cellnote Values to be shown as annotations atop the heatmap cells. I don't know why cellnote_color would have anything to do with the color scale

vgherard commented 2 years ago

Wops. Sorry, I got confused, I thought this was for customizing the cell color... forget this :)

alanocallaghan commented 2 years ago

Ah, yeah you'll want scale_fill_gradient_fun or colors