Description Usage Arguments Examples
Function that given a correlation matrix and the pvalues, makes a heatmap representing the pairwise correlation. It's used by CorrelationHeatmap_Samples functions. The correlation coeficient appears in the lower diagonal and the p-values based * are in the upper diagonal.
1 2 3 | DoCorrelationPlotwithStarts(db.cor, db.pcor, max.stars = 0.05,
print.corrcoef = TRUE, title = "Correlations", breaks = seq(-1, 1,
0.25), stars.size = 2, ...)
|
db.cor: |
symetrix matrix indicating the correlation coefficient for each column/row pair of variables |
db.pcor: |
symetrix matrix indicating the p-value associated with the correlation coefficient for each column/row pair of variables |
max.stars: |
pvalue that will be represented by one asterisc (*) . If max.stars=0.05 (default), ***=0.001,**=0.01, *=0.05 |
print.corrcoef: |
Logicalindicating if correlation coeficiets should be printed. Default to TRUE. |
title: |
title for the plot |
breaks: |
color breaks for heatmap, defualt seq(-1,1,0.25); |
stars.size: |
size of the text overlay in the figure (correlations and p values) |
1 | DoCorrelationPlotwithStarts(db.cor, db.pcor, max.stars=0.05, print.corrcoef=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.