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 have long (15+ character) strings for my source cluster names, and when I call liana.pl.dotplot(), the resulting plot has headers that overlap with one another and are illegible (see attached screenshot). I also get the seemingly related warning: Fontsize 0.00 < 1.0 pt not allowed by FreeType. Setting fontsize = 1 pt. Is there a way to manually specify font size, or rotate the labels so they are vertical?
Thanks,
Margaret
The text was updated successfully, but these errors were encountered:
Sorry for the delayed response. You can modify the ggplot2 object that liana returns as any other object. So, indeed you could modify/rotate the text from the facet (for the text you show) in any way you wish via the theme method from ggplot2. You could also consider using SCpubr which provides publication-quality version of this plot: https://github.com/enblacar/SCpubr.
However, I have tried it and I doubt it would look better either. Maybe not the most computational advice, but you could consider shortening the names a bit 😃
I have long (15+ character) strings for my source cluster names, and when I call
liana.pl.dotplot()
, the resulting plot has headers that overlap with one another and are illegible (see attached screenshot). I also get the seemingly related warning:Fontsize 0.00 < 1.0 pt not allowed by FreeType. Setting fontsize = 1 pt
. Is there a way to manually specify font size, or rotate the labels so they are vertical?Thanks,
Margaret
The text was updated successfully, but these errors were encountered: