classic1wayAnova {DAPAR} | R Documentation |
Function to perform a One-way Anova statistical test on a MsnBase dataset
classic1wayAnova(current_line, conditions)
current_line |
The line currently treated from the quantitative data to perform the ANOVA |
conditions |
The conditions represent the different classes of the studied factor |
A named vector containing all the different values of the aov model
Hélène Borges
utils::data(Exp1_R25_prot, package='DAPARdata') obj <- Exp1_R25_prot[1:1000] keepThat <- mvFilterGetIndices(obj, condition='WholeMatrix', threshold=ncol(obj)) obj <- mvFilterFromIndices(obj, keepThat) anova_tests <- t(apply(Biobase::exprs(obj),1, classic1wayAnova, conditions=as.factor(Biobase::pData(obj)$Condition)))