library(complexHeatmap)
library(circlize)
p <- plot_ly(droplevels(data_Frame,
x = ~factor(X),y=~Y,z=~Z,
key=~Z,type = "heatmap",source = "heatplot")%>%
add_annotations(rowAnnotation(row_annotation_need_to_add="Type"))%>%
layout(xaxis=list(title="X"),
yaxis=list(title="Y"),
theme_bw(16))
This is how I want my heat map but in r-plotly:
I am trying to add row annotation in r-plotly. And they do have add_annotation, but I am looking for row annotation in r-plotly. If anyone could help me I would appreciate it. Thank you in advance.