display.tests: Display Full Test Information for Peaks

Description Usage Arguments Details Value Note Author(s) See Also

Description

Displays full test information (not just p-values) for peaks generated by run.analysis.

Usage

1
2
3
display.tests(sig.rows = "all", summ = "anova", tests,
              form = parameter.list$form,
              use.model = parameter.list$use.model, ...)

Arguments

sig.rows

numeric or character vector used to select rows of sigs; default value returns all significant tests

summ

either a function or string representing a function which can be applied to the output of use.model 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

use.model

function or string representing a function; what test to apply to data

...

arguments to be passed to use.model

Details

If use.model in run.analysis evaluates to anything other than t.test, then the only thing reported on each peak by run.analysis is the p-value. This program takes a specified subset of the significant peaks and returns a list consisting of the models generated by use.model (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.

Value

A list with components equal to the models or summaries for the requested peaks.

Note

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.

Author(s)

Don Barkauskas (barkda@wald.ucdavis.edu)

See Also

run.analysis, anova, lm, t.test


FTICRMS documentation built on May 1, 2019, 10:53 p.m.