PeakML.Isotope.getIsotopes {mzmatch.R}R Documentation

PeakML.Isotope.getIsotopes

Description

This function will return location of isotope peaks in the peak data matrix that fall in the given mass window and retention time window (if provided).

Usage

	PeakML.Isotope.getIsotopes(peakDataMtx, mzXMLSrc, sampleNames, label, numElements, metMass, ppm, massCorrection, baseCorrection, stdRT=NULL, stdRTWindow=NULL, fillGaps="ALLPEAKS")

Arguments

peakDataMtx

The peak data matrix.

mzXMLSrc

Path to where mzXML files are stored as string.

sampleNames

Sample names as a vector.

label

The element whose isotope we are interested in.

numElements

The number of specified element in the compound plus one (this is to handle the unlabelled as well).

metMass

The unlabelled mass of the compound in question.

ppm

The ppm to calculate the mass window.

massCorrection

Requied if gap fill is TRUE. This is to correct the natural mass with the ionised mass. See PeakML.Methods.getMassCorrection().

baseCorrection

Specifies if baseCorrection has to be applied for all peaks. This is especially helpfull while analysing noisy peaks. Leave it to TRUE in most cases.

stdRT

The stand RT if available else provide NULL to this function.

stdRTWindow

The time in seconds to get the retention time window. Else leave as NULL.

fillGaps

"ALLPEAKS" if all the peaks are to gap filled, requied to fill missing signals in some part of the curve. "MISSINGPEAKS", if only the missing peaks have to be filled Or "NONE" if no peaks have to be gap filled. Defaults to "ALLPEAKS".

Details

The PeakML file format defines an open and extensible file format for storing extracted hyphenated mass spectrometry data. As such, the format will enable users to store intermediate data in a structured manner, but more importantly, to exchange data between different data analysis software. This will give complete flexible control to the users of data analysis software to cherry pick those components best suited to their needs. The PeakML.Methods contains a set of R functions that will enable end users to rapidly write scripts to manipulate PeakML files.

Value

PeakML.Isotope.getIsotopes returns the location of isotope peaks in the peak data matrix that fall in the given mass window and retention time window as a list of the form isotope[[peak_group]][[isotope]][[sample]].

Author(s)

Achuthanuni Chokkathukalam (unni.chokkathukalam@glasgow.ac.uk) Andris Jankevics (a.jankevics@rug.nl)

References

PeakML/mzMatch: A File Format, Java Library, R Library, and Tool-Chain for Mass Spectrometry Data Analysis, Richard A. Scheltema, Andris Jankevics, Ritsert C. Jansen, Morris A. Swertz, Rainer Breitling, Analytical Chemistry, 2011 83 (7), 2786-2793.

See Also

PeakML.Isotope.getMassWindow PeakML.Isotope.filterPeaks PeakML.Methods.getRawSignals PeakML.Methods.getPPMWindow


[Package mzmatch.R version 2.0-6 Index]