dis.cors: Internal function of DoCorrelationPlotwithStarts.

Description Usage Arguments Examples

Description

Distance matrix based on correlations.

Usage

1
dis.cors(x, abs = FALSE, method = "spearman", ...)

Arguments

x:

symetrix matrix indicating the correlation coefficient for each column/row pair of variables

method:

correlation method (spearman, perason etc, default to spearman)

abs:

should the distance be 1-cor (FALSE,default) or 1-|cor| (TRUE). In teh later case, variables negative correlated will be as near as positive correlated

Examples

1
2
# in this examples, I want to cluster samples
a<-dis.cors(cor(exprs(reset)[1:10,]), abs=TRUE,method='pearson')

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