Replies: 1 comment 1 reply
-
The heatmaps are indeed not using ggplot - so all styling and saving of cor_heatmap or comp_heatmap is based on standard approaches for ComplexHeatmap output For fonts: For saving and styling, same methods as with base Or if using rmarkdown or quarto, set the chunk fig width and fig height and dpi |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello David,
Starting a new discussion post here for another aesthetics-related question and also asking a minor question.
1/ Is there a way to use custom fonts and adjust the aesthetics in figures created with microviz?
In
ord_plot
, I changed the font to what I want by adding the codetheme(text = element_text(family = "Georgia")
since it is ggplot based and I am more familiar with it. But for heatmaps, I was wondering if there is a way to choose custom fonts? Also, can I adjust other aesthetics such as font size in heatmaps?2/ What is the recommended way of saving a heatmap, if I want more customization?
for ggplot-based figures, I always use
ggsave()
since I can customize thedpi
I want and also the dimension freely. But for heatmaps, I am a bit unsure how I can achieve the same result.Thank you so much!
Beta Was this translation helpful? Give feedback.
All reactions