- Software
- Open Access

# AnovArray: a set of SAS macros for the analysis of variance of gene expression data

- Christelle Hennequet-Antier
^{1}Email author, - Hélène Chiapello
^{1}, - Karine Piot
^{1}, - Séverine Degrelle
^{3}, - Isabelle Hue
^{3}, - Jean-Paul Renard
^{3}, - François Rodolphe
^{1}and - Stéphane Robin
^{2}

**6**:150

https://doi.org/10.1186/1471-2105-6-150

© Hennequet-Antier et al; licensee BioMed Central Ltd. 2005

**Received:**18 January 2005**Accepted:**16 June 2005**Published:**16 June 2005

## Abstract

### Background

Analysis of variance is a powerful approach to identify differentially expressed genes in a complex experimental design for microarray and macroarray data. The advantage of the anova model is the possibility to evaluate multiple sources of variation in an experiment.

### Results

AnovArray is a package implementing ANOVA for gene expression data using SAS^{®} statistical software. The originality of the package is 1) to quantify the different sources of variation on all genes together, 2) to provide a quality control of the model, 3) to propose two models for a gene's variance estimation and to perform a correction for multiple comparisons.

### Conclusion

AnovArray is freely available at http://www-mig.jouy.inra.fr/stat/AnovArray and requires only SAS^{®} statistical software.

## Keywords

- Gene Expression Data
- Anova Model
- Homogeneous Model
- Heterogeneous Model
- Gene Expression Data Analysis

## Background

Macroarray and microarray experiments are powerful technologies to simultaneously study thousands of genes. These technologies are efficient to identify differentially expressed genes between two or more samples (conditions). However the complexity of experiments may require an experimental design including different kinds of repeats. Analysis of variance (ANOVA) is a well suited statistical method to analyse gene expression depending on several sources of variation ([1–3]). It permits to decide which effects are important and to estimate them. One great interest of anova is to estimate the variations due to the gene factor taking into account interactions with other experimental factors.

Recently, several tools have been developped to perform anova on gene expression data (library YASMA [4] written in R, MAANOVA [5] written in R and Matlab, GeneANOVA [6] written in JAVA,...). Compared to these tools, we propose three improvements : a control quality procedure, a choice of two models for gene's variance estimation, and an additional correction for multiple comparisons.

## Implementation

### Language selection

The AnovArray package is a flexible tool to perform analysis of variance. It is developped in SAS^{®} statistical language in order to take advantage of statistical capabilities and powerful data management. Thanks to the SAS^{®} environment, AnovArray makes it possible to quantify gene effect and their interactions with other factors assuming all genes have the same variance. The anova method implemented in R is based on a matrix inversion and could not produce results on a large dataset with thousands of genes. For balanced factorial designs, the anova method implemented in SAS^{®} provides the anova table and some statistics (means, tests of effects,. . .). Our package uses these statistics and gives additional ones in order to quantify and estimate the factors, and also to identify differentially expressed genes. Moreover, AnovArray package benefits of all SAS^{®} possibilities (clustering, supervised classification, singular value decomposition, regression, etc...) for further analyses.

### Models of anova

AnovArray is a set of five SAS^{®} macros: **global_analysis, adjust, cleandata, differential_analysis and comparison**. It is dedicated to analysis of variance in the case of a balanced experimental design. A user-defined analysis of variance model is used for the macros global_analysis and differential_analysis. In the macro global_analysis, the anova model includes factor "Gene" and their interactions with other factors. It is performed on all genes together making the model more powerful to estimate experimental factors than if the model was defined for each gene. If necessary, several models can be considered by the user in order to test the impact of possible experimental factors.

To identify differentially expressed genes, AnovArray offers the choice between two variance models: an homogeneous model (HOM) and an heterogeneous model (HET). All genes have the same variance in the homogeneous model whereas each gene has its own variance in the heterogeneous model. If the hypothesis HOM is acceptable, the power of differentially expressed genes detection is greater, especially when only few repeats are available.

### Quality control

### Way of use

**global_analysis**by the user. This macro computes the classical anova table which permits to identify factors which are important to explain observed differences in gene expression. As explained in the previous section, several graphs described in figure 2 are available to check model assumptions: variance homogeneity and gaussian distribution of residuals. These graphs can also be very useful to highlight which experimental factor affects a sub-population of genes. Several models can be tested and the quality control facilities (statistics in the table of anova, graphs) permit to select which one is the more accurate. Depending on the results given by the macro global_analysis, it could be necessary to use macros

**adjust**and

**cleandata**. The macro adjust will then permit to systematically remove undesirable effects (factors) observed in graphs obtained by the macro global_analysis. In the same manner, the macro cleandata makes it possible to remove genes which do not respect the assumptions of the model. We advise to use this iterative process (global_analysis, cleandata and adjust) before using the macro

**differential_analysis**. The aim of this process is to make sure that data are well fitted by the model and that model assumptions are satisfied. This process is very important to get reliable results on differentially expressed genes.

