Skip to contents

Fit model with limma across all. DiffMetabolites() should be preferred to using this function directly.

Usage

FitTheData(
  cleanData,
  theContrasts,
  contrastLevel = "Group",
  repeated_measures = "no"
)

Arguments

cleanData

The QC'd and imputed data.frame

theContrasts

Vector of contrasts specified in the format "GroupA - GroupB". Produced by MakeTheContrasts() with the prefix argument set to "Group" by default as thats the column usually used for contrasts.

contrastLevel

The column from the data containing groups levels, usually "Group".

repeated_measures

Were there repeated measures?

Value

ebayes fit from limma