Skip to main content
  • Technical Note
  • Open access
  • Published:

MetabR: an R script for linear model analysis of quantitative metabolomic data

Abstract

Background

Metabolomics is an emerging high-throughput approach to systems biology, but data analysis tools are lacking compared to other systems level disciplines such as transcriptomics and proteomics. Metabolomic data analysis requires a normalization step to remove systematic effects of confounding variables on metabolite measurements. Current tools may not correctly normalize every metabolite when the relationships between each metabolite quantity and fixed-effect confounding variables are different, or for the effects of random-effect confounding variables. Linear mixed models, an established methodology in the microarray literature, offer a standardized and flexible approach for removing the effects of fixed- and random-effect confounding variables from metabolomic data.

Findings

Here we present a simple menu-driven program, “MetabR”, designed to aid researchers with no programming background in statistical analysis of metabolomic data. Written in the open-source statistical programming language R, MetabR implements linear mixed models to normalize metabolomic data and analysis of variance (ANOVA) to test treatment differences. MetabR exports normalized data, checks statistical model assumptions, identifies differentially abundant metabolites, and produces output files to help with data interpretation. Example data are provided to illustrate normalization for common confounding variables and to demonstrate the utility of the MetabR program.

Conclusions

We developed MetabR as a simple and user-friendly tool for implementing linear mixed model-based normalization and statistical analysis of targeted metabolomic data, which helps to fill a lack of available data analysis tools in this field. The program, user guide, example data, and any future news or updates related to the program may be found athttp://metabr.r-forge.r-project.org/.

Findings

Background

Quantitative metabolomics is a high-throughput approach to systems biology in which many small molecules (metabolites) from a biological sample are simultaneously measured, commonly using nuclear magnetic resonance spectroscopy (NMR), gas chromatography—mass spectrometry (GC-MS), or liquid chromatography—mass spectrometry (LC-MS). While transcriptomics and proteomics are established approaches for characterizing the effects of experimental conditions on metabolism, gene and protein expression changes merely indicate the potential for changes in metabolic endpoints. Metabolic changes are “real-world” endpoints, so metabolomics can connect these functional genomics platforms with actual physiology[1].

LC-MS metabolomic approaches fall into two categories: those that attempt to measure every metabolite in the sample (untargeted approaches) and those that attempt to measure only a subset of the metabolites (targeted approaches)[2]. A key benefit of targeted approaches is that the detected metabolites can also be readily quantified. Like other approaches to systems biology that rely on the analysis of multiple samples to generate large datasets, two important issues hold true in targeted metabolomics. First, experiments frequently are carried out in multiple “blocks”. For example, targeted LC-MS metabolomic platforms involve lengthy instrumental runs and may rely on multiple runs to enhance metabolite coverage[3, 4], often necessitating multiple run days to analyze all samples. Each run day represents a different block, which introduces technical variability in metabolite detection signals from day-to-day variances in factors related to the instrument’s operation, such as injection volume and ionization efficiency. Second, sampling and measurement variables introduce technical variability in metabolite detection signals, including tissue mass (for multicellular organisms), cell number and size (for microorganisms), sample matrix effects, and mass spectrometer variability (measured by the signal from an internal standard present in the metabolite extraction solvent in our experiments). Clearly, the metabolite signal variability due to block and sampling/measurement variables needs to be distinguished from variability due to experimental treatment factors, which calls for a normalization step to remove the effects of such confounding variables.

Conventional LC-MS metabolomic data normalization is carried out by expressing each metabolite signal relative to values of sampling/measurement variables[3, 4]. Statistical tests for mean differences between treatment groups are performed on normalized metabolite values, with metabolite means averaged across the levels of any block factors (i.e., run day).

There are limitations to this conventional normalization approach, however. First, often many metabolites are normalized to one internal standard (i.e., one for all positive ions and one for all negative ions). This would introduce additional bias if there were low or negative correlation between the internal standard signal and a metabolite signal (i.e., for metabolites with different chemical properties from the internal standard), or if the internal standard signal differed significantly between treatment groups. Second, while ignoring block factors (i.e., comparing metabolite means averaged across samples analyzed on different days) increases sample size, significant block effects on metabolite signals may widen confidence intervals, which may preclude identification of “significant” metabolites and conceal statistical outliers. Block effects may dramatically bias the data, especially if they are not balanced across treatment groups.

