Last data update: 2014.03.03

R: Plot and print isotope and adduct relations among peaks of a...
plotcompR Documentation

Plot and print isotope and adduct relations among peaks of a single component

Description

Plot and print isotope and adduct relations among peaks of a single component. Also lists all other peaks of the data set within tolerance ranges of m/z and retention time (RT).

Usage

plotcomp(comp, compoID, peakID = FALSE)

Arguments

comp

List of type comp produced by function combine.

compoID

ID of component to be plotted. For description of component IDs see combine, note section. Use with argument peakID=FALSE.

peakID

ID of a peak in a component; selects the component containing the peak with this ID. For description of peak IDs see note section. Use with argument compoID=FALSE.

Details

The upper plot panel provides a circular plot of peak relations, with m/z increasing clockwise starting from noon. Herein, peaks are represented by their peak IDs; numbers in brackets give decreasing peak intensity ranks over all peaks in the shown component. Adduct relations are symbolized by red lines and isotope relations by blue arrows. Thin instead of thick lines stand for interfering peaks. In addition, all relations, other peaks within range and homologue series information are printed as value of plotcomp

The lower panel barplot shows intensities vs. m/z of both the peaks in the component (bold) and the peaks within tolerance ranges of m/z and RT (grey), defined by arguments mztol and rttol of pattern.search and adduct.search.

Note

Input peaklist is internally sorted and saved in the lists returned by (a) increasing retention time and (b) m/z by all pattern.search, adduct.search and homol.search. Peak IDs refer to this very order - in contrast to group IDs. Different IDs exist for adduct groups, isotope pattern groups, grouped homologue series (HS) peaks and homologue series cluster. Moreover, and at the highest level, IDs exist for the individual components (see note section of combine).

Author(s)

Martin Loos

See Also

combine

Results