Closed smk5g5 closed 2 years ago
According to my experience, there were several reasons why plotting heatmap becomes very slow:
If you can also send me the data, I can have a closer look.
I think at this step 'row_mat' is a binary matrix I tried to plot it as row annotation but I always get Error: celltype: annotations should be vector/data frame (only df)/matrix/functions.
I don't know how you set the annotation because I cannot see your code. As the error message shows, it is mostly because the format of celltype
is wrong.
Hi,
I don't know why but my complexheatmaps get stuck after I am done plotting one heatmap and plot the next heatmap it takes forever to finish. I was wondering if there is a neat trick to overcome this?
For example in this code I don't know what is going wrong in this code in terms of why it is taking forever to plot?
i.e ht_list = ht + ht2
I think at this step 'row_mat' is a binary matrix I tried to plot it as row annotation but I always get
Error: celltype: annotations should be vector/data frame (only
df)/matrix/functions.
So I am plotting it as a separate heatmap and then cbind unless there is a better way to do it?