clusterProfiler icon indicating copy to clipboard operation
clusterProfiler copied to clipboard

Upsetplot is cropped

Open nina-hahn opened this issue 1 year ago • 4 comments

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

nina-hahn avatar Jun 05 '24 21:06 nina-hahn

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

zoqaiyum avatar Jun 13 '24 07:06 zoqaiyum

@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"))

nina-hahn avatar Jun 18 '24 21:06 nina-hahn

@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?

zoqaiyum avatar Jun 18 '24 22:06 zoqaiyum

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

nina-hahn avatar Jun 18 '24 22:06 nina-hahn