clusterCor_c {segmenTier} | R Documentation |
Calculates position-cluster correlations for scoring function "icor".
Description
Calculates Pearson's product-moment correlation coefficients
between rows in data
and cluster
, and is used to calculate
the position-cluster similarity matrix for the scoring function "icor".
This is implemented in Rcpp for calculation speed, using
myPearson
to calculate correlations.
Usage
clusterCor_c(data, clusters)
Arguments
data |
original data matrix |
clusters |
cluster centers |
Value
Returns a position-cluster correlation matrix as used in scoring function "icor".
[Package segmenTier version 0.1.2 Index]