-
Hello Ege, Thanks very much for developing a great package for the community! Best, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi Feng, the answer is quite easy. The results from the enrichment plots are actually ggplots. This mean that you can manually customize most of them. Example:
Happy plotting, and indeed, the package rocks! |
Beta Was this translation helpful? Give feedback.
Hi Feng, the answer is quite easy. The results from the enrichment plots are actually ggplots. This mean that you can manually customize most of them. Example:
Create the bubble chart from your
pathfindR
result, in this case, show 40 pathways.p <- enrichment_chart(pathwaysT1, top_terms = 40)
Now you can customize everything in the
ggplot
object, in this case, I am reducing the size of the text on the y-axis to accommodate all the labels. You would need to do the opposite.p + theme(axis.text.y = element_text(size = 7))
Happy plotting, and indeed, the package rocks!