PeakML.Isotope.getIsotopes: PeakML.Isotope.getIsotopes

Description Usage Arguments Details Value Author(s) References See Also

View source: R/PeakML.Isotope.getIsotopes.R


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).


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



The peak data matrix.


Path to where mzXML files are stored as string.


Sample names as a vector.


The element whose isotope we are interested in.


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


The unlabelled mass of the compound in question.


The ppm to calculate the mass window.


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


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.


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


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


"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".


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.


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]].


Achuthanuni Chokkathukalam ( Andris Jankevics (


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

andzajan/mzmatch.R documentation built on Dec. 1, 2020, 11:33 a.m.