Fig. 8: Hypothesis testing in R: t-test example.

A A pipeline for performing statistical test for all lipids (metabolites) in a data frame relying on the tidyverse and rstatix packages. B R-generated publication-ready table containing elements of descriptive statistics (median, IQR), the total number of observations in each group, and a p-value from the Kruskal-Wallis test – based on the gtsummary package. C Violin box plots with complete univariate statistics obtained via a single ggbetweenstats() function from ggstatsplot package. D Box plots adjusted for skewed distributions (ggplot2 and litteR libraries) with results of Dunn post hoc test depicted using asterisks (ggpubr package).