run.cluster.matrix
and tests the
peaks using Benjamini-Hochberg to control the False Discovery Rate.run.analysis(form, covariates, FDR = 0.1, norm.post.repl = FALSE, norm.peaks = c("common", "all", "none"), normalization, add.norm = TRUE, repl.method = "max", use.model = "lm", pval.fcn = "default", lrg.only = TRUE, masses = NA, isotope.dist = 7, root.dir = ".", lrg.dir, lrg.file = lrg_peaks.RData, res.dir, res.file = "analyzed.RData", overwrite = FALSE, use.par.file = FALSE, par.file = "parameters.RData", bhbysubj = TRUE, subs, ...)
formula
to be used by use.model
for testing using covariates
run.lrg.peaks
paste(root.dir, "/Large_Peaks", sep = "")
paste(root.dir, "/Results", sep = "")
TRUE
, then parameters are read from par.file
in directory root.dir
use.model
run.cluster.matrix
and
creates a file named res.file
in directory res.dir
which contains
the following variables:
amps |
matrix of transformed amplitudes of alignment peaks |
bysubjvar |
a vector which tells which rows of covariates are identified as the same subject |
centers |
matrix of calculated masses of alignment peaks |
clust.mat |
matrix of transformed amplitudes of peaks used in statistical testing |
min.FDR |
FDR level required to get at least one significant test given the starting set of peaks |
sigs |
matrix containing all tests which are significant under at least one scenario |
which.sig |
matrix containing all peaks tested |
parameter.list |
if use.par.file = TRUE , a list generated by extract.pars ; otherwise not defined |
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.
Benjamini, Y. and Hochberg, Y. (1995) Controlling the false discovery rate: a practical and powerful approach to multiple testing. J. Roy. Statist. Soc. Ser. B, 57:1, 289--300.
run.strong.peaks