Learn R Programming

MAIT (version 1.6.0)

spectralWilcox: Extract significant features from a MAIT object

Description

Function spectralWilcox takes an MAIT-class object and obtains which of the variables are significant given a p-value threshold following a Mann-Witney-Wilcoxon test. The parameters of the significant features can ve printed to an output table (TRUE by default).

Usage

spectralWilcox(MAIT.object = NULL, pvalue = 0.05, p.adj="none", printCSVfile = TRUE, jitter = FALSE, jitter.factor = 1, jitter.amount = 0)

Arguments

MAIT.object
A MAIT-class object where function peakAggregation has already been applied. The output of the function is going to be an update of the same MAIT-class object.
pvalue
P-value threshold. Variables having a p-value lower than this value is considered as a significant variable.
p.adj
Post-hoc method to be used to correct the p-values.
printCSVfile
Set to TRUE if an output table has to be produced. See function sigPeaksTable for more information.
jitter
If it is set to TRUE, a jitter noise is added to the data. This is useful when applying Mann-Whitney tests with ties.
jitter.factor
See argument factor of the function jitter.
jitter.amount
See argument amount of the function jitter.

Value

A MAIT-class object containing the significant features of the scores slot of MAIT-class object used as an input.

See Also

MAIT-class peakAggregation sigPeaksTable