spectralAnalysis (version 4.3.3)

spectralNMFList: Perform Non-Negative Matrix factorization on list of SPC files

Description

Perform Non-Negative Matrix factorization on list of SPC files

Usage

spectralNMFList(
  objectList,
  rank,
  method = "PGNMF",
  initSpectralData = NULL,
  nruns = 10,
  subsamplingFactor = 3,
  checkDivergence = TRUE,
  maxIter = 1000
)

Value

list of SpectraInTimeComp-class

Arguments

objectList

list of SPC files

rank

number of NMF components to be found

method

name of the NMF method to be used, consult the help of the 'nmf' function from the NMF package for the methods available by default

initSpectralData

list of SPC files containing pure component spectra

nruns

number of NMF runs.

subsamplingFactor

subsampling factor used during NMF analysis

checkDivergence

Boolean indicating whether divergence checking should be performed

maxIter

maximum number of iterations per NMF run

Author

Nicolas Sauwen

Examples

Run this code
# \donttest{

   spectralData    <-  getListOfSpectraExample()
   spectraWithNmf  <-  spectralNMFList( spectralData , rank = 2 )
# }

Run the code above in your browser using DataLab