Skip to main content
  • Research article
  • Open access
  • Published:

Comparison of lists of genes based on functional profiles

Abstract

Background

How to compare studies on the basis of their biological significance is a problem of central importance in high-throughput genomics. Many methods for performing such comparisons are based on the information in databases of functional annotation, such as those that form the Gene Ontology (GO). Typically, they consist of analyzing gene annotation frequencies in some pre-specified GO classes, in a class-by-class way, followed by p-value adjustment for multiple testing. Enrichment analysis, where a list of genes is compared against a wider universe of genes, is the most common example.

Results

A new global testing procedure and a method incorporating it are presented. Instead of testing separately for each GO class, a single global test for all classes under consideration is performed. The test is based on the distance between the functional profiles, defined as the joint frequencies of annotation in a given set of GO classes. These classes may be chosen at one or more GO levels. The new global test is more powerful and accurate with respect to type I errors than the usual class-by-class approach. When applied to some real datasets, the results suggest that the method may also provide useful information that complements the tests performed using a class-by-class approach if gene counts are sparse in some classes. An R library, goProfiles, implements these methods and is available from Bioconductor, http://bioconductor.org/packages/release/bioc/html/goProfiles.html.

Conclusions

The method provides an inferential basis for deciding whether two lists are functionally different. For global comparisons it is preferable to the global chi-square test of homogeneity. Furthermore, it may provide additional information if used in conjunction with class-by-class methods.

Background

With the advent of genomic technologies it has become possible to perform, in a routine manner, experiments which simultaneously analyze the behavior of thousands of genes or proteins in different conditions. A common feature of these studies is that they generate huge quantities of data, which has led to the term "high-throughput" to describe them. There are different types of high-throughput experiments, but here we will refer specifically to the most well known: microarray experiments [13]. A typical differential expression study aims to identify genes that are differentially expressed under two or more conditions; for instance, healthy (or untreated or wild-type) cells compared to tumor (or treated or mutant) cells. Such experiments often result in long lists of genes which have been selected using a given criterion (for instance a moderated t-test followed by a p-value adjustment) to assign them statistical significance.

Obtaining one or more lists of genes is only the first step; they must be interpreted in a way that makes biological sense. One common approach is to relate the genes they contain with one or more functional annotation databases, such as the Gene Ontology (GO), or Kyoto Encyclopedia of Genes and Genomes (KEGG). For simplicity we will speak only of GO classes (or categories, or nodes) but many concepts are also applicable to other annotation systems. There are many methods and models for performing this re-processing [46]. Two of the most commonly used are Gene Enrichment Analysis [7] (EA) and Gene Set Enrichment Analysis [8, 9] (GSEA). This paper is mainly concerned with the EA approach.

To some extent, EA methods may be considered one-sample procedures in the sense that they try to elucidate the association between a "sample" gene list (e.g. differentially expressed genes in the presence of a tumor type) taken from a given "universe" (e.g. the whole set of genes in the microarray) and a characteristic such as being annotated in a given GO class. In contrast, microarray data may also be used in a context where the goal is mainly the comparison of two (or more) "sample" gene lists ([1013]), such as differentially expressed genes in a sample of induced apoptotic cells vs differentially expressed genes in a sample of senescent cells. These lists may share part of their genes, but possibly not all of them. Again, the comparison is made in terms of their annotations in a functional database. A clear example of this approach is the comparison of whole experiments performed by different laboratories, possibly using different microarray technologies, whose resulting gene lists do not always coincide, see for example [14]. Similar or complementary studies that are available may be compared or even combined; thus, the goal of the analysis may be to prove difference or, conversely, to prove similarity.

The statistical model underlying EA and comparison methods based on GO class counts or hits is usually the hypergeometric-multihypergeometric distribution, together with the assumption that the gene "samples" under consideration are taken from a finite universe, e.g. the entire microarray, [15]. This leads to inferential methods mainly based on Fisher's exact test. Sometimes, the underlying model is the less realistic, but simpler to handle, binomial-multinomial distribution, under the assumption that the "samples" are taken from an infinite population. This is the basis of the chi-square approach, e.g. in [16]. In general, the binomial model provides an adequate approximation to the hypergeometric model for sufficiently large marginal frequencies.

Comparison methods typically focus on only one GO class at a time. If multiple classes are considered, the analysis is performed in a class-by-class fashion followed by a correction for multiplicity. An obvious advantage of this class-by-class approach is that classes associated with difference are readily identified. The main drawback of this approach is a loss of power. Controls for multiplicity based on strict criteria such as the family-wise error rate (FWER) unavoidably impose a loss of power, while more permissive criteria such as the false discovery rate (FDR) may be associated to an incomplete type I error control. In other words, the FDR corresponds to the expected proportion of erroneous null hypothesis rejections (false positives) among the total number of observed positives; a good FDR controlling procedure may maintain FDR below a given level, but not maintain the probability of any false positive below a given (significance) level, see for example [1719]. An alternative approach is testing for difference jointly for all classes under consideration. The basis for such an approach in EA is outlined in [20] and a general approach and method is established in [21]. The obvious advantage of the global approach (only one significance test is performed) is a more strict control of type I and II errors. The main drawback is that association or difference is established with respect to a collection of classes, with no identification of those that have a greater influence. Here we present a family of hypothesis tests, and a method based on them, which perform global comparisons but also provide the possibility of combining them with a class-by-class approach, in order to identify the most significant classes.

