Description Usage Arguments Details Value Author(s) See Also Examples
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.
1 |
pattern |
List of type pattern, i.e. value generated by |
adduct |
List of type pattern, i.e. value generated by |
groupID |
Isotope pattern group ID of the isotope pattern group to be plotted. Group ID as generated by |
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 ( |
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).
Dataframe with peaks, see argument allmass
.
Martin Loos
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | #############################################################
data(peaklist);
data(adducts);
data(isotopes);
# run isotope grouping ######################################
iso<-make.isos(isotopes,
use_isotopes=c("13C","15N","34S","37Cl","81Br","41K","13C","15N","34S","37Cl","81Br","41K"),
use_charges=c(1,1,1,1,1,1,2,2,2,2,2,2))
pattern<-pattern.search(
peaklist,
iso,
cutint=10000,
rttol=c(-0.05,0.05),
mztol=2,
mzfrac=0.1,
ppm=TRUE,
inttol=0.2,
rules=c(TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE),
deter=FALSE,
entry=50
);
plotgroup(pattern,adduct=FALSE,groupID=3,massrange=10,allmass=FALSE)
# run adduct grouping #######################################
adduct<-adduct.search(
peaklist,
adducts,
rttol=0.05,
mztol=3,
ppm=TRUE,
use_adducts=c("M+K","M+H","M+Na","M+NH4"),
ion_mode="positive"
);
plotgroup(pattern,adduct,groupID=3,massrange=10,allmass=FALSE)
#############################################################
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.