getNMFInputMatrix: Get spectralData as input NMF model
Description
Extract spectral input matrix from SpectraInTime-class
and condition properly for NMF modeling
Usage
getNMFInputMatrix(object, method = "")
Value
spectral matrix, with wavelengths as its rows and time points as its columns
Arguments
- object
object of the 'spectralData' class, such as a raw SPC file
- method
name of the NMF method to be used.