If s denotes the number of GO classes under consideration, note that the common procedures for 2 × s frequency tables, such as the usual homogeneity chi-square test, are not appropriate as the GO classes are not mutually exclusive--in the sense that a single gene may be annotated in more than one class. Previous work, [21], established a probabilistic model for the joint distribution of gene hits in GO classes and provided a method for testing the fit of observed annotation frequencies to a given, fully-specified model, in a similar way to the classic goodness-of-fit chi-square test. Here we present an evolution of this method which, under a quite general setting, accounts for global testing of the differences between two gene samples, e.g. in an enrichment or experiment comparison context. The analysis may be performed with the objective of either "demonstrating" differences, or conversely demonstrating (near) equivalence, e.g. as an argument in support of the combination of results from two experiments. In this paper we focus in the first approach, i.e. demonstrating difference. This global analysis may be of interest by itself, or may be followed by class-by-class post-hoc comparisons, to determine which classes are more responsible for determining the associations or differences. Under this setting, the global test may provide useful information when sample sizes for specific single classes are small (while global sample size may be adequate). Its type I error level is closer to the nominal level and its power is in general greater than that of the class-by-class approach. For example, at a deep GO level (such as level 10 in the examples below) the global test may detect difference while class-by-class comparisons may be unable to detect any such difference. This may suggest exploring a less specific GO level or even (as the global test provides evidence of the significance of at least one class) to choose as significant the class with the smallest p-value.

Methods

In this section we introduce our method, some notation and the global test procedure, and give a brief description of the associated R software. We conclude this section with the proof of the validity of the global test.

Decision criteria and algorithm

To complement the information provided by the global test with that from the class-by-class approach, we suggest the method illustrated in Figure 1 and described as follows:

Figure 1
figure 1

