Description Usage Arguments Value Author(s) See Also Examples
View source: R/spectralSigFeatures.R
Function spectralSigFeatures takes a MAIT-class
object and obtains which of the variables are significant given a p-value threshold. The parameters of the significant features can ve printed to an output table (TRUE by default). Depending on the number of classes in the data, the function chooses between using ANOVA tests through function spectralAnova, or T-Student tests by using function spectralTStudent.
1 2 3 4 5 6 7 8 9 10 11 12 |
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 |
Character with the name of the posthoc method to be applied to correct the pvalues. The supported methods are that of the p.adjust function |
printCSVfile |
Set to TRUE if an output table has to be produced. See function sigPeaksTable for more information. |
scale |
Set to FALSE by default. When set to TRUE, a unit variance scaling of the data when no peak aggregation is performed. If a peak aggregation method is applied, this parameter is ignored. |
parametric |
If it is set to TRUE, the statistical tests to be applied will be parametrical tests (e.g. ANOVA, TStudent or Welch's tests). Non-parametrical tests (e.g. Kruskal-Wallis, Mann-Whitney tests) are applied otherwise. |
var.equal |
Set to FALSE by default. When set to TRUE, a Student's T-Test is applyied when having 2 classes in the data. If it is set to FALSE, a Welch's test is applyied instead. |
test.fun |
Function of the user-defined posthoc method to be applyied. |
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. |
namefun |
Name of the user-defined posthoc test in the argument test.fun. |
A MAIT-class object containing the significant features of the scores slot of MAIT-class object used as an input.
Francesc Fernandez, francesc.fernandez.albert@upc.edu
MAIT-class
spectralTStudent
spectralAnova
sigPeaksTable
1 2 | data(MAIT_sample)
MAIT<-spectralSigFeatures(MAIT,p.adj="fdr",parametric=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.