regularizeH-methods: Regularize the signatures matrix (H)

regularizeHR Documentation

Regularize the signatures matrix (H)

Description

After row regularization of the matrix H, the inverse factors are mutiplied with the columns of W in order to keep the matrix product W*H constant.

Usage

regularizeH(nmf_exp, ...)

## S4 method for signature 'ButchR_NMF'
regularizeH(nmf_exp)

Arguments

nmf_exp

an object of class ButchR_NMF.

...

additional parameters.

Value

a ButchR_NMF object regularized by H.

Examples

## Not run: 
data("leukemia")
nmf_exp <- run_NMF_tensor(leukemia$matrix, ranks = 2,
method = "NMF",
n_initializations = 2)
regularizeH(nmf_exp)

## End(Not run)
## Not run: 
data("leukemia")
nmf_exp <- run_NMF_tensor(leukemia$matrix, ranks = 2:10,
method = "NMF",
n_initializations = 10)
regularizeH(nmf_exp)

## End(Not run)

hdsu-bioquant/ButchR documentation built on Jan. 28, 2023, 6:06 p.m.