MseekAnova: MseekAnova

View source: R/Functions_FeatureTable_analysis.R

MseekAnovaR Documentation

MseekAnova

Description

Calculate per-row one-way ANOVA between grouped columns of a data.frame. NOTE: Equal variance is not assumed (uses stats::oneway.test) Returns NaN in cases where one group has all equal values (no variance),

Usage

MseekAnova(df, groups, adjmethod = "bonferroni")

Arguments

df

a data.frame with numeric (intensity) values

groups

named list of intensity columns listed by group (as supplied by $anagroupnames or $anagroupnames_norm of MseekFT objects)

adjmethod

method to adjust p values (passed on to stats::p.adjust)

Value

a data.frame with one column, called ANOVA__pvalue


mjhelf/METABOseek documentation built on April 27, 2022, 5:13 p.m.