perform_anova: A Function Performing ANOVAs

View source: R/utils.R

perform_anovaR Documentation

A Function Performing ANOVAs

Description

This function peforms an ANOVA for each probe/gene (lines) across confditions (colums) of a data matrix. Its return a dataframe that includes many metrics as a results (beta, pval...).

Usage

perform_anova(design, model, data, key, correction = 1,
  MONITORED_APPLY = FALSE, AD_TEST = TRUE)

Arguments

design

A dataframe that describes the design of the experiment.

model

A model describe the test to apply.

data

A matrix of exrpression values for probe/gene (lines) and confditions (colums).

key

A character string that will suffix the column names of the resulting data frame

correction

A numeric vector (typically in [-1, 1]) to correct the beta signs according to the wanted reference.

MONITORED_APPLY

A boolean set to TRUE if we want to monitor the loop on lines (usefull for debugging).

AD_TEST

A boolean set to TRUE if we want to perform normality test.


fchuffar/epimedtools documentation built on Feb. 3, 2024, 2:21 a.m.