Hi guys,
I have been plotting some results from my RNA seq experiment.
I am using a nice function from the package enrichplot
(explained in detail in the clusterprofiler
vignette) which is called emapplot
(link: http://yulab-smu.top/clusterProfiler-book/chapter12.html#enrichment-map).
Does anyone know how to change the font size in the plot?
Thanks in advance for your help
all the best Luca
I believe that it returns a ggplot2 object. If so, assuming your plot it stored in variable
p
, you can increase the font-size of all text withp <- p + theme(text=element_text(size=12))
.Hi rpolicastro! Thanks for the quick reply. it is actually a "ggraph, gg, ggplot object". I tried your command but it doesn't work because it only changes the font size of the legend, without changing the font size of the categories that are plot....