YuLab-SMU / clusterProfiler

:bar_chart: A universal enrichment tool for interpreting omics data
https://yulab-smu.top/biomedical-knowledge-mining-book/
967 stars 246 forks source link

Upsetplot is cropped #696

Open nina-hahn opened 1 month ago

nina-hahn commented 1 month ago

Dear all,

I used the upsetplot for the kegg results. It is cropped so that I do not see any of the term names. It seems to be too big. How can I change the size?

image

Best, Nina

zoqaiyum commented 3 weeks ago

@nina-hahn , I am facing the same issue in my upsetplot :( I am also unable to add numbers on top of the bars.

nina-hahn commented 2 weeks ago

@zoqaiyum I did not find a solution but managed to improve it using:

x<-upsetplot(gse.BP)
x+theme(plot.margin = margin(t=0.5,
                             r=0.5,
                             b=0.5,
                             l=6,
                             unit = "cm"))
zoqaiyum commented 2 weeks ago

@nina-hahn , this worked for me too! Thank you very much. Would you have any idea on how to add numbers on top of the bars and maybe see which genes are common between the pathways?

nina-hahn commented 2 weeks ago

No, numbers would be great but I do not have a suggestion for that.