Description Usage Arguments Value
Calculates the score for each combination of cluster assignments
and center values. This function runs inside sparse_mdc
.
1 | score_calc(pdat, clusters, mu, lambda1, lambda2, nclust, delta, dim)
|
pdat |
list with D entries, each entry contains data d, p * n matrix. This data should be centered and log-transformed. |
clusters |
List containig cluster assignments for each dimension as entries. |
mu |
list with D entries, each entry contains centers for data d, p*k matrix. |
lambda1 |
Penalty parameter for mean size. |
lambda2 |
Penalty parameter for mean difference. |
nclust |
Number of clusters in the data. |
delta |
Small term to ensure existance of solution, default is 0.0000001. |
dim |
Total number of conditions, D. |
The caluculated score.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.