MNF {tofsims} | R Documentation |
Class MNF
contains methods for Maximum Autocorrelation Factors
analysis
This method calculates MNF transform using the diagonal shift method from Switzer and Green (1984) to estimate the noise.
MNF(dataObject) MNF(dataObject)
dataObject |
object of type massImage |
Class MNF
contains methods for Maximum Autocorrelation Factors
analysis
Minimum Noise Fraction according Green et al. (1988) using
diagonal shift method from Switzer and Green (1984) to estimate
the noise. As the original package mzImage
from
Stone et al. 2012 is no longer maintained, we use it as code
base for the present version. The C code was implemented
through Rcpp (Eddelbuettel and Francois, 2011). Practically,
this method uses covDiffCalc
from the MAF method. The
present function is a user constructur that will create a new
analysis slot in the chosen MassSpectra/MassImage object.
object of class MNF
testImage<-MassImage('dummy') testImage<-MNF(testImage) image(analysis(testImage,1), comp = 1) ## Not run: library(tofsimsData) data(tofsimsData) MNF(testImage) image(analysis(testImage,1), comp = 1) ## End(Not run)