spectralFUN: Extract significant features from a MAIT object using a...

Description Usage Arguments Value Author(s) See Also

Description

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

Usage

1
2
3
4
5
6
spectralFUN(pvalue=0.05,
            p.adj="none",
            MAIT.object=NULL,
            printCSVfile=TRUE,
            test.fun=NULL,
            namefun=NULL)

Arguments

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.

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.

printCSVfile

Set to TRUE if an output table has to be produced. See function sigPeaksTable for more information.

test.fun

Function containing the statistical test to be applied on each feature. The function should be designed to correct just one feature as the function will aplly this correction to all the features in the MAIT.object.

namefun

Character with the name of the test. This name will appear in the MAITparameters table and in the summary of the MAIT object.

Value

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

Author(s)

Francesc Fernandez, francesc.fernandez.albert@upc.edu

See Also

MAIT-class peakAggregation sigPeaksTable


MAIT documentation built on Nov. 8, 2020, 5:43 p.m.