Currently available software packages provide powerful tools for pre-processing (i.e., peak selection and integration and retention time alignment), visualization (i.e., biochemical pathway mapping), and/or interpretation of targeted and untargeted metabolomic data[510]. However, these packages have limitations because they either 1) do not provide normalization tools for removing confounding effects of experimental variables[79]; 2) use the conventional normalization approach[6]; or 3) require the researcher to manually determine a normalization factor for each experimental sample[5].

A flexible and standardized normalization approach that improves on current limitations would improve metabolomic analyses. An efficient and intuitive approach to control for confounding variables is to estimate their effects on metabolite signals using linear models. Rather than assuming similar relationships between each metabolite signal and confounding variables, a linear model fit for each metabolite can be used to estimate and partition the effects of each experimental variable, including treatment factor, on each metabolite signal. Further, experimental variables can be modeled as having either a fixed or random effect on metabolite signals, with important implications. Fixed-effect variables are assumed to have a constant effect on metabolite signals, influence metabolite signals in an anticipated direction, and have a similar influence in replicate experiments. Common fixed-effect variables are number of cells, tissue mass, and ionization efficiency. By comparison, the effects of random-effect variables cannot be anticipated a priori, and they create variation, but overall do not influence metabolite signals. Typical examples are specimen gender, species or line, experiment day, instrument, and technician[11], although some of these could be treated as hypothesis-driven experimental factors in some experiments.

Mixed models can be used to estimate the effects of fixed- and random-effect variables on a response variable[11] and are an established approach for normalizing microarray data[1221]. For two primary reasons, however, currently available microarray data normalization tools are not suitable for metabolomic data. First, microarray normalization tools adjust data for systematic effects specific to microarray technology, such as “dye bias” of different fluors, spatial position effects on the microarray chip, background signals, and biases due to probe binding strengths[22]. Second, microarray normalization tools are often platform specific, designed to carry out pre-processing and quality control only for Illumina BeadArray or for Affymetrix GeneChip platforms, for example[23].

Given the limitations of current metabolomic data normalization approaches, we developed MetabR, a simple, user-friendly, and stand-alone tool that researchers with no programming background can use to implement linear model-based normalization and statistical analysis of targeted metabolomic data downstream of pre-processing. While MetabR is stand-alone, software with pre-processing tools[5, 6, 8] can be used to generate the input data for MetabR. Further, MetabR generates output files that may be used in subsequent analysis, including normalized data, a heat map and dendrogram, and a comma-separated values (CSV) file formatted for direct upload into Pathway Projector[9], a web-based biochemical pathway visualization tool.

Methods

Implementation of MetabR

A graphical user interface (GUI)-based program, MetabR (Additional file1), was written in the R open-source language (version 2.15). A screenshot of the GUI is shown in Figure 1. The GUI was built using the “gWidgets” package[24]. As described in the user guide (Additional file2), the GUI is used to select which variables to define in a normalization model as fixed- and random-effect variables and to tailor statistical analysis to the researcher’s needs. As a threshold to screen for metabolites that differ significantly in abundance between treatment groups, the researcher may choose p-value, q-value, mean fold-change, or a combination of p-value or q-value and mean fold-change, as well as the specific values of these thresholds.

Figure 1
figure 1

Screenshot of the MetabR GUI.

In this program, either a fixed linear model (function “lm” in the “stats” package) or a linear mixed model (function “lmer” in the “lme4” package)[25] is constructed that includes the normalization variables selected by the user, and one Group treatment factor, for example

Metabolite = μ + Group + β Quantity + β * IS + Day + e,

where μ = group mean,

Group = treatment factor,

Quantity = a measured, continuous value of the amount of tissue used to produce each sample,

IS = a measured, continuous value of the detection signal from an internal standard present in the metabolite extraction solvent,

