romicsANOVA: romicsANOVA()

View source: R/09_Statistics.R

romicsANOVAR Documentation

romicsANOVA()

Description

Performs the ANOVA for each variable contained in the data layer of the romics_object. The factor of the romics_object to be used for the analysis can be selected.

Usage

romicsANOVA(romics_object, padj = TRUE, padj_method = "BH", factor = "main")

Arguments

romics_object

A romics_object created with the function romicsCreateObject(),

padj

Boolean indincating wheter to perform or not adjustment of pvalues

padj_method

correction method. Must be in "holm", "hochberg", "hommel", "bonferroni", "BH", "BY", "fdr","none"

factor

A character string indicating the factor to use for the test, the list of the available factor can be obtained by using the function romics_factors(), if missing the function will use the main factor of the object.

Details

perform an ANOVA for each variable of the romics_object the factor used will be the main_factor of the romics_object unless specified differently.

Value

an romics_object with the statistical layer containing the newly generated ANOVA columns

Author(s)

Geremy Clair


PNNL-Comp-Mass-Spec/RomicsProcessor documentation built on March 18, 2023, 5:14 a.m.