Browse Source

Añadida explicación de coeficiente de correlación.

main
Costa 2 years ago
parent
commit
69d5674814
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      vignettes/citfuns.Rmd

+ 7
- 1
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")
```

Loading…
Cancel
Save