Day = a normalization factor accounting for the effects of different run days on metabolite signals,

and e = residual error.

The residuals and treatment group means from the fitted model are added together to yield normalized data, which adjusts for effects of sample quantity, ionization efficiency, and run day, as appropriate for the experimental design of the study.

To check normality and equal variance assumptions made by linear models, R functions “shapiro.test” in the “stats” package (“stats” and any other packages not referenced are part of R[26]) and “levene.test” in the “lawstat” package[27] are used, respectively. In addition, residual error plots are produced, and normalized data are exported for possible secondary use by the researcher. Tukey’s Honest Significant Difference (HSD; function “TukeyHSD” in the “stats” package) method is used to test for treatment group mean differences in the normalized data based on the Studentized range statistic. Q-values[28] are calculated from the list of Tukey HSD p-values for each treatment group comparison using the “qvalue” function in the “qvalue” package[28]. If any treatment group mean is significantly different from any other, a group mean plot with confidence intervals is constructed for the metabolite. Differences among treatment group means are represented by letter groupings generated by code adapted from a SAS macro[29], with means that share any letter being statistically equal. Further, statistical results from “significant” metabolites are exported into a spreadsheet that can be directly uploaded to Pathway Projector[9], which uses the information to map the metabolites, colored dots representing the direction and size of mean fold-changes, and either p- or q-values, to biochemical pathways. The program generates a series of files listed in Table 1 and described in the user guide (Additional file2).

Table 1 Output files produced by the MetabR program

Experimental data collection

Two experimental datasets were generated in our lab to illustrate the utility of MetabR. In both experiments, adipose tissue samples were flash frozen in liquid nitrogen and powdered with a mortar and pestle before metabolite extraction, which followed a previously described procedure[30]. The extracted metabolomes were then analyzed by liquid chromatography—tandem mass spectrometry (LC-MS/MS) via a slightly modified version of the methods of Rabinowitz and co-workers[3032] that scans for approximately 350 total metabolites in positive and negative ionization modes. The Quan Browser function in the Xcalibur software package (Thermo Scientific, Waltham, MA) was used to assess the presence of each metabolite based on standard detection parameters, such as retention time, signal-to-noise ratio, and peak shape. Signal intensity in ion counts was then determined using Xcalibur to manually integrate each peak, and these data were exported into a Microsoft Excel spreadsheet for statistical analysis.

The first experiment was designed to examine the effects of dietary restriction and insulin immunoneutralization on adipose tissue metabolism in chickens. A total of 127 metabolites were detected in abdominal adipose tissue from 16- or 17-day-old male broiler chicks that were fed ad libitum (“Control”), fasted for 5 hours (“Fast”), or immunoneutralized against the effects of endogenous insulin (“InsNeut”), as we previously described[33, 34]. This study included two factors, Treatment and Day (day 1, day 2, or day 3). Fourteen metabolite measurements from this experiment are provided in Additional files3 (“Chicken example data 1”) and4 (“Chicken example data 2”), corresponding to metabolites detected in positive and negative ionization modes, respectively.

The second experiment was designed to examine the effects of Bisphenol A (BPA) on adipose tissue metabolism in mice. A total of 93 metabolites were detected in abdominal adipose tissue from 32 16-week-old inbred male mice which, from weaning, were fed ad libitum and given drinking water spiked with 0, 0.05, 0.5, or 5 μM BPA. Sixteen mice from each of the inbred strains C57BL/6J and DBA/2J were used in this study. A few missing values arose when a metabolite was not detected in a subset of the samples. Using a zero value for these measurements would bias the results, so they were set to missing (“NA”) which excludes that measurement from analysis. This study included three factors, Treatment, Strain (C57BL/6J or DBA/2J), and Day (day 1, day 2, day 3, or day 4). Twelve metabolite measurements from this experiment are provided in Additional files5 (“Mouse example data 1”) and6 (“Mouse example data 2”), corresponding to metabolites detected in positive and negative ionization modes, respectively.

Modeling confounding variables as fixed- vs. random-effect

