reactome / ReactomeGSA

R client for the REACTOME Analysis Service for comparative multi-omics gene set analysis
Other
21 stars 4 forks source link

plot_gsva_pathway label squished and how to assign specific color #78

Open camilla0801 opened 1 year ago

camilla0801 commented 1 year ago

Hi,

I want to show the barplot for a specific terms withplot_gsva_pathway but I have 2 issues which I cannot find solutions here or in the web:

  1. some labels are squished, is there a way I can change their size or let them appear? assign the margin as it has been suggested for the heatmap didn't`t work for me
  2. I am performing the analysis on an integrated dataset and I have 2 conditions (A,B) and multiple clusters (approximately 30 in each condition) so it's really difficult to visualize each cluster within each condition so I there a way I can assign one color for condition A and one color for condition B among all clusters? I thought I could done it simply with col = and specify then condition but it doesn't`t work

Thank you Camilla

jgriss commented 1 year ago

Hi @camilla0801,

Thanks a lot for your feedback!

About question 1: Can you maybe share the code you used to define the margins? Normally, this should work. How do you output your image? If you use png or jpg etc. you can additionally set the size and resolution of your image which can also help.

About question 2: Is this also referring to the heatmap or are you trying to create a different plot?