Below is a fictive complex dataset named xplr.data and available in the R package. This dataset is a typic table obtain with metabolomic tools: we have 46 variables (métabolite amounts/peak areas) and 3 factors (Population, Temperature and Pesticide). For each of the 3 factors, we have at least 2 modalities/possibilities.
Thanks to xplR you can quickly calculate the means, standard deviationand errors of a set of several response variables in function of one or several experimental factors. For this user have just to give the name of response variable and factor they want to investigate. The output is a R list of numeric object.
For instance using our fictive dataset we measured these parameters for all metabolites among the three factors as you can below using the function save.xplr:
> save.xplr(xplr_data[,4:49],paste(xplr_data$Population,xplr_data$Pesticide, xplr_data$Temperature))
You can create boxplot of your dataset to graphically explore your dataset and identify outlier and first variability trend among factors. xplR proposes 3 functions:
>xplr.boxplot(xplr_data[,10:13],paste(xplr_data$Population,xplr_data$Temperature),10, las=2, border="grey", col=c("lightblue", "lightblue", "lightgreen", "lightgreen", "lightpink", "lightpink"),ylab="mean amounts")
Here we investigated the dataset variation of 4 metabolites among two factors (Population and Temperature)
You can create bar plot to represent the mean and standard error of response variables from your dataset among factors. Likewise xplR proposes 3 functions:
>xplr.barplot(xplr_data[,12:15],paste(xplr_data$Population,xplr_data$Temperature),12,las=2,border="black", col=c("lightblue","lightblue", "lightgreen", "lightgreen", "lightpink", "lightpink"),ylab = "Mean", offset=0)
Here we investigated the mean and standard error variations of 4 metabolites among two factors (Population and Temperature)
You can create lineplot to represent the mean and standard error of response variables from your dataset among one factor (x axis label) and a group of several factors (line series). Lineplot are particularly intresting for kinetic dataset. Likewise xplR proposes 3 functions:
>xplr.barplot(xplr_data[,4:15],paste(xplr_data$Population,xplr_data$Temperature),12,las=2,border="black", col=c("lightblue","lightblue", "lightgreen", "lightgreen", "lightpink", "lightpink"),ylab = "Mean", offset=0)
Here we investigated the mean and standard error variations of 4 metabolites from three different population (group=serie) among the type of pesticide they were exposed (factor)