normalizeH-methods: Normalize the signatures matrix (H)

normalizeHR Documentation

Normalize the signatures matrix (H)

Description

After row normalization 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

normalizeH(nmf_exp, ...)

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

Arguments

nmf_exp

an object of class ButchR_NMF.

...

additional parameters.

Value

a ButchR_NMF object normalized by H.

Examples

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

## End(Not run)

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