Get differential metabolites with log fold-changes and adjusted pvalues based on input comparison groups
DiffMetabolites.RdFits model on the full input dataset with limma
Usage
DiffMetabolites(
cleanData,
groups = NULL,
contrastLevel = "Group",
repeated_measures = "no"
)Arguments
- cleanData
The QC'd and imputed
data.frame- groups
Vector of groups names to contrast. Defaults to the unique elements of the
Groupcolumn but the column used can be specified usingcontrastLevel.- contrastLevel
The column from the data containing
groupslevels, usually"Group".- repeated_measures
Were there repeated measures?
Value
LogFC and adjusted P-values of limma::topTable() for each contrast