As explained in the previous section, the package also permits the differential analysis under two hypotheses: either genes have equal variance (homogeneous model – HOM) or each gene has its own variance (heterogeneous model – HET). The macro differential_analysis produces the list of genes differentially expressed between several experimental conditions using p-values and adjusted p-values statistics. A p-value is defined as the probability of rejecting the null hypothesis {The interaction gene x condition is null.}, if true. P-values are calculated for each gene under the hypothesis that all genes have the same variance and under the hypothesis that each gene has its own variance. By using the correction for multiple comparisons FDR [7](False Discovery Rate), a gene is differentially expressed if its adjusted p-value is lower than a significance level given by the user.

Finally, the macro **comparison** enables to compare graphically the results obtained by the two models of variance. In a way, the plot of adjusted p-values under hypothesis of homogeneous variance versus adjusted p-values under hypothesis of heterogeneous variance indicates the genes which probably do not satisfy the homogeneity of variance hypothesis.

To summarize AnovArray package permits successive usage of different anova models (principal effects and their interactions) in order to construct an adaptive approach of gene expression data analysis.

## Results and discussion

AnovArray has been used for the analysis of a macroarray dataset resulting on the hybridisation of 72 membranes. This dataset contains the level of expression of 1920 bovine embryonic cDNA pieces under three conditions of complex sample preparation into two tissues (ovary, brain). The package turned out to be useful and rapid to identify differentially expressed genes between both tissues and three protocols of complex sample preparation (Degrelle et al., manuscrit in preparation). In particular, the anova model emphasizes the existence of an interaction between gene and sample preparation method, between gene and tissue and between gene and sample and tissue. This analysis highlights that the sample preparation could affect differential analysis results.

The dataset described in the manual is a subset of the previous one. The frame of the experiment is conserved and only hybridisation on six membranes have been retained. Three samples obtained from bovine tissues A and B are hybridised on one macroarray membrane. This dataset containing 1525 cDNA was created to give an usage of the AnovArray package. The aim of this analysis is the detection of genes differentially expressed between tissues. The anova model used is

**Y**_{
tgi
}= *μ* + *α*_{
t
}+ *β*_{
g
}+ *γ*_{
tg
}+ *ε*_{
tgi
}

where *Y*_{
tgi
}is the expression (transformed by logarithm in base 2) of the *i*^{
th
}observation of the gene g in tissue t, *μ* is the mean effect, *α*_{
t
}is the effect of tissue t with t in {A, B}, *β*_{
g
}is the effect of gene g with 1525 levels, *γ*_{
tg
}the interaction between tissue t and gene g, and *ε*_{
tgi
}is the residual error. The model assumes that the residuals *ε*_{
tgi
}are independent and normally distributed with equal variance and mean zero (*ε*_{
tgi
}~
(0, *σ*^{2})) if variance is homogeneous, or (*ε*_{
tgi
}~
(0,
)) if variance is heterogeneous. To perform a differential analysis, we test the null hypothesis {the interaction *γ*_{
tg
}is null}. The Fisher statistic is calculated in homogeneous (resp. heterogeneous) model using the variance *σ*^{2} (resp.
). The power of the Fisher test depends on the accuracy of the variance estimation and at least six measures are necessary to estimate
. Two genes are found differentially expressed between the two tissues with the hypothesis of homogeneity of variance and none with the hypothesis of heterogeneity of variance. Methods and statistics are described in a user's guide available at http://www-mig.jouy.inra.fr/stat/AnovArray.

## Conclusion

We have presented a tool for analysis microaray and macroarray based on the analysis of variance. This package contains some useful graphs to describe and analyse microarray and macroarray data. It permits to evaluate the source of bias, the assumptions underlying the model (distribution of residuals, distribution of variances). It gives also the list of differentially expressed genes between more than two conditions using the false discovery rate (FDR).

Our future development will concern an extension to mixed models and an addition of other multiple correction methods.

## Availability and requirements

**Project name:** AnovArray: a set of SAS macros for the analysis of variance of gene expression data.

**Project home page:**
http://www-mig.jouy.inra.fr/stat/AnovArray

**Operating system(s):** Platform independent

**Programming language:** SAS^{®}

**Other Requirements:** SAS^{®} release 8.01 with modules BASE SAS, SAS/Stat and SAS/Graph.

**Licence:**

**Any restrictions to use by non-academic user:** citation

## Declarations

## Authors’ Affiliations

## References

- Kerr M, Martin M, Churchill G: Analysis of Variance for Gene Expression Microarray Data.
*Journal of Computational Biology*2000.Google Scholar - Sekowska A, Robin S, Daudin J, Hénaut A, Danchin A: Extracting biological information from DNA arrays: an unexpected link between arginine and methionine metabolism in
*Bacillus subtilis*.*Genome Biology*2001.Google Scholar - Draghici S:
*Data Analysis Tools for DNA Microarrays, CHAPMAN & HALL/CRC*. 2003, 7: 155–187.Google Scholar - library YASMA[http://people.cryst.bbk.ac.uk/~wernisch/yasma.html]
- MAANOVA software[http://www.jax.org/staff/churchill/labsite/software/anova]
- Didier G, Brézellec P, Remy E, Hénaut A: GeneANOVA-gene expression analysis of variance.
*Bioinformatics*2002.Google Scholar - Benjamini Y, Hochberg Y: Controlling the false discovery rate: A pratical and powerful approach to multiple testing.
*Journal of The Royal Statistical Society B*1995.Google Scholar

## Copyright

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