enrichplot
enrichplot copied to clipboard
Parameter for adjusting font size in treeplot
Hi there,
Thanks for the very useful package!
Not sure if this is a bug or a feature request, but here it is:
the fontsize parameter from the treeplot() function only adjusts the size of the clade, and doesn't affect the size of leaves. From the source code,
treeplot option fontsize is not used in initial call to ggtree, but is then used in add_cladelab.
Here is a (quite extreme) example:
My attempts to fix that using geom_tiplab failed as it superimposes an additional layer with the leaves/tips names, which are then duplicated.
Cheers, Theo
Edit : this is with enrichplot_1.18.0