run.lrg.peaks
, identifies equivalent peaks in each spectrum,
and fills in missing values.
run.cluster.matrix(pre.align = FALSE, align.method = c("PL", "spline", "affine", "none"), align.fcn = NA, trans.method = c("shiftedlog", "glog", "none"), add.par = 0, subtract.base = FALSE, lrg.only = TRUE, calc.all.peaks = FALSE, masses = NA, isotope.dist = 7, cluster.method = c("ppm", "constant", "usewidth"), cluster.constant = 10, num.pts = 5, R2.thresh = 0.98, oneside.min = 1, min.spect = 1, peak.method = c("parabola", "locmaxes"), bhbysubj = TRUE, covariates, root.dir = ".", base.dir, peak.dir, lrg.dir, lrg.file = "lrg_peaks.RData", overwrite = FALSE, use.par.file = FALSE, par.file = "parameters.RData")
FALSE
, or a numeric vector of shifts to apply to spectra, or a four-component list (of the form described in the Note
section below) to be used before identifying peaks from different spectraalign.method
; see below"shiftedlog"
or "glog"
options for trans.method
run.lrg.peaks
cluster.method
run.analysis
bhbysubj == TRUE
paste(root.dir, "/Baselines", sep = "")
paste(root.dir, "/All_Peaks", sep = "")
paste(root.dir, "/Large_Peaks", sep = "")
TRUE
, then parameters are read from par.file
in directory root.dir
run.strong.peaks
,
calculates the cluster matrix, fills in missing values, and overwrites the file
named lrg.file
in lrg.dir
. The resulting file contains variables
amps |
data frame of amplitudes created by run.strong.peaks |
centers |
data frame of centers created by run.strong.peaks |
clust.mat |
data frame with columns given by samples and rows given by the distinct peaks in the samples |
lrg.mat |
data frame of same size as clust.mat with entries given by TRUE if the peak was large in that spectrum and FALSE otherwise |
lrg.peaks |
the data frame of significant peaks created by run.lrg.peaks |
num.lrg |
number of subjects (or spectra if bhbysubj == TRUE ) with a large peak at the corresponding mass |
run.analysis
.
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.
Zhang, L.-K. et al. (2005) Accurate mass measurements by Fourier transform mass spectrometry. Mass Spectrom Rev, 24:2, 286--309.
run.lrg.peaks
, run.strong.peaks
,
interpSpline