Update the mean/center values for each cluster and dimension.
This function runs inside sparse_mdc
.
update_mu(clusters, pdat, nclust, dim, lambda1, lambda2, ngenes, delta)
List containig cluster assignments for each dimension as entries.
list with D entries, each entry contains data d, p * n matrix. This data should be centered and log-transformed.
Number of clusters in the data.
Total number of conditions, D.
Calculated penalty parameter for mean size.
Calculated penalty parameter for mean difference.
The number of genes in the data.
Small term to ensure existance of solution.
A list containing the center values for the clusters in each dimensions as entries.