PeakML.Isotope.UntargettedIsotopes: PeakML.Isotope.UntargettedIsotopes

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

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

Description

Plot isotopes of all identified compounds in the PeakML file.

Usage

1
	PeakML.Isotope.UntargettedIsotopes(baseDir, outFileName, mzXMLSrc=NULL, outDirectory = "untargettedIsotops", peakMLFile="final_combined_related_identified.peakml", analyse = "databases", databases = c("kegg"), sampleGroups = NULL, layoutMtx = NULL, ppm = 3, trendPlots = NULL, fillGaps = "ALLPEAKS", useArea = FALSE, stdRTWindow = NULL, filterStringency=30, baseCorrection=FALSE, numSlaves=1, label=1, exclude_from_plots = NULL)

Arguments

baseDir

The parent directory where PeakML files are located.

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.

analyse

Indicates what type of analysis you want to run. The tree possible values at the moment are "identified", "databases" and "allmasses". "identified" and "allmasses" can be used to run an untargetted isotope identification procedure on the given PeakML file looking for all the identified compounds or all masses detected. "databases" can be used to run entire databases such as KEGG and HMDB.

databases

A vector containing databases as numbers or strings based on which initial annotations were made or the databases that has to be used for identification. For more information, see 'Identify peaks from databases' section at http://mzmatch.sourceforge.net/tutorial.mzmatch.r.advanced.php

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.

filterStringency

This is the percentage of samples that needs to be labelled. It can be left to "NULL" if the filter has to be turned off.

baseCorrection

TRUE or FALSE based on the requirement of base correction for noisy peaks. Enabling this will make the processing slower.

numSlaves

This parameter can be set to indicate the number of CPU cores that can be used for isotope identification and quantification.

label

This is the label to be identified. 1 = C13; 2= N15. More will be added as and when implemented.

exclude_from_plots

Exclude sample groups in this list from the plots. Can be used for removing blanks and standards from the result plots.

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.UntargettedIsotopes generates a pdf document containing the plots of isotopes of each identified compound in the PeakML file specified.

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.