PeakML.Isotope.TargettedIsotopes: PeakML.Isotope.TargettedIsotopes

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

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

Description

Plot isotopes for all compounds listed in the molFormulaFile.

Usage

1
	PeakML.Isotope.TargettedIsotopes(baseDir, molFormulaFile, outFileName, mzXMLSrc=NULL, outDirectory = "targettedIsotops", peakMLFile="final_combined_related_identified.peakml", sampleGroups = NULL, layoutMtx = NULL, ppm = 3, trendPlots = NULL, fillGaps = "ALLPEAKS", useArea = FALSE, stdRTWindow = NULL, baseCorrection=TRUE, label=1, exclude_from_plots=NULL)

Arguments

baseDir

The parent directory where PeakML files are located.

molFormulaFile

A tab separated file containing compound id, compound name, compound formula, followCarbon (the labelling of the carbon to be tracked) along the rows.

outFileName

The output filename

mzXMLSrc

The path to the raw data mzXML files.

outDirectory

The output directory.

peakMLFile

The name of the PeakML file which contains the combined peaks of all samples that are filtered, gap filled and identified. See the advanced metabolomics data processing tutorial at http://mzmatch.sourceforge.net/tutorial.mzmatch.r.advanced.html for more information.

sampleGroups

The sample groups.

layoutMtx

The layout matrix that specifies the layout of the plot to be generated. Leave this as NULL if the number of sample to be plotted is less than or equal to 10. See layout in R more details.

ppm

The ppm to specify the mass window for searching the isotopes.

trendPlots

Leave it to NULL if the default trend plots have to be plots. Else specify the name of the custom trend plots as a vector. Corresponding plot function has to be incorporated into the PeakML.Isotope.plotSamples function.

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

useArea

TRUE if sum of intensities has to be used instead of the maximum of intensities for peak intensity calculations.

stdRTWindow

The standard retention time window. Leave it to NULL if no standard retention time is available for the compound.

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.

label

Specify the isotope used for labelling as a number. The available options are C13, N15, etc. More will be added once tested with with some real dataset.

exclude_from_plots

Exclude the groups in this list from the plots in the output.

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.TargettedIsotopes generates a pdf document containing the plots of isotopes of each compound listed in the file (molFormulaFile) specifed.

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.getIsotopes PeakML.Isotope.getChromData PeakML.Isotope.plotSamples PeakML.Isotope.processTargettedIsotopes


mzmatch.R documentation built on May 31, 2017, 4:31 a.m.