Skip to content

Is it possible to increase the gene label size in Combined Results Graph? #116

Answered by YunielFM
fengx90 asked this question in Q&A
Discussion options

You must be logged in to vote

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:

  1. Create the bubble chart from your pathfindR result, in this case, show 40 pathways.
    p <- enrichment_chart(pathwaysT1, top_terms = 40)

  2. 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!

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@YunielFM
Comment options

@fengx90
Comment options

@fengx90
Comment options

@YunielFM
Comment options

Answer selected by egeulgen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants