run.peaks(trans.method = c("shiftedlog", "glog", "none"), add.par = 0, subtract.base = FALSE, root.dir = ".", base.dir, peak.dir, overwrite = FALSE, use.par.file = FALSE, par.file = "parameters.RData", num.pts = 5, R2.thresh = 0.98, oneside.min = 1, peak.method = c("parabola", "locmaxes"), calc.all.peaks = FALSE, gengamma.quantiles = TRUE, peak.thresh = 3.798194)"shiftedlog" or "glog" options for trans.methodpaste(root.dir, "/Baselines", sep = "")paste(root.dir, "/All_Peaks", sep = "")TRUE, then parameters are read from par.file in directory root.dirrun.baselines,
calls locate.peaks to find potential peaks, and writes the output
to a file in directory peak.dir. The name of each new file is the same
as the name of the old file with .RData replaced by
\_peaks.RData. The resulting file contains the data frame
all.peaks, which has columns
Center_hat |
| estimated mass of peak |
Max_hat |
| estimated intensity of peak |
Width_hat |
| estimated width of peak |
run.lrg.peaks.
The parameters gengamma.quantiles and peak.thresh are relevant
only if calc.all.peaks = FALSE. In that case, if
gengamma.quantiles == TRUE, then peak.thresh is interpreted as a
multiplier for the baseline. Anything larger than peak.thresh times the
estimated baseline is declared to be a real peak.
If gengamma.quantiles == FALSE, then peak.thresh is interpreted as
two-thirds of the value of $K$ used in a Tukey's biweight estimation of
center and scale (so roughly equal to the number of standard deviations above
the mean for iid normal data). Anything with weight zero in the calculation is
then declared to be a real peak.
Barkauskas, D.A. et al. (2009b) Analysis of MALDI FT-ICR mass spectrometry data: A time series approach. Analytica Chimica Acta, 648:2, 207--214.
Barkauskas, D.A. et al. (2009c) Detecting glycan cancer biomarkers in serum samples using MALDI FT-ICR mass spectrometry data. Bioinformatics, 25:2, 251--257.
run.baselines, run.lrg.peaks, locate.peaks