Flow diagram for the basic algorithm. Flow diagram to illustrate the method of combining a general profile comparison test and class-by-class analyses.

  1. 1.

    At a given GO level, or for a given target set of GO classes (in one or more GO levels), perform a global comparison test. If the global test gives a non-significant result, stop the process: there is no evidence of differences for these GO classes. Otherwise, proceed to the next step.

  2. 2.

    Perform class-by-class testing (e.g. by means of Fisher's exact test1, with p-value adjustment) to identify the significant classes. If any of these tests produce significant results, stop the process: significant GO classes have been identified. Otherwise, proceed to the next step.

  3. 3.

    If no significant classes were found in the preceding step (but remember, the global test for differences gave a significant result), either:

    1. (a)

      Declare as significant the class associated with the lowest unadjusted p-value or, alternatively,

    2. (b)

      go back to step 2 and test for less specific GO classes, if these classes are still biologically or clinically interesting.

Step 1 is motivated by the need for adequate control on type I errors: by proceeding this way, the type I error of the full procedure is dominated by the type I error of the new global test. Thanks to the safeguard provided in step 1, step 3 may provide an extra possibility to identify truly significant classes. Admittedly, sometimes the class-by-class approach will detect one or more truly significant classes while the global test will give a negative result. But our simulation results indicate that this is a comparatively rare event, and the better power properties of the global test compared to multiple class-by-class testing, particularly in presence of low annotation frequencies, in general largely compensate this small loss of sensitivity.

Notation and statistical approach

Given a set of GO classes which cut a GO graph at a given (but not necessarily unique) level--or simply a set of "interesting" classes--our approach consists of expanding the original distribution (where one gene can appear in several classes) into a new expanded distribution in which each gene belongs to one, and only one, disjoint set. This expanded distribution can be modeled as multinomial or as multihypergeometric, and standard statistical methods can be used to derive the asymptotic distribution of the counts.

We define a functional profile as the full vector of counts of the n genes in the sample in the A1, A2, ..., A s classes of a given level of an ontology--or, more generally, s classes defining a cross section of an ontology, possibly at more than one level. Since single genes may be annotated in more than one class, these counts may sum more than the total number of genes under consideration (if taken as absolute frequencies) or more than one (if taken as relative frequencies). To overcome this problem [21] introduced the concept of an expanded profile, defined as the joint frequencies of counts in the set of all possible combined GO classes, which are mutually exclusive. In other words, we distinguish between genes that are annotated exclusively in node A1, genes that are annotated exclusively and simultaneously in node A1 and node A2, genes that are annotated exclusively and simultaneously in nodes A1, A2 and A3, and so on. Expanded profiles should not be confused with plain ("contracted") functional profiles.

Figure 2 shows the contracted and expanded profiles associated with 4 genes in 3 GO classes.

Figure 2
figure 2

Basic vs expanded profiles. A schematic view of basic and expanded functional profiles associated with a list of 4 genes projected at the second level of the MF ontology.

With these ideas in mind, we establish notation as follows.

The column vector of relative frequencies evaluated over a set of n genes is represented by P ^ = ( p ^ 1 , p ^ 2 , , p ^ s ) (or P ^ n to emphasize that it comes from a "sample" of n genes). The "dot" notation p ^ i is used to highlight the fact that all the genes annotated in class i (but not exclusively in it) have been counted. The term "profile" will indistinctly be used to designate the absolute frequencies, n P ^ n or the relative frequencies P ^ n given n.

The symbol P ^ (or P ^ n ) designates an expanded profile, that is, the column vector of relative frequencies

P ^ = ( p ^ 1 , p ^ 2 , , p ^ s , p ^ 12 , p ^ 13 , , p ^ ( s - 1 ) s , p ^ 123 , ) .
(1)

Here p ^ i corresponds to the frequency of genes exclusively annotated in node A i , p ^ i j to the frequency of genes exclusively annotated in nodes A i and A j , and so on.

All these profiles are taken as sampling realizations of theoretical or population profiles, say P and Q--or P and Q for expanded profiles.

The dissimilarity between two profiles is measured in terms of their squared Euclidean distance:

d ( P ^ , Q ^ ) = i = 1 s ( p ^ i - q ^ i ) 2 .
(2)

A new global comparison test

Suppose that we wish to compare the GO profiles of two lists of genes, A and B, of size n and m, respectively. Following [22], we note that the lists may share k genes, with three possibilities available (see Figure 3):

Figure 3
figure 3

Relations between lists of genes. Possible relationships between gene lists to be compared: one list includes the other; two intersecting lists; two non-intersecting lists.

  1. 1.

    k = n <m, that is A B.

  2. 2.

    k <n, k <m, that is AB.

  3. 3.

    k = 0, that is AB = .

Now, let P ^ be the sample profile for the first list in a given ontology, and Q ^ the corresponding profile for the second list. We have

P ^ = k n P ^ 0 + n - k n P ^ 1
(3)

and

Q ^ = k m P ^ 0 + m - k m Q ^ 1
(4)

where P ^ 0 is the profile of the k common genes, and P ^ 1 and Q ^ 1 are the profiles of the non-common genes. Similarly, P ^ 0 , P ^ 1 and Q ^ 1 are the corresponding expanded sample profiles.

To test a null hypothesis of profile equality versus an alternative of difference, that is:

H 0 : d P , Q = 0 H 1 : d P , Q > 0
(5)

we can use the fact that, if H0 is true,

V n , m = n m n + m d ( P ^ , Q ^ )
(6)

approximately follows the distribution of a linear combination of s independent central chi-square-distributed random variables, each one with one degree of freedom:

i = 1 s β i χ 1 , i 2 .
(7)

The details of the calculation of the β i coefficients and in general the proof of the above result are delayed to the end of this section. The result ensures the validity of the following decision criterion: "reject H0 if Vn,m>v (α, s)", where v (α, s) stands for the 1 - α quantile of the distribution of (7). Likewise, a p-value for (6) can be calculated from (7).

When the population profiles are not equal, the statistic

n m n + m 1 2 d ( P ^ , Q ^ ) - d ( P , Q )
(8)

approximately follows a normal distribution N (0, σ2). As a consequence,

d ( P ^ , Q ^ ) ± z α σ ^ 1 n + 1 m
(9)

defines an approximate 1 - 2α confidence interval for d (P, Q), where z α stands for the 1 - α quantile of a standard normal distribution and σ ^ is a suitable estimate of σ. Additionally, expression (8) provides a way to approximately compute the power of the above test. Again, details such as the expression of the variance σ2 are considered at the end of this section ("Mathematical details").

Software

The functionalities described in this paper, together with those in [21], have been implemented in the R package goProfiles, available from Bioconductor http://bioconductor.org/packages/release/bioc/html/goProfiles.html.

Package goProfiles uses the CRAN package CompQuadForm [23] to compute the distribution associated with (7). As an illustration of its use, the R commands associated with the example in the next section are available at http://estbioinfo.stat.ub.es/pubs/goProfiles1_BIF/goProfiles1.htm.

Mathematical details

From considerations similar to those in [21] we conclude that the asymptotic distribution of ( P ^ , Q ^ ) is approximately multivariate normal. More exactly, if

D n , m = n m n + m 1 2 ( P ^ - P , Q ^ - Q )
(10)

then

D n , m n , m d Y ~ N ( 0 , Σ P Q )
(11)

where the covariance matrix Σ PQ may be estimated by:

Σ P ^ Q ^ = m n + m A k n + m B k n + m B n n + m C

with:

A = k n Σ P ^ 0 + n - k n Σ P ^ 1 B = Σ P ^ 0 C = k m Σ P ^ 0 + m - k m Σ Q ^ 1

and Σ P ^ 0 , Σ P ^ 1 and Σ Q ^ 1 correspond to the covariance matrices associated with the respective profiles P ^ 0 , P ^ 1 and Q ^ 1 , that have the general form [21]: σ ii = pi·(1 - pi·) for i = 1, ..., s and σ ij = pij·- pi·pj·, when ij, for i, j = 1, ..., s.

From the algebraic relation:

d ( P ^ , Q ^ ) = ( P ^ - Q ^ ) t ( P ^ - Q ^ ) = ( P ^ , Q ^ ) t 2 s ( P ^ , Q ^ ) = ( P , Q ) t 2 s ( P , Q ) + 2 ( P , Q ) t 2 s ( P ^ - P , Q ^ - Q ) + ( P ^ - P , Q ^ - Q ) t 2 s ( P ^ - P , Q ^ - Q ) = d ( P , Q ) + 2 ( P , Q ) t 2 s ( P ^ - P , Q ^ - Q ) + d ( P ^ - P , Q ^ - Q )
(12)

where 2 s is the 2s × 2s matrix defined from the identity matrices of dimension s, I s :

2 s = I s - I s - I s I s ,
(13)

we have:

n m n + m 1 2 d ( P ^ , Q ^ ) - d ( P , Q ) = 2 ( P , Q ) t 2 s D n , m + n m n + m 1 2 d ( P ^ - P , Q ^ - Q )
(14)

where Dn, mhas been defined in (10).

Consider first the case PQ. The second summand on the right-hand side of the above expression tends to zero,

n m n + m 1 2 d ( P ^ - P , Q ^ - Q ) n , m P 0
(15)

while, as a direct consequence of (11), the first summand in (14): is asymptotically normal:

2 ( P , Q ) t 2 s D n , m n , m d U ~ N ( 0 , σ 2 ) ,
(16)

with

σ 2 = 4 ( P - Q , Q - P ) t Σ P Q ( P - Q , Q - P ) .
(17)

Consider now that P = Q. Then we have

d ( P ^ , Q ^ ) = d ( P ^ - P , Q ^ - Q ) .
(18)

From general results on the asymptotic distribution of quadratic forms with a normal basis [24], it can be deduced that

V n , m = n m n + m d ( P ^ , Q ^ ) = D n , m t 2 s D n , m
(19)

is approximately distributed as a mixture of independent chi-square random variables:

V n , m n , m d V = i = 1 s β i χ 1 , i 2 ,
(20)

where the β i correspond to the eigenvalues of the matrix 2 s Σ P Q and the χ 1 , i 2 are independent chi-square random variables with one degree of freedom.

From (16) it follows that under the null hypothesis in (5) (i.e., when P = Q) U n , m P 0 . Thus, the decision criterion for (5) may be based on (20).

Results

In this section we describe two illustrative case-studies and some simulation results on the performance of the statistical methods introduced above.

Case-studies

We selected two datasets to illustrate our method. The first one is inspired by the work presented in [25], using data kindly provided by those authors. They studied the relationships between phenotypic attributes of a disease and the features of the associated genes, including their ascribed annotated functional classes and expression patterns. The sample gene lists were obtained from the ENSEMBL and OMIM databases and manually curated by the authors. They compared the functional pattern of different groups of genes: (1) genes associated with dominant diseases vs genes associated with recessive diseases, (2) genes associated with diseases vs all the genes in the human genome. The authors performed their global comparisons using chi-square tests, although they fairly point out that GO classes do not define a true partition of the gene lists or, in other words, that a gene may be annotated in more than one class. Although their conclusions and ours will be similar, we believe our method provides a more appropriate framework for such comparisons. Here we illustrate our method by comparing dominant disease-inducing genes and recessive disease-inducing genes.

Table 1 shows the results of applying the global difference test to a list of 985 dominant and 818 recessive genes from the NCBI Entrez database2 projected at the second level of the GO. Figure 4 shows plots of the profiles corresponding to the second level of the molecular function (MF) ontology for dominant and recessive genes. The results of the analysis, which are consistent with those obtained by [25], show that the two sets of genes can be considered functionally distinct with respect to the molecular function (MF) and biological process (BP) ontologies, that is to say, the related dominant and recessive diseases can be associated with different concept categories in both ontologies. With respect to the cellular component (CC) ontology, there are also statistically significant differences although they may be less biologically significant because the profiles are very similar (0.0248 distance).

Table 1 Dominant vs recessive diseases.
Figure 4
figure 4

Dominant vs recessive genes. Comparison of functional profiles at the second level of the MF ontology based on the lists associated with dominant and recessive diseases.

According to step 1 in our general algorithm, analysis may be continued in order to identify the GO classes associated with the observed global differences. Tables 2 and 3 show the significant GO classes at level 2 for the MF and BP ontologies, respectively. The only significant class for the CC ontology is GO:0032991 with a 4.258815 × 10-6 p-value. The p-values are based on class-by-class analyses by means of Fisher's test, followed by correction for testing multiplicity using the Holm method, [26].

Table 2 Dominant vs recessive diseases.
Table 3 Dominant vs recessive diseases.

These differences are also observed in deeper levels of the GO, that is, for more specific categories of molecular functions or biological processes. For illustrative purposes we briefly discuss some results at level 10. For the MF ontology, the global p-value is 0.0001307 but no significant classes are detected when class-by-class analyses are performed in the same conditions as before. However, according to step 3, the ontology class GO:0008094 (DNA-dependent ATPase activity) may be significant. For the BP ontology, a significant global result is also obtained, with a p-value of 8.639 × 10-8. The subsequent class-by-class analyses indicate the GO classes in Table 4 as significant.

Table 4 Dominant vs recessive diseases.

In the second example we compare two microarray experiments described in [27] and [28] to study prostate tumors on the basis of gene expression data. Although the studies were performed independently, the type of tumor they analyzed, the microarray platforms (both studies were based on Affymetrix technology U95AV2) and the sample sizes were all similar; see Table 1 in [29]. Even a substantial proportion of the genes were common to both lists, which makes global comparison methods such as the chi-square test for homogeneity highly inadequate for determining the extent to which these genes represent different functional GO profiles or not. Obviously, the answer to the preceding question may depend on the level of specificity of the GO classes under consideration. The results for very general classes, at level 2 in the GO, are summarized in Table 5. There is only evidence of statistically significant differences (though possibly with little biological relevance, given the very small distances) for the CC ontology, with a 0.004 p-value. When class-by-class Fisher's tests are performed for the CC ontology (this testing step should be avoided for the globally non-significant ontologies, MF and BP) two classes (Table 6) emerge as significant. Significance for the CC ontology is maintained for more specific GO classes. When the analysis is performed at level 10, the global comparison test only produces significant results for the CC ontology, with a p-value of 0.01511. Class-by-class analyses (Table 7) reveal differences in some classes, all related to the ribosome.

Table 5 Comparison of two prostate cancer studies.
Table 6 Comparison of two prostate cancer studies at level 2.
Table 7 Comparison of two prostate cancer studies at level 10.

Simulations

Simulations were performed in order to assess the validity of the above tests. Their true probability of rejecting the null hypothesis was estimated in different circumstances. Each simulation consisted of the generation of series of 10,000 sample profiles from hypothetical populations whose configurations were suggested (number of GO classes, sample sizes, etc.) by the observed profiles in some selected datasets and studies. The simulated profiles were always generated, in a first step, as "expanded profiles" according to a multinomial distribution, and subsequently converted to "contracted" profiles in order to compute the test statistics. The simulation programs were written in R [30] and executed in 64-bit R 2.12.1 under 64-bit Windows 7 Enterprise edition. An exhaustive simulation study is in process and is the subject of a forthcoming paper. Some early results of this study are available at the above address; they are fully concordant with the preliminary study described here.

Table 8 shows the main results for two simulation scenarios based on [25] and [27, 28] and simulating level 10 in the GO. The results in the "true H0" column correspond to "sample" profiles that were generated from equal "population" profiles, based on pooled data. The results in the "false H0" column correspond to population profiles directly taken as the observed profiles in the preceding examples (and that to a greater or lesser extent are truly different). For each simulation scenario, the following estimated quantities are displayed:

Table 8 Simulation results.
  • Probability of detecting at least one significant class when a class-by-class analysis with Holm's correction for multiplicity is performed,

  • Probability of rejecting the null hypothesis for the standard chi-square test of homogeneity

  • Probability of rejecting the null hypothesis for the global test based on (6) and (7), and

  • Additional detections of significant classes, according to step 3 of the proposed algorithm, i.e. when no significant classes are detected in a class-by-class analysis but the global test gave a significant result.

All the tests are simulated under a nominal significance level of 0.05.

The classical global chi-square test is clearly incorrect, as may be expected from the arguments in the background section. Its true significance level is very erratic, with very low but also very high values that may largely exceed the nominal level, with an observed maximum of 0.152 for the simulation based on the [25] scenario and the BP ontology.

Also as expected, the new method is at least as powerful (and in general more powerful) than a standard class-by-class analysis. The proportion of true positives that are detected by the class-by-class approach and not by the global test is very low. In the simulated scenarios it ranges from 0 to a maximum of 0.0038 in the simulation scenario inspired by [27, 28] and the MF ontology. So, the possible loss in power associated to step 1 in our method is largely compensated by the greater power of the global test.

Discussion

In this work we present a method for performing global comparisons between groups of genes based on their functional profiles that is itself based on their projections at fixed GO levels, or their projections on a set of "interesting" GO classes which could even be at different levels in the ontology.

The method has been shown to perform well in the real case situations analyzed as well as in the simulation studies performed, even for very sparse frequency tables.

We noticed that it has become common practice to perform global tests (that is comparing two lists of genes) based on class-by-class analysis (declaring global differences if there is at least one significant class). Our work suggests that this approach is not appropriate because the dependence between the individual tests for each class and the objective of controlling the FDR or FWER error rates may result in a loss of power. Indeed our simulation results show that this approach yields a less powerful test than the method we present. This is not surprising since making global comparisons is not the main objective of these tests.

Another alternative to performing global tests, the classical homogeneity chi-square test, has also proven not to be valid. On the basis of aprioristic validity reasons explained above in the Background section, and specially in view of its lack of adequate type I error control, its use should be avoided as a tool for making global comparisons between profiles.

Although making a global comparison may often be the main objective of a study, especially if interest is focused on the GO classes that make the difference, the global test may work in conjunction with the usual methods to provide some extra insight. This is particularly clear when many GO classes are considered, for example for deep levels of the GO. Table 8 reflects the true significance level and power of the global test and the class-by-class approach in some scenarios inspired by real examples, at level 10 in the GO.

Even for these cases where thousands of possible GO classes are considered, the global test still has a test size that is near the nominal significance level while at the same time it is more powerful than (or as powerful as) the class-by-class approach.

For those cases where highlighting GO classes causing the difference is of interest, we suggest the following strategy: if class-by-class analysis fails to detect any significant classes but the global test provides a significant result, then highlight as significant the class with the smallest uncorrected p-value. This strategy allows the detection of additional significant classes without inflating the type I error rate.

Conclusion

In conclusion, the method presented here provides a suitable approach for making global comparisons between lists of genes and should be considered to be complementary to some of the existing ways of comparing lists of genes derived from microarray studies.

In those cases where the user is interested in focusing on a few genes or specific classes, other methods may be more suitable. However, when a global comparison based on the biological meaning of the list of selected genes is required, our method may be the option of choice. It is statistically reliable (Table 8 and http://estbioinfo.stat.ub.es/pubs/goProfiles1_BIF/goProfiles1.htm) and an adequate alternative to the chi-square homogeneity test, which is incorrect to compare GO profiles. Additionally, it may provide some extra insight into GO classes that prove to be interesting but which would not be detected otherwise. This is more apparent at deep GO levels for sparse frequency tables (i.e. profiles), where correcting for a great degree of testing multiplicity imposes a heavy load on the class-by-class approach.

Finally, it is worth mentioning that the applicability of our global comparison method largely surpasses the scope of our conducting examples. As mentioned in the second example (prostate cancer studies), comparison of functional profiles associated with distinct datasets can be used to decide if they can be merged or used combinedly for further studies. Another interesting application appears if one is interested in comparing gene signatures, that is groups of genes whose combined expression pattern is uniquely characteristic of a given condition or disease state and which are usually used to characterize or to predict this condition. One problem with signatures is that in many cases there are many signatures for similar situations. A comparison of their associated functional profiles may be used to help deciding if two given signatures are functionally equivalent. Also other useful applications may arise -as kindly reported by a referee - when one is interested in comparing the effect of applying different filtering methods. If two lists of genes obtained by applying different filters, or different cutoffs, do not differ in their functional profiles they might be considered functionally equivalent. Last, although outside the scope of this journal, the method may also have potential applications, like to compare lists of words (e.g. from two literary styles) in terms of their annotation profiles in semantic databases.

Endnotes

1Fisher's exact test constitutes nearly a standard in this context and does not require new software development; clearly, a 2 × 2 version of our own test will be a more canonical possibility, but make the method less comparable to the mainstream approach without avoiding the need for a multiple testing correction.,

2Given the dynamic nature of the content of biological databases, these lists may have experienced some changes. In order to have a "frozen" version they have not been modified since they were included in the goProfiles package (first version Bioconductor 2.3) so that, in spite of possibly being out of date, they allow the examples in the package to be reproduced.

Abbreviations

BP:

Biological Process

CC:

Cellular Component

EA:

Enrichment Analysis

FDR:

False Discovery Rate

FWER:

Family-Wise Error rate

GO:

Gene Ontology

GOID:

GO Term Identifier

GSEA:

Gene Set Enrichment Analysis

MF:

Molecular Function

NCBI:

National Center for Biotechnology Information

OMIM:

Online Mendelian Inheritance in Man.

References

  1. authors S: The Chipping Forecast. Nature Genetics. 1999, 21: all-

    Google Scholar 

  2. Kohane IS, Butte AJ, Kho A: Microarrays for an Integrative Genomics. 2002, Cambridge, MA, USA: MIT Press

    Google Scholar 

  3. Nguyen DV: DNA Microarray Experiments: Biological and Technological Aspects. Biometrics. 2002, 58 (4): 701-717. 10.1111/j.0006-341X.2002.00701.x. [http://www.blackwell-synergy.com/doi/abs/10.1111/j.0006-341X.2002.00701.x]

    Article  PubMed  Google Scholar 

  4. Khatri P, Drăghici S: Ontological analysis of gene expression data: current tools, limitations, and problems. Bioinformatics. 2005, 18: 3587-3595.

    Article  Google Scholar 

  5. Mosquera JL, Sánchez-Pla A: SerbGO: Searching for the best GO Tool. Nucleic Acids Research. 2008, W368-W371. suppl 2, 36 Web Server

  6. Huang DW, Sherman BT, Lempicki RA: Bioinformatics enrichment tools: paths toward the comprehensive functional analysis of large gene lists. Nucl Acids Res. 2009, 37: 1-13. 10.1093/nar/gkn923. [http://nar.oxfordjournals.org/cgi/content/abstract/37/1/1]

    Article  PubMed Central  Google Scholar 

  7. Draghici S, Khatri P, Martins RP, Ostermeier GC, Krawetz SA: Global functional profiling of gene expression. Genomics. 2003, 81 (2): 98-104. 10.1016/S0888-7543(02)00021-6.

    Article  CAS  PubMed  Google Scholar 

  8. Mootha VK, Lindgren CM, Eriksson KF, Subramanian A, Sihag S, Lehar J, Puigserver P, Carlsson E, Ridderstrale M, Laurila E, Houstis N, Daly MJ, Patterson N, Mesirov JP, Golub TR, Tamayo P, Spiegelman B, Lander E, Hirschhorn JN, Altshuler D, Groop LC: PGC-1alpha-responsive genes involved in oxidative phosphorylation are coordinately downregulated in human diabetes. Nature Genet. 2003, 34: 267-73. 10.1038/ng1180.

    Article  CAS  PubMed  Google Scholar 

  9. Subramanian A, Tamayo P, Mootha VK, Mukherjee S, Ebert BL, Gillette MA, Paulovich A, Pomeroy SL, Golub TR, Lander ES, Mesirov JP: From the Cover: Gene set enrichment analysis: A knowledge-based approach for interpreting genome-wide expression profiles. PNAS. 2005, 102 (43): 15545-15550. 10.1073/pnas.0506580102. [http://dx.doi.org/10.1073/pnas.0506580102]

    Article  PubMed Central  CAS  PubMed  Google Scholar 

  10. Lesur I, Campbell JL: The Transcriptome of Prematurely Aging Yeast Cells Is Similar to That of Telomerase-deficient Cells. Molecular Biology of the Cell. 2004, 15: 1297-1312.

    Article  PubMed Central  CAS  PubMed  Google Scholar 

  11. Lesur I: Study of the Transcriptome of the prematurely aging dna-2 yeast mutant using a new system allowing comparative DNA microarray analysis. PhD thesis. 2005, Universite Bordeaux I

    Google Scholar 

  12. Laun P, Ramachandran L, Jarolim S, Herker E, Liang P, Wang J, Weinberger M, Burhans DT, Suter B, Madeo F, Burhans WC, Breitenbach M: A comparison of the aging and apoptotic transcriptome of Saccharomyces cerevisiae. FEMS Yeast Research. 2005, 5: 1261-1272. 10.1016/j.femsyr.2005.07.006.

    Article  CAS  PubMed  Google Scholar 

  13. Kumar A, McAhren SM, West A, Gao H, Higgins MA, Halstead BW, Searfoss GH, Calley JN, Ryan TP, Dow ER: Abstracting Genes to Gene Ontology Terms Allows Comparison Across Multiple Species. Proceedings of the 18th International Conference on Systems Engineering (ISCEng'05), IEEE Computer Society. 2005

    Google Scholar 

  14. Yauk CL, Berndt ML: Review of the Literature Examining the Correlation Among DNA Microarray Technologies. Environmental and Molecular Mutagenesis. 2007, 48: 380-394. 10.1002/em.20290.

    Article  PubMed Central  CAS  PubMed  Google Scholar 

  15. Goeman JJ, van de Geer S, de Kort F, van Houwelingen HC: A global test for groups of genes: testing association with a clinical outcome. Bioinformatics. 2004, 20: 93-99. 10.1093/bioinformatics/btg382.

    Article  CAS  PubMed  Google Scholar 

  16. Cai Z, Mao X, Li S, Wei L: Genome comparison using Gene Ontology (GO) with statistical testing. BMC Bioinformatics. 2006, 7: 374-384. 10.1186/1471-2105-7-374.

    Article  PubMed Central  PubMed  Google Scholar 

  17. Dudoit S, Shaffer JP, Boldrick C: Multiple Hypothesis Testing in Microarray Experiments. Statistical Science. 2003, 18: 71-103. 10.1214/ss/1056397487.

    Article  Google Scholar 

  18. Ferreira JA, Zwinderman AH: On the Benjamini-Hochberg method. The Annals of Statistics. 2006, 34 (4): 1827-1849. 10.1214/009053606000000425.

    Article  Google Scholar 

  19. Farcomeni A: A review of modern multiple hypothesis testing, with particular attention to the false discovery proportion. Statistical Methods in Medical Research. 2008, 17: 347-388.

    Article  PubMed  Google Scholar 

  20. Gold DL, Coombes KR, Wang J, Mallick B: Enrichment analysis in high-throughput genomics-acounting for dependency in the NULL. Briefings in Bioinformatics. 2007, 8: 71-77.

    Article  CAS  PubMed  Google Scholar 

  21. Sánchez-Pla A, Salicrú M, Ocaña J: Statistical methods for the analysis of high-throughput data based on functional profiles derived from the Gene Ontology. Journal of Statistical Planning and Inference. 2007, 137 (12): 3975-3989. 10.1016/j.jspi.2007.04.015.

    Article  Google Scholar 

  22. Günther CC, Langaas M, Lydersen S: Statistical Hyhpothesis Tesing of Association Between Two Lists of Genes for a Given Gene Class. Tech. Rep. 1, Norwegian Institution of Science and Technology. 2006

    Google Scholar 

  23. Duchesne P, Lafaye De Micheaux P: Computing the distribution of quadratic forms: Further comparisons between the Liu-Tang-Zhang approximation and exact methods. Computational Statistics & Data Analysis. 2010, 54 (4): 858-862. 10.1016/j.csda.2009.11.025. [http://ideas.repec.org/a/eee/csdana/v54y2010i4p858-862.html]

    Article  Google Scholar 

  24. Dik JJ, Gunst MCM: The distribution of general quadratic forms in normal variables. Statistica Neerlandica. 1985, 39: 14-26. 10.1111/j.1467-9574.1985.tb01121.x.

    Article  Google Scholar 

  25. López-Bigas N, Blencowe NJ, Ouzounis CA: Highly consistent patterns for inherited human diseases at the molecular level. Bioinformatics. 2006, 22 (3): 269-277. 10.1093/bioinformatics/bti781.

    Article  PubMed  Google Scholar 

  26. Holm S: A simple sequentially rejective multiple test procedure. Scandinavian Journal of Statistics. 1979, 6: 65-70.

    Google Scholar 

  27. Welsh JB, Sapinoso LM, Su AI, Kern SG, Wang-Rodriguez J, Moskaluk-Jr CA, Frierson HF, M HG: Analysis of Gene Expression Identifies Candidate Markers and Pharmacological Targets in Prostate Cancer. Cancer Res. 2001, 61: 5974-5978.

    CAS  PubMed  Google Scholar 

  28. Dinesh S, Sellers WR, Febbo PK, Ross K, Jackson DG, Manola J, Ladd C, Tamayo P, Renshaw AA, D'Amico AV, Richie JP, Lander ES, Loda M, Kantoff PW, Golub TR: Gene expression correlates of clinical prostate cancer behavior. Cancer Cell. 2002, 1 (2): 203-209. 10.1016/S1535-6108(02)00030-2.

    Article  Google Scholar 

  29. Manoli T, Gretz N, Grone HJ, Kenzelmann M, Eils R, Brors B: Group testing for pathway analysis improves comparability of different microarray datasets. Bioinformatics. 2006, 22 (20): 2500-2506. 10.1093/bioinformatics/btl424. [http://bioinformatics.oxfordjournals.org/cgi/content/abstract/22/20/2500]

    Article  CAS  PubMed  Google Scholar 

  30. R Development Core Team: R: A Language and Environment for Statistical Computing. 2010, R Foundation for Statistical Computing, Vienna, Austria, [ISBN 3-900051-07-0], [http://www.R-project.org]

    Google Scholar 

Download references

Acknowledgements

This research was supported by research projects MTM2008-00642, Ministerio de Ciencia e Innovación and 2005SGR00871, Generalitat de Catalunya. The authors wish to acknowledge Ramon Diaz-Uriarte for many discussions about R, the GO and other important topics, and Nuria López-Bigas et al. for allowing the use of their datasets.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Alex Sánchez-Pla.

Additional information

Competing interests

The authors declare that they have no competing interests.

Authors' contributions

All authors designed the research, AS and MS conceived the approach. MS and JO performed the main Mathematical developments. JO and AS made the program development for the goProfiles package. JO designed and performed the simulation. AS chose and developed the examples. All authors have read and approved the final manuscript.

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

Salicrú, M., Ocaña, J. & Sánchez-Pla, A. Comparison of lists of genes based on functional profiles. BMC Bioinformatics 12, 401 (2011). https://doi.org/10.1186/1471-2105-12-401

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/1471-2105-12-401

Keywords