In our chicken example, Group, Quantity, and IS were modeled as fixed-effect variables, while Day was modeled as a random-effect variable. To illustrate the difference, if Day is defined as a fixed-effect variable, the estimated treatment group mean includes the average Day effects, and the variance and corresponding confidence intervals are based only on residual error and sample size. Inferences about treatment effects refer only to the days used in the experiment. If Day is defined as a random-effect variable, the estimated mean no longer includes Day. Instead, the Day effect becomes a source of random variation that is added to the variance of the estimated mean. The variance and confidence intervals are larger than those when Day is treated as a fixed-effect variable, but experimental results can now be correctly extrapolated to all possible days[11].

Results

Chicken experimental results

For the chicken data, Quantity (tissue mass) and IS (internal standard measurement, Tris in positive ionization mode and Benzoic Acid in negative ionization mode) were selected as fixed-effect regression variables, and Day (run day) as a random-effect factor.

Summary information printed in the R console (not shown) includes 1) results from the Shapiro-Wilk test of normality; 2) results from Levene’s test of equality of variance; 3) pairwise mean fold-changes between all treatment groups for significant metabolites (also exported into a spreadsheet; see Table 2 for the data); and 4) pairwise Tukey HSD p-values or q-values between all treatment groups for significant metabolites (also exported into a spreadsheet; see Table 2 for the data). This printout showed that Shapiro-Wilk p-values for all metabolites were greater than 0.05, indicating no violation of the assumption of normality. Levene’s test p-values for Citraconate and Inosine were less than 0.05, indicating a possible violation of the linear model assumption of equality of variance. By using the diagnostic results from Shapiro-Wilk and Levene’s tests, researchers can identify when data are unacceptable for use with the linear model approach. Ion counts are sometimes modeled as Poisson distributed, so if normality concerns are still an issue after opting for a log transformation, the researcher may wish to pursue an alternative statistical approach.

Table 2 Chicken experiment fold-changes

Figure 2 contains the plot of residual error for each metabolite after data transformation and normalization in relation to the overall mean abundance for each metabolite across all samples (we used log base 2 transformation). This plot can be used to determine whether data transformation and normalization corrected for the typical relationship of increasing variance with increasing mean. In this example, variance is visually relatively consistent across groups, and somewhat greater for low-abundance metabolites.

Figure 2
figure 2

Residual error plot for the chicken experiment. Legend - Linear model residuals are plotted in relation to overall mean metabolite level.

Figure 3 illustrates an example of the mean plots and 95% confidence interval bars created for metabolites with a statistically significant effect of treatment. O-Acetyl-l-serine levels were significantly lower in Fast samples compared to InsNeut. Mean separation letters indicate that Fast and InsNeut groups differed significantly from each other (p < 0.05 threshold chosen), but neither differed from Control. Fold-changes between treatment group means (not log transformed) are displayed below the letters. Fold-changes in the n th row correspond to comparisons with the group in the n th column, (i.e., the mean of O-Acetyl-l-serine was 3.707-fold higher in InsNeut compared to Fast).

Figure 3
figure 3

Group mean plots for O -Acetyl- l -serine in the chicken experiment. Legend - Treatment group metabolite means, 95% confidence intervals, mean fold-changes, and significant difference letters are combined to summarize results for each significant metabolite.

Figure 4 shows a box-and-whisker plot of Citrate vs. run day, an ANOVA confounding variable, before and after data normalization with MetabR. Figure 5 shows a scatter plot of Pyruvate vs. Quantity, a regression confounding variable, before and after data normalization with MetabR. These plots are produced automatically by MetabR for all metabolites and all confounding variables included in the input data, and they give visual verification that the effects of confounding variables on metabolite measurements were removed by normalization using the linear model approach.

Figure 4
figure 4

Pre- and post-normalization plots: metabolite vs. Day. Legend - Citrate is plotted before and after normalization, showing the effectiveness of the normalization model for removing confounding variation in the chicken experiment. Normalization removed the effect of different run days on the Citrate detection signal.

Figure 5
figure 5

