This is a test version of Biostars. For the public version, visit https://www.biostars.org.
issue with terms label in Go dotplots

Hello everyone,

I would like to increase the width of the terms label so the terms will not overlap. Any idea how to do this? I have tried label_format = 30 but it did not help

     CC<-dotplot(title="GO term CC",CC, showCategory=20, split=".sign", label_format = 30) + facet_grid(.~.sign)+
      theme(
        text = element_text(size = 14),          # Increase the overall text size
        axis.text = element_text(size = 13),     # Increase the axis text size
        axis.title = element_text(size = 14),    # Increase the axis title size
        plot.title = element_text(size = 16),
        strip.text.x = element_text(size = 14))


CC

Thanks in advance

enter image description here

r clusterprofiler go-terms

1 answer

I think increasing the aspect ratio when saving the image might solve it.

Thanks for your help. I have tried this but it did not help :(

Log in to answer this question.