title: How can I display the p-value in a correlation Plot in the right size?
body: <p>I have plotted a correlation matrix resulting from the function &quot;rcorr&quot; with &quot;corrplot&quot;. Everything comes out fine so far, except one thing. I would like to display the p-value for either all, or for at least the cells, where the p-value is higher than the previously defined significance level of 0.005. The &quot;insig&quot; function does display the the p-values for the cells with p&lt;sig, but I can't change the size of the plotted numbers. I tried to use any of the given arguments of the &quot;corrplot&quot; function, but it has no effect of the size of the p-value text. Does anyone know how I could change the size and how I can control the position of the p-values in each cell?</p>
  <p>Here is the code I am using:</p>
  <pre><code>my_data &lt;- FS[,2:27]
  
  # Mark the insignificant coefficients according to the specified p-value significance level
  library(corrplot)
  library(Hmisc)
  FScor &lt;- rcorr(as.matrix(my_data[,1:25],method = c(&quot;spearman&quot;)))
  M_Konz &lt;- FScor$r
  p_matK &lt;- FScor$P
  CorrKonz &lt;- corrplot(M_Konz, type = &quot;upper&quot;, order = &quot;hclust&quot;, insig = &quot;p-value&quot;,
                       p.mat = p_matK, sig.level = 0.005,
                       tl.cex = 0.7,tl.col = &quot;black&quot;,
                       title = &quot;&quot;)
  </code></pre>