nonNegativePreprocessing: condition datamatrix to input in and condition properly for...

Description Usage Arguments Details Value

View source: R/spectralNMF.R

Description

condition datamatrix to input in and condition properly for NMF

Usage

1
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


spectralAnalysis documentation built on June 12, 2018, 5:04 p.m.