MNF: Class MNF

Description Usage Arguments Details Value Examples

View source: R/MNF.R

Description

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.

Usage

1
2
3
MNF(dataObject)

MNF(dataObject)

Arguments

dataObject

object of type massImage

Details

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.

Value

object of class MNF

Examples

1
2
3
4
5
6
7
8
9
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)

tofsims documentation built on May 31, 2017, 3:17 p.m.