clusterProfiler
clusterProfiler copied to clipboard
Customize barplot(ggo,...) bar order by count number
Dear Professor YU,
Now, I am using your clusterProfiler
, it is really a fantastic one comparing to all I used.
I wonder if it's possible to change the bar order by decreasing gene count number, when using function barplot(ggo,drop=T,showCategory=20)
. There are too many terms in my GO analysis, I want only to show the first 20 GO terms with the biggest number.
Thank you for your time, if any convenience.
Best regards, Yunlong JIA
Have you found the answer? I want to change the order of category of y-axis
To order the barplot based on gene counts use order = TRUE
.