
Run NMF (HALS) on a bulk expression matrix (single run)
rs_nmf_single_bulk.Rd
Runs a single HALS-NMF fit on a dense matrix. Expects samples x features.
The resulting decomposition
V ~ W H places W (samples x k) as
sample-side factors and H (k x features) as feature loadings.
Arguments
- x
Numerical matrix. Rows = samples, columns = features.
- k
Integer. Number of latent factors.
- preprocessing
String. One of
c("none", "sd", "sqrt_sd").- nmf_hals_params
Named list. See
params_nmf_hals().- seed
Integer. Random seed for the NMF initialisation.
- verbose
Integer.
0L- quiet;1L- normal verbosity;2L- detailed verbosity.