setup_NMF: Setup NMF config.

View source: R/150_DecompositionConfig.R

setup_NMFR Documentation

Setup NMF config.

Description

Setup NMF config.

Usage

setup_NMF(k = 2L, method = "brunet", nrun = 1L, features = NULL)

Arguments

k

Integer [1, Inf): Number of components.

method

Character: NMF method. See NMF::nmf.

nrun

Integer [1, Inf): Number of runs to perform.

features

Optional Character vector: Names of at least 2 distinct feature columns to decompose. NULL decomposes all numeric features.

Value

NMFConfig object.

Author(s)

EDG

Examples

nmf_config <- setup_NMF(k = 3L)
nmf_config

rtemis documentation built on Oct. 20, 2026, 1:06 a.m.