YuLab-SMU / clusterProfiler

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

Upsetplot is cropped #696

Open nina-hahn opened 5 months ago

nina-hahn commented 5 months 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 5 months 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 5 months 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 5 months 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 5 months ago

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