nonNegativePreprocessing {spectralAnalysis} | R Documentation |
condition datamatrix to input in and condition properly for NMF
Description
condition datamatrix to input in and condition properly for NMF
Usage
nonNegativePreprocessing(spectra, method = "")
Arguments
spectra |
matrix of spectra |
method |
name of the NMF method to be used. |
Details
put negative values to zero, transpose, an add small value zero row (wavelength with only zeros)
Value
matrix, with wavelengths as its rows and time points as its columns
[Package spectralAnalysis version 4.3.3 Index]