You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to write bigger text in my heatmap, but using a fontsize of 30 it causes this:
As you can see, the "M" of "Myofibroblasts" is cutted.
Is there a method to "oblige" the heatmap to adapt to the fontsize? I would like to be free to use the size I want.
Moreover, do you know a method to have a bigger legend, without having the letters cutted, please?
Hello everyone,
I am trying to write bigger text in my heatmap, but using a fontsize of 30 it causes this:
As you can see, the "M" of "Myofibroblasts" is cutted.
Is there a method to "oblige" the heatmap to adapt to the fontsize? I would like to be free to use the size I want.
Moreover, do you know a method to have a bigger legend, without having the letters cutted, please?
I am using this code:
text_size <- ggfun::gpar(fontsize=30)
plot <- tidyHeatmap::heatmap(.data=results, .row=Sender, .column=Receiver, .value=Weight,
palette_value=c("white","#d0d1e6","#045a8d"), show_heatmap_legend=T,
row_names_gp=text_size, column_names_gp=text_size, column_title_gp=text_size, row_title_gp=text_size) |>
tidyHeatmap::as_ComplexHeatmap() |>
ComplexHeatmap::draw(column_title = title,
column_title_gp = text_size)
Thank you so much in advance!
The text was updated successfully, but these errors were encountered: