Metabolomics training differential analysis
Source:R/metabolomics_differential_analysis.R
metab_training_da.RdUse limma to test the effect of training across timepoints. The analysis
is performed separately for male and female rats and combined into a single
p-value using sum of logs.
Arguments
- tissue
character, tissue abbreviation, one of MotrpacRatTraining6moData::TISSUE_ABBREV
Value
a data frame with one row per metabolite:
feature_IDcharacter, MoTrPAC feature identifier
datasetcharacter, the metabolomics platform in which the metabolite is detected
groups_tested_femalecharacter, timepoints used to perform the F-test in females. Some tissues or assays are missing timepoints.
groups_tested_malecharacter, timepoints used to perform the F-test in males. Some tissues or assays are missing timepoints.
fscore_maledouble, F-statistic for males
fscore_femaledouble, F-statistic for females
p_value_maledouble, nominal p-value for males
p_value_femaledouble, nominal p-value for females
full_modelcharacter, full model used in limma
reduced_modelcharacter, representation of the reduced model, though not used by limma
p_valuedouble, combined male and female nominal p-value using the sum of logs