Description Usage Arguments Details Value Note Author(s) See Also Examples
Produces a list of m/z differences from diffs
output generated by plotdiff
to be used as argument iso
in pattern.search
.
Thus, replaces the iso
argument to pattern.search
from make.isos
and
isotopes
by another iso
argument of the most frequent m/z differences detected among the HRMS peaks by plotdiff
.
1 2 |
diffs |
vector diffs, i.e. output of function |
histbreaks |
Number of histogram breaks; thus defines the mztol window to be used with |
mzmin |
Minimum value for m/z differences in resulting iso list. |
mzmax |
Maximum value for m/z differences in resulting iso list. |
cutcount |
Histogram classes with frequencies below cutcount will be excluded from iso |
plotit |
Should a plot of the sekected histogram classes be plotted? Recommended. |
In addition to returning a iso
argument, prints argument values for mztol
, ppm
and deter
of pattern.search
when using iso from deter.iso
.
Also see deter
argument of pattern.search
.
List of type iso with 5 entries
iso[[1]] |
"list of isotopes". |
iso[[2]] |
"list of isotope masses". |
iso[[3]] |
"charges". |
iso[[4]] |
"number of isotope m/z". |
iso[[5]] |
"elements". |
Experimental. For more consistent results, use make.isos
instead.
Martin Loos
pattern.search
plotdiff
make.isos
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | data(peaklist)
diffs<-plotdiff(peaklist, histbreaks = 10000, rttol = c(0, 0), mztol = c(0.3, 100), plotit = TRUE);
iso<-deter.iso(diffs,histbreaks=10000,mzmin=0,mzmax=40,cutcount=500,plotit=TRUE);
pattern<-pattern.search(
peaklist,
iso,
cutint=10000,
rttol=c(-0.05,0.05),
mztol=0.005,
mzfrac=0.1,
ppm=FALSE,
inttol=0.2,
#rules=c(FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE),
rules=c(TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE),
deter=TRUE,
entry=50
);
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.