MNF {tofsims} | R Documentation

## Class MNF

### 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

    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

    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)

[Package tofsims version 1.8.0 Index]