spectralAnalysis (version 3.12.0)

initializeNMFModel: Initialize NMF model with initial spectral data

Description

Initialize NMF model with initial spectral data

Usage

initializeNMFModel(initSpectralData, spectra, wavelengths = NULL)

Arguments

initSpectralData

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

spectra

spectral matrix, with wavelengths as its rows and time points as its columns

wavelengths

vector of wavelength values