DoCorrelationPlotwithStarts: Function that given a correlation matrix and the pvalues,...

Description Usage Arguments Examples

Description

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.

Usage

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, ...)

Arguments

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)

Examples

1
DoCorrelationPlotwithStarts(db.cor, db.pcor, max.stars=0.05, print.corrcoef=TRUE)

mssm-msf-2019/BiostatsALL documentation built on May 22, 2019, 12:16 p.m.