display.tests {FTICRMS} | R Documentation |
Displays full test information (not just p-values) for peaks generated by run.analysis
.
display.tests(sig.rows = "all", summ = anova, tests, form = parameter.list$form)
sig.rows |
numeric or character vector used to select rows of sigs ; default value returns all significant tests |
summ |
either a function which can be applied to the output of lm or "none" |
tests |
numeric or character vector used to select rows of clust.mat ; default value returns
the rows in clust.mat corresponding to the rows in sigs[sig.rows,] |
form |
formula for use in lm ; default is the one that was used to generate the significant peaks |
If use.t.test = FALSE
in run.analysis
, then the only thing reported from
the test on each peak is the p-value. This program takes a subset of the significant peaks and
returns a list consisting of the linear models generated by lm
(if summ = "none"
)
or summ
applied to those models. Typical values for summ
include anova
and summary
.
Although the program is designed to be used on significant peaks, by defining tests
directly in the function call, you can access any of the peaks in clust.mat
.
If tests
is defined in the function call, its value overrides anything specified
by sig.rows
.
A list with components equal to the requested linear models.
clust.mat
and sig.mat
must be defined in the workspace for this
program to work—for example, in the results file output by run.analysis
.
Don Barkauskas (barkda@wald.ucdavis.edu)
run.analysis
, anova
, lm
, t.test