Añadida explicación de coeficiente de correlación.
This commit is contained in:
@@ -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")
|
||||
```
|
||||
Reference in New Issue
Block a user