|
@ -123,8 +123,14 @@ By default, ggcorrplot converts the p-value into *star* significance equivalence |
|
|
ggcorrplot(df, var = "Cyt", value = "Value", color = "white", stat="pval") |
|
|
ggcorrplot(df, var = "Cyt", value = "Value", color = "white", stat="pval") |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
ggcorrplot uses "pearson" by default to obtain a correlation coeficient, although "spearman" is also available. |
|
|
|
|
|
|
|
|
|
|
|
```{r, fig.width=5, fig.height=4} |
|
|
|
|
|
ggcorrplot(df, var = "Cyt", value = "Value", color = "white", stat="pval", method="spearman") |
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Finally, you can show only the upper part or the lower part of the specular matrix. |
|
|
Finally, you can show only the upper part or the lower part of the specular matrix. |
|
|
|
|
|
|
|
|
```{r, fig.width=5, fig.height=4} |
|
|
```{r, fig.width=5, fig.height=4} |
|
|
ggcorrplot(df, var = "Cyt", value = "Value", color = "black", tri="lower") |
|
|
ggcorrplot(df, var = "Cyt", value = "Value", color = "black", tri="lower") |
|
|
``` |
|
|
|