Perform Non-Negative Matrix factorization on spectral data
spectralNMF(object, rank, method = "PGNMF", initSpectralData = NULL,
nruns = 10, subsamplingFactor = 3, checkDivergence = TRUE)
number of NMF components to be found
name of the NMF method to be used. "PGNMF" (default), "HALSacc" and "semiNMF" are methods derived from the hNMF package. All methods from the NMF package are also available.
this can be a list of spectralData objects, containing the pure component spectra. It can also be either of the NMF factor matrices with initial values
number of NMF runs. It is recommended to run the NMF analyses multiple times when random seeding is used, to avoid a suboptimal solution
subsampling factor used during NMF analysis
Boolean indicating whether divergence checking should be performed
Scaled NMF model (in accordance with the NMF package definition)