R: Barplot of m/z isotope (and optional adduct) relations within...
plotgroup
R Documentation
Barplot of m/z isotope (and optional adduct) relations within an isotope pattern group.
Description
Plots the m/z isotope relations among peaks part of an isotope pattern group detected by pattern.search.
Optionally, adduct relations from adduct.search can be depicted, too.
List of type pattern, i.e. value generated by pattern.search.
adduct
List of type pattern, i.e. value generated by pattern.search. If not used, set to FALSE.
groupID
Isotope pattern group ID of the isotope pattern group to be plotted. Group ID as generated by pattern.search.
massrange
m/z range of other peaks in the HRMS peaks in the data set below and above the smallest and largest m/z of the isotope pattern group to be plotted, respectively.
allmass
Prints only the peaks in the isotope pattern (allmass=FALSE) or also those included via argument massrange (allmass=TRUE).
Details
The upper pannel barplot shows all peaks included by massrange. The lower one only those of the isotope pattern group specified by argument groupID.
Below that, shown by lines, come the isotope relations among peaks. At the bottom, relations of individual peaks in the isotope pattern group to adduct groups
are highlighted, as far as available. Herein, this adduct refers to the adduct assigned to the isotope pattern group, whereas further adducts to those of other peaks
relatable via adduct groups. Peak number refers to the line number of the peak dataframe printed (see value).