PeakML.GapFiller {mzmatch.R}R Documentation

PeakML.GapFiller

Description

For each sample, identify peak sets where that sample is not represented. For each of those peak sets, extract an EIC from RAW data file and add it to the peak set.

Usage

  PeakML.GapFiller(filename, ionisation = "detect", Rawpath = NULL, outputfile,ppm=0,rtwin=0,nSlaves=1, fillAll=FALSE)

Arguments

filename

The name of the PeakML file to load. This file needs to exist, otherwise the function will fail.

ionisation

If value is set to "detect" ionization mode will be detected from peakml file. Values "positive", "negative", "neutral" are also supported.

Rawpath

The path to the raw data, which is needed to read EIC's for peaks which were missed by peak picker. If value is set to NULL, filepath will be detected from peakml file.

outputfile

The name of the PeakML file to write after gap filling.

ppm

Mass window in ppm which to use when mass chromatogram is extracted from RAW data file, before exporting to peakml file. Default value is 0.

rtwin

The retention time window in seconds, defining the range where to look for matches. Default values is 0.

nSlaves

The number of parralles instancet to be run simultaneously. (EXPERIMENTAL, USE AT YOUR OWN RISK)

fillAll

If set to TRUE all chromatograms (alse these which are present in peakml file) will be reintegrated from the raw data file with RT and mass window of the givern peak group (min and max RT and mass values are taken from all existing peaks.) This gives an output where all chromatograms have a constant RT window.+

Details

After combining a biological/technical replicates in the single file, there will always be peak sets that do not include peaks from every sample. This method produces EICs for those missing samples by extracting data from raw data in peak set region.

Value

This function returns no value, peakml file with appended EICs is generated.

Author(s)

Andris Jankevics (a.jankevics@rug.nl), Richard Scheltema (r.a.scheltema@rug.nl), Achuthanuni Chokkathukalam (unni.chokkathukalam@glasgow.ac.uk)

References

PeakML/mzMatch - a file format, Java library, R library and tool-chain for mass spectrometry data analysis. In preparation.

See Also

PeakML.xcms.read


[Package mzmatch.R version 2.0-6 Index]