spectralNMFList {spectralAnalysis}R Documentation

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
)

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

Value

list of SpectraInTimeComp-class

Author(s)

Nicolas Sauwen

Examples



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


[Package spectralAnalysis version 4.3.3 Index]