Pre- and post-normalization plots: metabolite vs. tissue quantity. Legend - Normalization removed the correlation between the quantity of tissue analyzed and the Pyruvate detection signal in the chicken experiment.

Figure 6 shows a heat map and dendrogram of the normalized data, produced automatically by MetabR via the “heatmap.2” function from the “gplots” package[35]. A heat map is useful for visualizing overall differences in metabolic signatures, and the dendrogram gives visual evidence of whether the experimental conditions significantly influenced metabolic signatures. Each metabolite plotted is mean-centered, helping to call attention to metabolites differing in abundance among samples. The chickens appear to cluster non-randomly based on their overall metabolic signatures (Figure 6). InsNeut chickens cluster in the upper half of the dendrogram, completely separate from Fast chickens, suggesting that these two treatment groups have distinct metabolic signatures, while the metabolic signature of the Control chickens appears less distinct.

Figure 6
figure 6

Heat map and dendrogram. Legend - The heat map was produced by the MetabR program using the chicken example data included in Additional files3 and4. The metabolites are in the columns and the chicken adipose samples are in the rows. Columns are mean-centered, with relative abundance represented by color (blue, lower abundance; red, higher abundance), as indicated in the legend. InsNeut chickens cluster in the upper half of the dendrogram, completely separate from Fast chickens, suggesting that these two treatment groups have distinct metabolic signatures, while the metabolic signature of the Control chickens appears less distinct. Note: the LC-MS/MS instrument method is unable to differentiate between the several isomeric dihexoses, and therefore they are measured as a group.

Table 2 contains all between-group mean fold-changes for the metabolites, with differences tested by Tukey’s HSD at the 5% significance level. We produced this table by combining the mean fold-changes and p-values exported automatically by MetabR. As shown, the experiment had sufficient power to detect a fold-change as low as 1.25 for Citrate between Fast and Control groups. In general, the differences between the Control and InsNeut groups were smaller than other treatment group comparisons. The program exports q-values automatically, and the researcher may select p-value, q-value, mean fold-change, or a combination of either p-value or q-value and mean fold-change as a significance threshold. As technological improvements continue to allow more metabolites to be detected, the chance of false discoveries will increase, making false discovery corrections (q-value) increasingly necessary.

Mouse experimental results

MetabR was run on the mouse example data in Additional files5 and6, selecting the same parameters as the chicken experiment, except that “Strain” (C57BL/6J or DBA/2J) was additionally selected as a random-effect variable in order to remove the effects of different mouse strains on metabolite measurements. Two metabolites had Shapiro-Wilk p-values less than 0.05 and W statistics less than 0.90, indicating possible violations of normality. No metabolites were identified as having unequal variance among treatment groups. The residual plot (not shown) also showed no evidence of unequal variance, and it was visually apparent that variance was equal across all measurement levels, and thus the log base 2 transformation chosen for the analysis was effective. Fold-change results are given in Table 3.

Table 3 Mouse experiment fold-changes

Conclusions

The open-source statistical computing software R[26] provides a convenient environment for statistical analysis of metabolomic and other -omic data. We developed a user-friendly R program that normalizes metabolomic data using linear mixed-effect modeling (with regression and ANOVA terms), statistically compares treatments, and exports results files to aid data interpretation, filling an important lack in statistical analysis tools available to the metabolomics community. The MetabR program file, example data, and user guide are available as an R-Forge project athttp://metabr.r-forge.r-project.org/. This website will also contain future news or updates related to MetabR, including availability through the Comprehensive R Archive Network (CRAN) or Bioconductor.

Availability and requirements

Project name: MetabR

Project home page: http://metabr.r-forge.r-project.org/

Operating system(s): Windows, Mac, Linux, any system that runs R

Programming language: R

Other requirements: Required R packages are installed automatically. The program was written and tested using R version 2.15 for Windows.

License: GNU General Public License (GPL)

Any restrictions to use by non-academics: No restrictions

Availability of supporting data

The datasets supporting the results of this article are included within the article (and its additional files).

Authors’ information

J Gooding’s current address: Sarah W. Stedman Nutrition & Metabolism Center, Duke University School of Medicine, 4321 Medical Park Drive, Suite 200, Durham, NC 27704

