title: ggpubr: change font size of stat_compare_means Kruskal-Wallis p-values
body: <p>How can I change the font size of <code>stat_compare_means</code> on the plot below? I.e, change the "Kruskal-Wallis, p = 1.5e-09" and the other p-values font size? I would like to use a smaller font size than the default one...</p>
  
  <p>Following the data example...</p>
  
  <pre><code>library(ggpubr)
  data("ToothGrowth")
  compare_means(len ~ dose,  data = ToothGrowth)
  
  # Visualize: Specify the comparisons I want
  my_comparisons &lt;- list( c("0.5", "1"), c("1", "2"), c("0.5", "2") )
  
  # Plotting
  ggboxplot(ToothGrowth, x = "dose", y = "len",
            color = "dose", palette = "jco")+ 
  stat_compare_means(comparisons = my_comparisons)+ # Add pairwise comparisons p-value
  stat_compare_means(label.y = 50)     # Add global p-value
  </code></pre>
  
  <p>Plot:</p>
  
  <p><a href="https://i.stack.imgur.com/At0Z3.png" rel="noreferrer"><img src="https://i.stack.imgur.com/At0Z3.png" alt="enter image description here"></a></p>