From 69d56748143a34dde850c35fb2ddfc0a11c8b70e Mon Sep 17 00:00:00 2001 From: Costa <47926492N@ICO.SCS.local> Date: Tue, 8 Feb 2022 12:55:01 +0100 Subject: [PATCH] =?UTF-8?q?A=C3=B1adida=20explicaci=C3=B3n=20de=20coeficie?= =?UTF-8?q?nte=20de=20correlaci=C3=B3n.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vignettes/citfuns.Rmd | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/vignettes/citfuns.Rmd b/vignettes/citfuns.Rmd index 3bddddd..ad21954 100644 --- a/vignettes/citfuns.Rmd +++ b/vignettes/citfuns.Rmd @@ -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 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. ```{r, fig.width=5, fig.height=4} ggcorrplot(df, var = "Cyt", value = "Value", color = "black", tri="lower") -``` \ No newline at end of file