Abbreviations

ANOVA:

Analysis of variance

BPA:

Bisphenol A

CSV:

Comma-separated values

GUI:

Graphical user interface

HSD:

Honest Significant Difference

IS:

Internal standard

LC-MS:

liquid chromatography—mass spectrometry

LC-MS/MS:

Liquid chromatography—tandem mass spectrometry.

References

  1. Nicholson JK, Connelly J, Lindon JC, Holmes E: Metabonomics: a platform for studying drug toxicity and gene function. Nat Rev Drug Discov. 2002, 1: 153-161. 10.1038/nrd728.

    Article  PubMed  CAS  Google Scholar 

  2. Reaves ML, Rabinowitz JD: Metabolomics in systems microbiology. Curr Opin Biotechnol. 2011, 22: 17-25. 10.1016/j.copbio.2010.10.001.

    Article  PubMed  CAS  PubMed Central  Google Scholar 

  3. Tai E, Tan M, Stevens R, Low Y, Muehlbauer M, Goh D, Ilkayeva O, Wenner B, Bain J, Lee J, Lim S, Khoo C, Shah S, Newgard C: Insulin resistance is associated with a metabolic profile of altered protein metabolism in Chinese and Asian-Indian men. Diabetologia. 2010, 53: 757-767. 10.1007/s00125-009-1637-8.

    Article  PubMed  CAS  PubMed Central  Google Scholar 

  4. Kwon YKI, Higgins MB, Rabinowitz JD: Antifolate-induced depletion of intracellular glycine and purines inhibits thymineless death in E. coli. ACS Chem Biol. 2010, 5: 787-795. 10.1021/cb100096f.

    Article  PubMed  CAS  PubMed Central  Google Scholar 

  5. Xia J, Psychogios N, Young N, Wishart DS: MetaboAnalyst: a web server for metabolomic data analysis and interpretation. Nucleic Acids Res. 2009, 37: W652-W660. 10.1093/nar/gkp356.

    Article  PubMed  CAS  PubMed Central  Google Scholar 

  6. Creek DJ, Jankevics A, Burgess KEV, Breitling R, Barrett MP: IDEOM: an Excel interface for analysis of LC–MS-based metabolomics data. Bioinformatics. 2012, 28: 1048-1049. 10.1093/bioinformatics/bts069.

    Article  PubMed  CAS  Google Scholar 

  7. Smith CA, Want EJ, O’Maille G, Abagyan R, Siuzdak G: XCMS: processing mass spectrometry data for metabolite profiling using nonlinear peak alignment, matching, and identification. Anal Chem. 2006, 78: 779-787. 10.1021/ac051437y.

    Article  PubMed  CAS  Google Scholar 

  8. Melamud E, Vastag L, Rabinowitz JD: Metabolomic analysis and visualization engine for LC − MS data. Anal Chem. 2010, 82: 9818-9826. 10.1021/ac1021166.

    Article  PubMed  CAS  Google Scholar 

  9. Kono N, Arakawa K, Ogawa R, Kido N, Oshita K, Ikegami K, Tamaki S, Tomita M: Pathway Projector: web-based zoomable pathway browser using KEGG Atlas and Google Maps API. PLoS One. 2009, 4: e7710-10.1371/journal.pone.0007710.

    Article  PubMed  PubMed Central  Google Scholar 

  10. Boccard J, Veuthey JL, Rudaz S: Knowledge discovery in metabolomics: an overview of MS data handling. J Sep Sci. 2010, 33: 290-304. 10.1002/jssc.200900609.

    Article  PubMed  CAS  Google Scholar 

  11. Oberg L, Mahoney DH: Linear mixed effects models. Topics in Biostatistics. Edited by: Ambrosius WT. 2007, Totowa, NJ: Humana Press, 213-234.

    Chapter  Google Scholar 

  12. Wolfinger RD, Gibson G: Assessing gene significance from cDNA microarray expression data via mixed models. J Comput Biol. 2001, 8: 625-637. 10.1089/106652701753307520.

    Article  PubMed  CAS  Google Scholar 

  13. Yang YH, Dudoit S, Luu P, Speed TP: Normalization for cDNA microarry data. SPIE Proceedings. 2001, 4266: 141-152.

    Article  CAS  Google Scholar 

  14. Berger MPF, Passos VL, Tan FES, Winkens B: Optimal designs for one- and two-color microarrays using mixed models: a comparative evaluation of their efficiencies. J Comput Biol. 2009, 16: 67-83. 10.1089/cmb.2008.0048.

    Article  PubMed  Google Scholar 

  15. Chu T-M, Weir B, Weir , Wolfinger R: A systematic statistical linear modeling approach to oligonucleotide array experiments. Math Biosci. 2002, 176: 35-51. 10.1016/S0025-5564(01)00107-9.

    Article  PubMed  CAS  Google Scholar 

  16. Demirkale CY, Nettleton D, Maiti T: Linear mixed model selection for false discovery rate control in microarray data analysis. Biometrics. 2010, 66: 621-629. 10.1111/j.1541-0420.2009.01286.x.

    Article  PubMed  CAS  Google Scholar 

  17. Haldermans P, Shkedy Z, Van Sanden S, Burzykowski T, Aerts M: Using linear mixed models for normalization of cDNA microarrays. Stat Appl Genet Mol Biol. 2007, 6:

  18. Li H, Wood C, Getchell T, Getchell M, Stromberg A: Analysis of oligonucleotide array experiments with repeated measures using mixed models. BMC Bioinforma. 2004, 5: 209-10.1186/1471-2105-5-209.

    Article  CAS  Google Scholar 

  19. Wang L, Zhang B, Wolfinger RD, Chen X: An integrated approach for the analysis of biological pathways using mixed models. PLoS Genetics. 2008, 4: e1000115-10.1371/journal.pgen.1000115.

    Article  PubMed  PubMed Central  Google Scholar 

  20. Urs S, Smith C, Campbell B, Saxton AM, Taylor J, Zhang B, Snoddy J, Jones Voy B, Moustaid-Moussa N: Gene expression profiling in human preadipocytes and adipocytes by microarray analysis. J Nutr. 2004, 134: 762-770.

    PubMed  CAS  Google Scholar 

  21. Wernisch L, Kendall SL, Soneji S, Wietzorrek A, Parish T, Hinds J, Butcher PD, Stoker NG: Analysis of whole-genome microarray replicates using mixed models. Bioinformatics. 2003, 19: 53-61. 10.1093/bioinformatics/19.1.53.

    Article  PubMed  CAS  Google Scholar 

  22. Smyth GK, Speed T: Normalization of cDNA microarray data. Methods. 2003, 31: 265-273. 10.1016/S1046-2023(03)00155-5.

    Article  PubMed  CAS  Google Scholar 

  23. Du P, Kibbe WA, Lin SM: lumi: a pipeline for processing Illumina microarray. Bioinformatics. 2008, 24: 1547-1548. 10.1093/bioinformatics/btn224.

    Article  PubMed  CAS  Google Scholar 

  24. Verzani J: An introduction to gWidgets. R News. 2007, 7: 26-33.

    Google Scholar 

  25. Bates D, Maechler M, Bolker B: lme4: Linear mixed-effects models using S4 classes. 2011, [http://CRAN.R-project.org/package=lme4],

    Google Scholar 

  26. R Development Core Team: R: A language and environment for statistical computing. R Foundation for Statistical Computing. 2011, Vienna, Austria: R Foundation for Statistical Computing, [http://www.R-project.org/],

    Google Scholar 

  27. Noguchi K, Hui WW, Gel YR, Gastwirth JL, Miao W: lawstat: An R package for biostatistics, public policy, and law. 2009, [http://CRAN.R-project.org/package=lawstat],

    Google Scholar 

  28. Storey JD: A Direct approach to false discovery rates. Journal of the Royal Statistical Society B. 2002, 64: 479-498. 10.1111/1467-9868.00346.

    Article  Google Scholar 

  29. Saxton AM: A macro for converting mean separation output to letter groupings in Proc Mixed. 1996, Nashville: Proceedings, 23rd SAS Users Group International: 22-25 March 1998, 1243-1246.

    Google Scholar 

  30. Collier JJ, Burke SJ, Eisenhauer ME, Lu D, Sapp RC, Frydman CJ, Campagna SR: Pancreatic β-cell death in response to pro-inflammatory cytokines Is distinct from genuine apoptosis. PLoS One. 2011, 6: e22485-10.1371/journal.pone.0022485.

    Article  PubMed  CAS  PubMed Central  Google Scholar 

  31. Bajad SU, Lu W, Kimball EH, Yuan J, Peterson C, Rabinowitz JD: Separation and quantitation of water soluble cellular metabolites by hydrophilic interaction chromatography-tandem mass spectrometry. Journal of Chromatography A. 2006, 1125: 76-88. 10.1016/j.chroma.2006.05.019.

    Article  PubMed  CAS  Google Scholar 

  32. Waters CM, Lu W, Rabinowitz JD, Bassler BL: Quorum sensing controls biofilm formation in Vibrio cholerae through modulation of cyclic di-GMP levels and repression of vpsT. J Bacteriol. 2008, 190: 2527-2536. 10.1128/JB.01756-07.

    Article  PubMed  CAS  PubMed Central  Google Scholar 

  33. Dupont J, Tesseraud S, Derouet M, Collin A, Rideau N, Crochet S, Godet E, Cailleau-Audouin E, Metayer-Coustard S, Duclos MJ, Gespach C, Porter TE, Cogburn LA, Simon J: Insulin immuno-neutralization in chicken: effects on insulin signaling and gene expression in liver and muscle. J Endocrinol. 2008, 197: 531-542. 10.1677/JOE-08-0055.

    Article  PubMed  CAS  Google Scholar 

  34. Ji B, Ernest B, Gooding J, Das S, Saxton A, Simon J, Dupont J, Metayer-Coustard S, Campagna S, Voy B: Transcriptomic and metabolomic profiling of chicken adipose tissue in response to insulin neutralization and fasting. BMC Genomics. 2012, 13: 441-10.1186/1471-2164-13-441.

    Article  PubMed  CAS  PubMed Central  Google Scholar 

  35. Warnes GR: gplots: Various R programming tools for plotting data. 2012, [http://CRAN.R-project.org/package=gplots],

    Google Scholar 

Download references

Acknowledgements

JRG and SRC were supported by funding from the National Science Foundation through an Ocean Sciences award (OCE-1061352) to the University of Tennessee at Knoxville. Funding for metabolomic analyses of chicken adipose tissue was provided by a University of Tennessee AgResearch Innovation Grant to BHV and SRC.

The authors thank Brantley Wyatt, previously of the University of Tennessee Graduate School of Genome Science and Technology, for conducting the mouse experiments and generating the mouse adipose tissue samples used in this work, and Drs. Joelle Dupont and Jean Simon of the Institut National de la Recherche Agronomique (INRA) for conducting the chicken experiments and providing the corresponding adipose tissue samples.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Brynn H Voy.

Additional information

Competing interests

The authors declare that they have no competing interests.

Authors’ contributions

BE wrote the program. BE, SRC, BHV, and JRG collaborated to outline the issues in data analysis and process all biological data. AMS guided implementation of the statistical analysis components of the program. JRG and BE tested the implementation of the program, and all authors contributed to writing the final manuscript draft. All authors read and approved the final manuscript.

Electronic supplementary material

Authors’ original submitted files for images

Rights and permissions

Open Access This article is published under license to BioMed Central Ltd. This is an Open Access article is distributed under the terms of the Creative Commons Attribution License ( https://creativecommons.org/licenses/by/2.0 ), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Reprints and permissions

About this article

Cite this article

Ernest, B., Gooding, J.R., Campagna, S.R. et al. MetabR: an R script for linear model analysis of quantitative metabolomic data. BMC Res Notes 5, 596 (2012). https://doi.org/10.1186/1756-0500-5-596

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/1756-0500-5-596

Keywords