talgalili / heatmaply

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

remove row_side_colors text? #297

Closed marwa38 closed 1 year ago

marwa38 commented 1 year ago

Could you please add an argument or make default to remove the text "row_side_colors"

my code

heatmaply(diffGenes,
          colors = myheatcolors3,
          Rowv=as.dendrogram(clustRows),
          RowSideColors=module.color,
          #showticklabels=c(FALSE,FALSE),
          scale='row',
          cexRow = 0.4,
          file = "heatmap_both_distal_kallisto.html")

here is the screenshot pointing out the place where it is. image

marwa38 commented 1 year ago

heatmap_down_distal.zip

alanocallaghan commented 1 year ago

You just need to make RowSideColors a dataframe with names

heatmaply(diffGenes,
          colors = myheatcolors3,
          Rowv=as.dendrogram(clustRows),
          RowSideColors=data.frame("the name that I want to display" = module.color, check.names=TRUE),
          #showticklabels=c(FALSE,FALSE),
          scale='row',
          cexRow = 0.4,
          file = "heatmap_both_distal_kallisto.html")