Metabolomics timewise differential analysis
Source:R/metabolomics_differential_analysis.R
metab_timewise_da.RdUse limma to perform pairwise contrasts between each group of trained animals
and the sex-matched control group for a single tissue. Analysis is performed separately for males and
females.
Arguments
- tissue
character, tissue abbreviation, one of MotrpacRatTraining6moData::TISSUE_ABBREV
Value
a data frame with one row per metabolite, time, and sex combination:
feature_IDcharacter, MoTrPAC feature identifier
sexcharacter, one of 'male' or 'female'
cvdouble, coefficient of variation for case samples
control_cvdouble, coefficient of variation for control samples
logFCdouble, log fold-change where the numerator is 'comparison_group', e.g., '1w', and the denominator is the group of sex-matched sedentary control animals
logFC_sedouble, standard error of the log fold-change
tscoredouble, t statistic
covariatescharacter, comma-separated list of adjustment variables or NA
comparison_groupcharacter, time point of trained animals compared to the sex-matched sedentary control animals, one of '1w', '2w', '4w', '8w'
p_valuedouble, unadjusted p-value for the difference between 'comparison_group' and the group of sex-matched sedentary control animals
comparison_average_intensitydouble, average intensity among the replicates in 'comparison_group'
reference_average_intensitydouble, average intensity among the replicates in the group of sex-matched sedentary control animals
datasetcharacter, the metabolomics platform in which the metabolite is detected