View source: R/anova_analysis.R
classic1wayAnova | 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] level <- obj@experimentData@other$typeOfData metacell.mask <- match.metacell(GetMetacell(obj), 'missing', level) indices <- GetIndices_WholeMatrix(metacell.mask, op='>=', th=1) obj <- MetaCellFiltering(obj, indices, cmd='delete') anova_tests <- t(apply(Biobase::exprs(obj$new), 1, classic1wayAnova, conditions=as.factor(Biobase::pData(obj$new)$Condition)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.