Description Usage Arguments Details Value Note Author(s) See Also Examples
Produce a vector and histogram of m/z differences among peaks in a HRMS data set. Frequent m/z differences may be relatable to isotope patterns and the presence of different adducts.
1 |
peaklist |
Dataframe of HRMS peaks with three numeric columns for (a) m/z, (b) intensity and (c) retention time, such as |
histbreaks |
Number of histogram breaks. |
rttol |
Window (upper and lower difference bound, relative to the one peak) of retentiom time (RT) differences of peaks to the one peak screened from, see details and note. Units as given in column 3 of peaklist argument, e.g. [min]. |
mztol |
Window (upper and lower difference bound, relative to the one peak) of m/z differences [u] of peaks to the one peak screened from, see details. |
plotit |
Should histogram be plotted? If |
For each one peak in the dataset, plotdiff
screens for other peaks within arguments rttol
and mztol
, saves their m/z difference to the m/z value
of the one peak and, over all one peaks, finally generates a histogram of all these m/z differences. Thus, and depending on the resolution set by argument histbreaks
,
frequent m/z differences can be visualized.
Vector diffs
of m/z differences. Can serve as input to deter.iso
.
Argument rttol
can e.g. be used to only include m/z differences of peaks with a higher RT relative to that of the one peak (as is the case in homologue series).
For example, let one peak have RT=12 min. Using rttol=c(1,4)
, only m/z differences with peaks having a RT in between 13 and 14 min will then be screened for this one peak.
Akin for argument mztol
.
Martin Loos
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.