update_mu {SparseMDC}R Documentation

update_mu

Description

Update the mean/center values for each cluster and dimension. This function runs inside sparse_mdc.

Usage

update_mu(clusters, pdat, nclust, dim, lambda1, lambda2, ngenes, delta)

Arguments

clusters

List containig cluster assignments for each dimension as entries.

pdat

list with D entries, each entry contains data d, p * n matrix. This data should be centered and log-transformed.

nclust

Number of clusters in the data.

dim

Total number of conditions, D.

lambda1

Calculated penalty parameter for mean size.

lambda2

Calculated penalty parameter for mean difference.

ngenes

The number of genes in the data.

delta

Small term to ensure existance of solution.

Value

A list containing the center values for the clusters in each dimensions as entries.


[Package SparseMDC version 0.99.5 Index]