PeakML.Methods.getElements {mzmatch.R}R Documentation

PeakML.Methods.getElements

Description

This function will return the number of a specified element in a given formula.

Usage

	PeakML.Methods.getElements(formula, element)

Arguments

formula

The formula.

element

The element we are interested in.

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.Methods.getElements returns the number of a specified element in a given formula, as a number.

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.Methods.getCarbon


[Package mzmatch.R version 2.0-6 Index]