No retraction, correction or concern found when last checked on Oct 15, 2026.
GSVA: gene set variation analysis for microarray and RNA-Seq data
Sonja Hänzelmann, Robert Castelo, Justin Guinney
BMC Bioinformatics · 2013
Abstract
Background. Gene set enrichment (GSE) analysis is a popular framework for condensing information from gene expression profiles into a pathway or signature summary. The strengths of this approach over single gene analysis include noise and dimension reduction, as well as greater biological interpretability. As molecular profiling experiments move beyond simple case-control studies, robust and flexible GSE methodologies are needed that can model pathway activity within highly heterogeneous data sets.
Results. To address this challenge, we introduce Gene Set Variation Analysis (GSVA), a GSE method that estimates variation of pathway activity over a sample population in an unsupervised manner. We demonstrate the robustness of GSVA in a comparison with current state of the art sample-wise enrichment methods. Further, we provide examples of its utility in differential pathway activity and survival analysis. Lastly, we show how GSVA works analogously with data from both microarray and RNA-seq experiments.
Conclusions. GSVA provides increased power to detect subtle pathway activity changes over a sample population in comparison to corresponding methods. While GSE methods are generally regarded as end points of a bioinformatic analysis, GSVA constitutes a starting point to build pathway-centric models of biology. Moreover, GSVA contributes to the current need of GSE methods for RNA-seq data. GSVA is an open source software package for R which forms part of the Bioconductor project and can be downloaded at http://www.bioconductor.org.
Full text
From PubMed Central, U.S. National Library of Medicine, as current on Oct 17, 2026. Paragraph numbers are ours, so an answer can point at one.
Background
The ability to measure mRNA abundance at a genomic scale has led to many efforts to catalog the diverse molecular patterns underlying biological processes. To facilitate the interpretation and organization of long lists of genes resulting from microarray experiments, gene set enrichment (GSE) methods have been introduced. They systematically measure and annotate molecular profiles that are inherently noisy and difficult to interpret. GSE analyses begin by obtaining a ranked gene list, typically derived from a microarray experiment that studies gene expression changes between two groups. The genes are then mapped into predefined gene sets and their gene expression statistic is summarized into a single enrichment score for each gene set. A significant benefit of these pathway-based methods is interpretability: gene function is collectively exerted and may vary by environmental stimuli, genetic modifications, or disease state. Thus, organizing genes into gene sets provides a more intuitive and stable context for assessing biological activity.
Many methodological variations of GSE methods have been proposed, including non-parametric enrichment statistics, battery testing, and focused gene set testing. Battery testing methods aim at identifying gene sets standing out from a large collection of annotated pathways and gene signatures. Focused gene set testing methods try to carefully evaluate a few gene sets that are relevant to the experiment being analyzed. GSE methods have been successfully applied in many experimental conditions to interpret the pathway architecture of biological states including cancer, metabolic disease, and development. For a recent review on GSE methods the reader may consult.
An important distinction among many of the GSE methods is the definition of the null hypothesis that is tested. The null hypothesis of a competitive test declares that there are no differences between genes inside and outside the gene set (e.g.,). A self-contained test defines its null hypothesis only in terms of the genes inside the gene set being tested (e.g.,). More concretely, for a self-contained test on a gene set, the differential expression of just one of its genes allows one to reject the null hypothesis of no differential expression for that gene set. It follows, that self-contained tests provide higher power than competitive tests to detect subtle changes of expression in a gene set. But they may not be useful to single out a few gene sets in a battery testing setting because of the potentially large number of reported results.
Finally, many GSE methods assume two classes (e.g. case/control) and evaluate enrichment within this context. The limits imposed by this assumption become evident with the rise of large genomic studies, such as The Cancer Genome Atlas project (TCGA - http://cancergenome.nih.gov), an ambitious project with the goal to identify the molecular determinants of multiple cancer types. In contrast to case-control studies with small sample sizes, the TCGA project has large patient cohorts with multiple phenotypes, structured with hierarchical, multi-class, and censored data. Hence, GSE methods are needed that can assess pathway variation across large, heterogeneous populations with complex phenotypic traits.
To address these challenges, we present a non-parametric, unsupervised method called Gene Set Variation Analysis (GSVA). GSVA calculates sample-wise gene set enrichment scores as a function of genes inside and outside the gene set, analogously to a competitive gene set test. Further, it estimates variation of gene set enrichment over the samples independently of any class label. Conceptually, this methodology can be understood as a change in coordinate systems for gene expression data, from genes to gene sets. This transformation facilitates post-hoc construction of pathway-centric models, such as differential pathway activity identification or survival prediction. Further, we demonstrate the flexibility of GSVA by applying it to RNA-seq data.
Implementation
A schematic overview of the GSVA method is provided in Figure 1, which shows the two main required inputs: a matrix X={xij}p×n of normalized expression values (see Methods for details on the preprocessing steps) for p genes by n samples, where typically p≫n, and a collection of gene sets. We shall denote by xi the expression profile of the i-th gene, by xij the specific expression value of the i-th gene in the j-th sample, and by γk the subset of row indices in X such that γk⊂{1,… p} defines a set of genes forming a pathway or some other functional unit. Let |γk| be the number of genes in γk.
GSVA starts by evaluating whether a gene i is highly or lowly expressed in sample j in the context of the sample population distribution. Probe effects can alter hybridization intensities in microarray data such that expression values can greatly differ between two non-expressed genes. Analogous gene-specific biases, such as GC content or gene length have been described in RNA-seq data. To bring distinct expression profiles to a common scale, an expression-level statistic is calculated as follows. For each gene expression profile, a non-parametric kernel estimation of its cumulative density function is performed. In the case of microarray data, a Gaussian kernel (, pg. 148) is used:
where hi is the gene-specific bandwidth parameter that controls the resolution of the kernel estimation, which is set to hi=si/4, where si is the sample standard deviation of the i-th gene (Figure 1, step 1). In the case of RNA-seq data, a discrete Poisson kernel is employed:
where r=0.5 in order to set the mode of the Poisson kernel at each xik, because the mode of a Poisson distribution with an integer mean λ occurs at λ and λ−1, and at the largest integer smaller than λ when λ is continuous.
Let zij denote the previous expression-level statistic, or, depending on whether xij are continuous microarray, or discrete count RNA-seq values, respectively. The following step condenses expression-level statistics into gene sets by calculating sample-wise enrichment scores. To reduce the influence of potential outliers, we first convert zij to ranks z(i)j for each sample j and normalize further rij=|p/2−z(i)j| to make the ranks symmetric around zero (Figure 1, step 2). This is done to up-weight the two tails of the rank distribution when computing the final enrichment score.
We assess the enrichment score similar to the GSEA and ASSESS methods using the Kolmogorov-Smirnov (KS) like random walk statistic (Figure 1, step 3):
where τ is a parameter describing the weight of the tail in the random walk (default τ=1), γk is the k-th gene set, I(g(i)∈γk) is the indicator function on whether the i-th gene (the gene corresponding to the i-th ranked expression-level statistic) belongs to gene set γk, |γk| is the number of genes in the k-th gene set, and p is the number of genes in the data set. Conceptually, Eq. 3 produces a distribution over the genes to assess if the genes in the gene set are more likely to be found at either tail of the rank distribution (see for a more detailed description).
We offer two approaches for turning the KS like random walk statistic into an enrichment statistic (ES) (also called GSVA score), the classical maximum deviation method and a normalized ES. The first ES is the maximum deviation from zero of the random walk of the j-th sample with respect to the k-th gene set:
For each gene set k, this approach produces a distribution of enrichment scores that is bimodal (Figure 1, step 4, top panel, Additional file 1: Figure S1). This is an intrinsic property of the KS like random walk, which generates non-zero maximum deviations under the null distribution. In GSEA it is also observed that the empirical null distribution obtained by permuting sample labels is bimodal and, for this reason, significance is determined independently using the positive and negative sides of the null distribution. In our case, we would like to provide a standard Gaussian distribution of enrichment scores under the null hypothesis of no change in pathway activity throughout the sample population. For this purpose we propose a second, alternative score that produces an ES distribution approximating this requirement (Figure 1, step 4, bottom panel, Additional file 1: Figure S1):
where and are the largest positive and negative random walk deviations from zero, respectively, for sample j and gene set k. This statistic may be compared to the Kuiper test statistic, which sums the maximum and minimum deviations to make the test statistic more sensitive in the tails. In contrast, our test statistic penalizes deviations that are large in both tails, and provides a “normalization” of the enrichment score by subtracting potential noise. There is a clear biological interpretation of this statistic, it emphasizes genes in pathways that are concordantly activated in one direction only, either over-expressed or under-expressed relative to the overall population. For pathways containing genes strongly acting in both directions, the deviations will cancel each other out and show little or no enrichment. Because this statistic is unimodal and approximately normal (as observed via simulation, see below), downstream analyses which may impose distributional assumptions on the data are thus possible. In certain cases, the characteristics of this statistic may be undesirable, especially if the relevant gene sets are not explicitly separated into “up” and “down” behavior (as the MSigDB provides for many gene sets). In such circumstances, the statistic defined by Eq. 4 should be used.
Figure 1, step 4 and Additional file 1: Figure S1 show a simple simulation where standard Gaussian deviates are independently sampled from p=20,000 genes and n=30 samples, thus mimicking a null distribution of no change in gene expression. One hundred gene sets are uniformly sampled at random from the p genes with sizes ranging from 10 to 100 genes. Using these two inputs, we calculate the maximum deviation ES and the normalized ES. The resulting distributions are depicted in Figure 1, step 4 and Additional file 1: Figure S1.
Although the GSVA algorithm itself does not evaluate statistical significance for the enrichment of gene sets, significance with respect to a phenotype can be easily evaluated using conventional statistical models. Likewise, false discovery rates can be estimated by permuting the sample labels (Methods). We make no general prescription for thresholds of significance or false discovery, as these choices are highly context dependent and may vary according to each experiment. Examples of these techniques are provided in the following section.
Review of other methods
Methods for gene set enrichment can be generally partitioned according to the criteria of supervised vs unsupervised, and population vs single sample assessments. Most GSE methods, such as GSEA, are supervised and population based, in that they compute an enrichment score per gene set to describe the entire data set, modeled on a phenotype (discrete, such as case-control, or continuous). The simplest of this genre is described by Tian et al., evaluated as the mean differential expression (e.g. case vs control) of a set of genes, compared to those genes not in the gene set. One of the major drawbacks of this method is that gene correlations are not taken into account, which might lead to an increased number of false-positive gene sets with respect to GSEA. Many other supervised, population based approaches have also been described.
A supervised, single sample based approach was introduced in the ASSESS method. After dichotomizing the samples based on phenotypic classes, the ASSESS method computes density estimates for each gene/class followed by the evaluation of an enrichment score for each sample/gene set. This method is well-suited for assessing gene set variation across a dichotomous phenotype. GSVA also utilizes density estimates for evaluating sample-wise enrichment, but by omitting phenotypic information, it enables more general downstream analyses and therefore broader applications.
Three unsupervised, single sample enrichment methods have been developed, Pathway Level analysis of Gene Expression (PLAGE), single sample GSEA (ssGSEA) and the combined z-score. These methods compute an enrichment score for each gene set and individual sample. PLAGE standardizes each gene expression profile over the samples and then estimates the pathway activity profiles for each gene set as the coefficients of the first right-singular vector of the singular value decomposition of the gene set (, pg. 9). The combined z-score method standardizes first, as PLAGE, each gene expression profile into z-scores but the pathway activity profile is then obtained by combining the individual gene z-scores per sample (, Figure one). Both, PLAGE and the combined z-score are parametric and assume that gene expression profiles are jointly normally distributed. The combined z-score additionally assumes that genes act independently within each gene set. The ssGSEA method from Barbie et al. uses the difference in empirical cumulative distribution functions of gene expression ranks inside and outside the gene set to calculate an enrichment statistic per sample which is further normalized by the range of values taken throughout all gene sets and samples.
Comparison of methods on simulated data
GSVA is unsupervised and yields single sample enrichment scores. Therefore, we can directly compare the performance of GSVA to the combined z-score, single sample GSEA and PLAGE. However, in contrast to the other methods, GSVA calculates first an expression statistic with the kernel estimation of the ECDF over the samples, which should help in protecting the method against systematic gene specific effects, such as probe effects, and therewith increase its sensitivity. To verify this hypothesis we have performed the following three simulation studies.
In the first study, we simulated microarray data from a linear additive model with sample and probe effects for p=1,000 genes and two groups of samples (see Methods). Using this model we have generated data sets of increasing sample size and defined two gene sets formed by 30 genes each, where one gene set is differentially expressed (DE) and the other is not. For the DE gene set we considered strong and weak signal-to-noise ratios and two different fractions of DE genes (50% and 80%) resulting in four different simulation scenarios. Using the simulated data from each scenario, we have calculated pathway activity profiles with the four sample-wise GSE methods (GSVA, ssGSEA, PLAGE and the combined z-score) and applied a t-test on the DE and non-DE gene sets between the two groups of samples. Using the DE gene set and a significance threshold of α=0.05, we have estimated the statistical power of each method as function of the sample size. On the same data, but using the non-DE gene set, we have estimated the empirical type-I error rate at α=0.05. The results of this simulation in Figure 2 show that GSVA attains higher statistical power than the other three methods in each of the four simulated scenarios while providing similar control of the type-I error rate.
In the second simulation study, we compared the accuracy of each GSE method to identify differential pathway activity by calling DE gene sets. For this, we used the previously defined four simulation scenarios as well as the linear additive model with a fixed sample size of n=60 and p=10,000 genes to simulate data of more realistic dimensions. We set the first 2,000 genes as DE and simulated 1,000 gene sets of which we defined 500 as DE (see Methods). For each simulated gene expression data set, GSE scores were calculated and a two-sample t-test was employed to call DE gene sets at 5% FDR. The performance of each GSE method was measured by the area under the ROC curve (AUC) across 100 independent simulations (see Methods). AUC values were calculated from the binary vector of DE calls to compare the ability of each method to identify DE gene sets at a genome-wide significance level. The results are shown in Figure 3. This figure shows that GSVA attains significantly higher mean AUC values than the other GSE methods (P<0.05) in all but two of the twelve pairwise comparisons. This improvement in performance of GSVA over the other methods is also observed at a more stringent FDR cutoff of 1% (Additional file 1: Figure S2).
Finally, we carried out a third simulation study in the context of survival analysis. We used again the former linear additive model to simulate microarray data with p=1,000 genes and two groups of samples. This time, however, we performed a cross-validation study to assess predictive power using 50 gene sets, each consisting of 10 genes. One of the gene sets was set as DE between the two sample groups while the other 49 were not DE and formed by sampling uniformly at random among the other 990 genes. We used a fixed configuration on the magnitude of differential expression (strong) and on the fraction of DE genes in the DE gene set (50%). In a similar way to the survival simulation by Bair and Tibshirani, we generated survival times and censoring status for each observation with different parameters for each group of samples (see Methods). This setting was generated twice to have independent training and test data sets.
GSE scores were calculated separately on the training and test data. A Cox proportional hazards model (Cox PHM) was fitted to each GSE score profile in the training data. The model with the lowest p-value provided by the Wald test was used to predict risk on the test data. As baseline comparison, we also fitted a Cox PHM to each gene expression profile on the training data and selected the 10 genes, corresponding to the gene set size across all gene sets, with lowest p-values given by the Wald test to also predict risk on the test data.
The performance of each gene set and gene-level model (using 10 genes) on the test data was assessed by the concordance index. This simulation was repeated 100 times and four entire runs were performed on increasing sample sizes n={25,50,75,100} of the simulated data. In Figure 4 the distribution of concordance index values is reported separately for each method and sample size. GSVA provides higher mean and median concordance index values than the other methods at every of the four sample sizes and the difference in means is significant (P<0.05) when n≥50.
Lymphoblastic Leukemia: ALL vs MLL
A canonical use of pathway-centric methods is the study of how pathway or gene set variation reveals the underlying biological structure with respect to a given phenotype. An example of this type of analysis was demonstrated in Verhaak, et al, where they showed how murine-derived neuronal gene sets revealed a corresponding structure for glioblastoma subtypes in a large human cohort. To assess the higher power of GSVA to detect differentially expressed gene sets relevant to a phenotype of interest in real data, we have used a human leukemia data set. The data set consists of 37 different individuals with leukemia, of which 20 correspond to acute lymphoblastic leukemia (ALL) and 17 to mixed-lineage leukemia (MLL). We assessed the performance of the four sample-wise GSE methods by evaluating their ability to produce a signature of the phenotype ALL vs MLL within different scenarios of magnitude of expression change.
We began by ranking all genes by fold change. Then, we partitioned this ranking into three equally sized fractions depicted in red, violet and blue in the volcano plot in Figure 5, panel A. We used each tercile of genes with increasing fold changes and bootstrap 10 samples from each class 1000 times. We applied the four GSE methods to the bootstrapped data together with the canonical Broad C2 collection of gene sets. Subsequently, we performed differential expression analysis on the enrichment scores using limma. From each ranking of adjusted p-values we selected the top 5 gene sets and used their enrichment scores to make a hierarchical clustering of the samples. We finally partitioned the samples into two groups using the two main branches of the hierarchy and calculated the adjusted rand index (ARI) with respect to the corresponding sample label to assess the robustness of the clustering.
As Figure 5 shows, ARI values depend on the tercile of fold change magnitude considered. Except in the case of the genes belonging to the tercile with largest fold changes (panel D), GSVA produced enrichment scores that led to significantly higher ARI values (t-test for difference in means p-value <2e−16) than ssGSEA, PLAGE or the combined z-score approaches, demonstrating the larger power of GSVA to produce signatures capable of detecting subtle gene expression changes. Sample-wise enrichment scores easily enable extending this kind of analysis to a more complex phenotype with three or more sample groups. Such an example using adrenocortical carcinoma data can be found in Additional file 1: Figure S3 and Table S1.
Survival analysis in ovarian carcinoma
We next examined pathway models for predicting patient survival in ovarian serous cystadenocarcinoma (OV). We used a large gene expression experiment (n=588) from TCGA to obtain pathway enrichment scores for each of the canonical gene sets (C2) in MSigDB, and compared the four GSE methods. We performed a five-fold cross-validation and calculated GSE scores separately on each training and testing partition of the data with each of the four compared methods. We also considered the original expression data for a simple gene-level model. On each of the training data sets, we fitted a Cox PHM for each gene set, and each gene, in the gene-level model. Then, we selected those five gene-sets, or genes in the gene-level model, with the lowest p-value of the Wald test for no effect on survival. Using the selected gene-sets, we fitted again a Cox PHM on the training data and used it to predict risk on the training and test data sets of GSE scores. We repeated this for the gene-level model. Finally, we assessed the predictive performance of those models, each of them representing a different method, by calculating the concordance index of the predicted risk. As Figure 6 shows, except for the training data set using the gene-level model, GSVA attains higher mean and median concordance index values than the other methods in both, training and testing data sets.
One of the main benefits of pathway-centric approaches is the interpretability they provide in understanding the mechanisms of disease. In Table 1, we list the top gene sets associated to survival as identified by GSVA (a complete list is available in Additional file 1: Table S2). False discovery rates (FDR) are re-estimated using a permutation based approach by randomly ordering the sample labels (patient survival times) 100 times, resulting in FDR estimates of 0.05 and 0.2 for p-value thresholds of 10−4 and 5·10−3, respectively. The first and second ranked gene sets suggest two important survival mechanisms: DNA repair and modulation of the innate and adaptive immunity, respectively. Further inspection of the top significant gene sets (P<10−3) show that many of them are involved in wound and immune response. Interestingly, the 3rd and 13th ranked gene sets are derived from response signatures to tretinoin treatment, an all-trans retinoic acid drug that has been shown to suppress growth in ovarian cancer cell lines,. Finally, among the top 20 gene sets we note the presence of several EGF and RAS related pathways. While EGFR and RAS mutants are not commonly observed in ovarian cancer, activation of these well-studied oncogenes may still play an important role in progression and survival in ovarian cancer.
GSVA for RNA-seq data
The application of high-throughput sequencing to interrogate RNA concentration in biological samples, popularly known as RNA-seq, is steadily becoming the technology of choice to profile gene expression. The resulting sequence-based measurements take the form of discrete count data and yield a larger dynamic range and unbiased power than microarray technology to survey the cellular state of entire transcriptomes. The nature of these data, however, often requires specific statistical models and bioinformatic methods for their analysis, as in the case of differential expression analysis. This is also the case of many GSE methods developed for microarray data which make distributional assumptions that preclude their direct application to RNA-seq count data,.
To our knowledge, no attempt has been made to condense gene-level RNA-seq expression profiles into gene sets to capture subtle changes in gene expression. GSE methods exist that either work with closed lists of differentially expressed genes (e.g. topGO, GOseq), or rankings of some differential expression statistic, such as GSEA and the mean-rank gene set enrichment method. GOseq is specifically designed to address gene length biases in lists of differentially expressed genes derived from RNA-seq data. But GOseq ignores genes that are not considered as differentially expressed and removes them from the analysis, hence ignoring genes with subtle changes. Also, rank-based methods ignore relative changes of genes in a pathway resulting in equal treatment of the genes, although they might have different fold changes. Hence, these methods may be underpowered to detect subtle changes in pathway activity.
Here, we show how to apply GSVA to RNA-seq data. We provide pathway activity profiles analogous to the ones obtained from microarray data by using samples of lymphoblastoid cell lines (LCL) from HapMap individuals which have been profiled using both technologies,. Microarray and RNA-seq data were processed to obtain gene expression data matrices with matching gene and sample identifiers (Methods). The RNA-seq data consists of two tables of counts derived from reads obtained at two different sequencing centers, denoted by Argonne and Yale; see. We calculated Spearman correlations for all genes and gene sets from both technologies. The resulting distributions of correlation values are shown in Figure 7, panels A and B, using the Argonne RNA-seq data (see Additional file 1: Figure S4 for analogous results for the Yale RNA-seq data). We show that GSVA enrichment scores correlate similarly to gene expression levels produced by both profiling technologies.
We also examined two gene sets containing gender-specific genes in detail: genes that escape X-inactivation in female samples and genes that are located on the male-specific region of the Y chrosomome. Figure 7 illustrates that microarray and RNA-seq enrichment scores correlate very well in these gene sets, with ρ=0.82 for the male-specific gene set and ρ=0.78 for the female-specific gene set. Male and female samples show higher GSVA enrichment scores in their corresponding gene sets. This demonstrates the flexibility of GSVA to enable analogous unsupervised and single sample GSE analyses in data coming from both microarray and RNA-seq technologies.
Simulations
The simulation studies were carried out using the following linear additive model for mimicking normalized microarray data on p genes and n samples divided in two groups representing a case-control scenario:
where is a gene-specific effect, such as a probe-effect, with, is a sample-effect with j=1,2 and corresponds to random noise.
When assessing statistical power and type-I error in Figure 2, we set p=1,000 genes, out of which the first 30 were considered to form a DE gene set and the next 30 a non-DE gene set. We considered four different sample sizes n={10,20,40,60} and two varying conditions leading to four different simulation scenarios: the fraction of differentially expressed genes in the gene set (50% and 80%) and the signal-to-noise ratio expressed as the magnitude of the mean sample effect in DE genes for one of the sample groups (weak and strong signal-to-noise ratio). For non-DE genes μ1=μ2=0 with σ1=σ2=1 while for DE genes μ2=0.5 for the weak effect, μ2=1 for the strong effect and σ2=0.5. Using the model in Eq. (6) with these parameters, we simulated 1,000 independent data sets. For each of the four GSE methods we obtained a GSE score matrix for two gene sets (DE and non-DE) by n samples. On each GSE score matrix, we performed a two-sample t-test on the two gene sets for a difference in mean between the two groups of samples (H0:μ1−μ2=0) at a significance level α=0.05. The statistical power was then estimated as 1 minus the fraction of non-rejections of the DE gene set and the empirical type-I error was estimated as the fraction of rejections of the non-DE gene set, across the 1,000 simulations.
In the second simulation study we considered p=10,000 genes out of which 2,000 were set as DE and from which 1,000 gene sets were built, 500 of them being DE. DE genes and gene sets were simulated using the previously described parameters and simulation scenarios. Non-DE gene sets were simulated by sampling from the p=10,000 genes uniformly at random while DE gene sets were simulated by sampling among DE and non-DE genes in the proportions (50% or 80% of DE genes) defined by the corresponding scenario. For each scenario, we sampled the data this way 100 times and calculated GSE scores using the four GSE methods for every resulting data set. Using those GSE scores we performed a two-sample t-test for each gene set and called DE those meeting FDR cutoffs of 5% and 1%. Performance was assessed by calculating ROC curves and AUC values using the R package ROCR.
The simulation study assessing the predictive power of GSE scores for survival in Figure 4 was performed using linear additive model in Eq. 6, where μ2=1 was fixed for DE genes in one of the sample groups. Survival times were generated for each sample group from two normal distributions and. Censoring times were generated from a normal distribution. A sample was considered to be censored when the censoring time was smaller than the survival time.
Data
Data for differential expression analysis was obtained from the following sources: Leukemia (http://www.broadinstitute.org) and Adrenocortical Carcinoma (http://www.ncbi.nlm.nih.gov/geo; GSE10927). Data for the ovarian analysis was downloaded from TCGA on April 2011. At the time of analysis, 389 samples were available that had clinical data, gene expression (Affy U133A), and CNV (Affy SNP 6.0). In all cases, TCGA Level 3 data was used. Gene expression data was batch corrected using ComBat. RNA-seq data corresponded to HapMap lymphoblastoid cell lines (LCL) of Yoruba individuals and the processed tables of counts were downloaded from http://eqtl.uchicago.edu/RNA_Seq_data/results. Matching microarray samples form part of a larger study by Huang and co-workers (http://www.ncbi.nlm.nih.gov/geo; GSE7792).
Microarray data processing
Data analysis was performed using the R and Bioconductor software. We selected chips which passed quality control using affyPLM. AffyPLM fits models on probe set level to identify chips of lower quality. Relative Log Expression (RLE) values (comparing probe expression on each array against the median expression across all arrays) and Normalized Unscaled Standard Errors (NUSE) (standard error estimates obtained for each gene and standardized across arrays) are calculated and cut-offs applied to remove low-quality samples.
Chips whose processing batch was confounded with the outcome of interest are not considered in the analysis. Each remaining Affymetrix chip was background adjusted, normalized and log2 transformed using the Robust Multi-array Average (RMA) algorithm.
Genes that are not expressed over the detection level of the microarray or whose expression values have a limited variability through the samples do not provide discriminatory power and may compromise the statistical power of subsequent analyses. For this reason, we removed 50% of the genes with lower variability as measured by the interquartile range (IQR) across the samples except in the LCL microarray data.
RNA-seq data processing
The RNA-seq data from Pickrell et al. (2010) were produced at two sequencing centers, Argonne and Yale, and preprocessed by the authors into two separate tables of counts of 41,466 Ensembl genes by 80 and 81 samples, respectively. We use these two tables of counts, and refer the reader for details on read mapping and summarization into gene-level counts to the methods of the publication. Some of the samples (11 from Argonne and 12 from Yale) were prepared and sequenced twice within each sequencing center. In these cases we kept the sample of deeper coverage obtaining a final number of 69 samples on each table. We further filtered genes with low expression by discarding those with a mean of less than 0.5 counts per million calculated in log2 scale resulting in tables of counts with 17,607 genes (Argonne) and 17,843 genes (Yale) by 69 samples and we kept genes present in both tables (17,324). Next, we normalized these two tables of counts adjusting for gene length and G+C content using the Bioconductor package cqn. The corresponding gene length and G+C content information was extracted from data deposited at the same site from where the tables of counts were downloaded.
In order to proceed with the comparison of GSVA enrichment scores between microarray and RNA-seq data, we further filtered these two normalized tables of counts in order to match the genes and samples obtained after processing the LCL microarray data from Huang and co-workers. This step required first to translate Ensembl gene identifiers into Entrez gene identifiers and second to match gene and sample identifiers between microarray and RNA-seq data. After these two steps we obtained the two final tables of counts analyzed in this paper of 11,508 Entrez genes by 36 samples from which 23 correspond to female and 13 to male individuals.
Gene sets database
In all experiments, we used the gene sets database from the Molecular Signature Database version 3 (MSigDB) C2 collection (curated pathways) with 833 canonical pathways and 2392 chemical and gene perturbations, unless otherwise stated. After mapping genes from an experiment to the gene set database, we ignore all gene sets with fewer than 10 genes or more than 500 genes.
FDR and multiple hypothesis correction
In most experiments, we use a permutation approach to estimate an empirical FDR at a specified p-value threshold. In several cases we report multiple hypothesis correction based on the Benjamini-Hochberg (B.H.) approach to obtain corrected p-values. In general, multiple hypothesis correction on gene sets is problematic, as many gene sets are highly overlapping and therefore not merely correlated, but essentially duplicated. Our use of B.H. is likely a conservative estimate of FDR and therefore used primarily as a demonstration of statistical power.
Discussion
The analyses conducted on simulated and real data demonstrate that GSVA outperforms competing methods for modeling pathway variation across samples in the context of identification of differential pathway activity and survival analysis. However, given the large number of GSE methods published and available to the bioinformatic community, GSVA may not be the optimal tool for every expression data set. We recommend GSVA as an intermediate universal tool, providing summaries of pathway activity for more open-ended biological analysis. For specific applications, highly specialized algorithms optimized for addressing domain specific problems may outperform GSVA. The user should also be aware that the non-parametric density estimation within the GSVA algorithm requires a sufficient number of observations which, according to our analysis of statistical power in Figure 2, should be larger than n=10.
Non-specific filtering of genes in high-throughput experiments has been shown to increase the statistical power to detect significant changes in gene expression levels and this observation is likely to hold at gene set level. We have used a simple non-specific filtering strategy of a minimum and maximum cutoff on the size of a gene set after gene identifiers have been matched between gene expression data and gene sets. However, other strategies based on expected features of biologically relevant gene sets could potentially be more helpful. For instance, genes that are part of the same gene set or pathway are more likely to be expressed coordinately and are expected to exhibit some degree of correlation. Gene sets containing correlated genes are more coherent and provide a higher biological signal than incoherent, uncorrelated gene sets. Hence, removing functionally incoherent pathways could constitute an appealing non-specific filtering strategy to improve detection power at gene set level.
Conclusions
We have presented a method for assaying the variation of gene set enrichment over a sample population. The method is freely available as a Bioconductor package for R under the name GSVA at http://www.bioconductor.org. The increasing availability of large data sets with multiple assays and complex phenotypes has motivated our work because the study of these data sets within the context of pathways will be critical to their understanding. The GSVA method is both non-parametric and unsupervised, and bypasses the conventional approach of explicitly modeling phenotypes within the enrichment scoring algorithm. We have also shown how GSVA can be easily adapted to the analysis of RNA-seq data producing results analogous to its microarray counterpart. In the Additional file 1, two other examples of GSVA applications can be found including differential pathway analysis in a multi-class adrenocortical carcinoma data set (Additional file 1: Figure S3 and Table S1), and correlation analysis of pathways and copy-number alterations in ovarian carcinoma (Additional file 1: Figure S5).
For future directions, we believe GSVA may be used in genetical genomics strategies analogous to eQTL mapping to study, what we might call, pathway-QTL to identify DNA polymorphisms that impact pathway activity. This could be extended further to support causal inference, where pathways replace genes in modeling the causal chain of genotype → gene expression → phenotype.
Availability and requirements
•Project name: GSVA
•Project home page:http://www.bioconductor.org/packages/release/bioc/html/GSVA.html
•Operating system(s): Platform independent
•Programming language: R, C
•Other requirements: R (>= 2.15.0), the R package methods, and the Bioconductor package GSEABase (>= 1.18.0)
•License: GPL (>= 2)
•Any restrictions to use by non-academics: no restrictions
Competing interests
The authors declare no conflict of interest.
Authors’ contributions
JG conceived and designed the GSVA algorithm. JG and RC implemented the software. SH and JG conceived and designed the applications of GSVA. SH, RC and JG analyzed the data and wrote the paper. All authors read and approved the final manuscript.
References 67
- 1.
Goeman JJ Geer SAvd Kort Fd Houwelingen HCv A global test for groups of genes: testing association with a clinical outcomeBioinformatics2004 209399[http://bioinformatics.oxfordjournals.org/content/20/1/93.abstract]
Not in our library10.1093/bioinformatics/btg382
- 2.
Mootha VK Lindgren CM Eriksson KF Subramanian A Sihag S Lehar J Puigserver P Carlsson E Ridderstråle M Laurila E Houstis N Daly MJ Patterson N Mesirov JP Golub TR Tamayo P Spiegelman B Lander ES Hirschhorn JN Altshuler D Groop LC PGC-1alpha-responsive genes involved in oxidative phosphorylation are coordinately downregulated in human diabetesNature Genet2003 343267273[http://www.ncbi.nlm.nih.gov/pubmed/12808457]
Not in our library10.1038/ng1180
- 3.
Sweet-Cordero A Mukherjee S Subramanian A You H Roix JJ Ladd-Acosta C Mesirov J Golub TR Jacks T An oncogenic KRAS2 expression signature identified by cross-species gene-expression analysisNature Gen2005 374855[http://www.ncbi.nlm.nih.gov/pubmed/15608639]
Not in our library10.1038/ng1490
- 4.
Subramanian A Tamayo P Mootha VK Mukherjee S Ebert BL Gillette MA Paulovich A Pomeroy SL Golub TR Lander ES Mesirov JP Gene set enrichment analysis: A knowledge-based approach for interpreting genome-wide expression profilesProc Natl Acad Sci USA2005 102431554515550[http://www.pnas.org/content/102/43/15545.abstract]
Not in our library10.1073/pnas.0506580102
- 5.
Barbie DA Tamayo P Boehm JS Kim SY Moody SE Dunn IF Schinzel AC Sandy P Meylan E Scholl C Fröhling S Chan EM Sos ML Michel K Mermel C Silver SJ Weir BA Reiling JH Sheng Q Gupta PB Wadlow RC Le H Hoersch S Wittner BS Ramaswamy S Livingston DM Sabatini DM Meyerson M Thomas RK Lander ES Mesirov JP Root DE Gilliland DG Jacks T Hahn WC Systematic RNA interference reveals that oncogenic KRAS-driven cancers require TBK1Nature2009 4627269108112[http://www.nature.com/nature/journal/v462/n7269/abs/nature08460.html]
Not in our library10.1038/nature08460
- 6.
Tian L Greenberg SA Kong SW Altschuler J Kohane IS Park PJ Discovering statistically significant pathways in expression profiling studiesProc Natl Acad Sci USA2005 102381354413549[http://www.pnas.org/content/102/38/13544]
Not in our library10.1073/pnas.0506577102
- 7.
Barry WT Nobel AB Wright FA Significance analysis of functional categories in gene expression studies: a structured permutation approachBioinformatics2005 21919431949[http://www.ncbi.nlm.nih.gov/pubmed/15647293]
Not in our library10.1093/bioinformatics/bti260
- 8.
Efron B Tibshirani R On testing the significance of sets of genesAnn Appl Stat2006 11107129[http://arxiv.org/abs/math/0610667]
Not in our library
- 9.
Dørum G Snipen L Solheim M Sæbø S Rotation testing in gene set enrichment analysis for small direct comparison experimentsStat Apps Gen Mol Bio2009 8[http://www.bepress.com/sagmb/vol8/iss1/art34]
Not in our library10.2202/1544-6115.1418
- 10.
Irizarry RA Wang C Zhou Y Speed TP Gene set enrichment analysis made simpleStat Methods Med Res2009 186565575[http://smm.sagepub.com/content/18/6/565.abstract]
Not in our library10.1177/0962280209351908
- 11.
Jiang Z Gentleman R Extensions to gene set enrichmentBioinformatics2007 233306313[http://bioinformatics.oxfordjournals.org/content/23/3/306.abstract]
Not in our library10.1093/bioinformatics/btl599
- 12.
Wu D Lim E Vaillant F Asselin-Labat ML Visvader JE Smyth GK ROAST: rotation gene set tests for complex microarray experimentsBioinformatics (Oxford, England)2010 261721762182[http://www.ncbi.nlm.nih.gov/pubmed/20610611]. [PMID: 20610611]
Not in our library10.1093/bioinformatics/btq401
- 13.
Lamb J Ramaswamy S Ford HL Contreras B Martinez RV Kittrell FS Zahnow CA Patterson N Golub TR Ewen ME A mechanism of cyclin D1 action encoded in the patterns of gene expression in human cancerCell2003 1143323334[http://www.cell.com/abstract/S0092-8674(03)00570-1]
Not in our library10.1016/s0092-8674(03)00570-1
- 14.
Shepard JL Amatruda JF Stern HM Subramanian A Finkelstein D Ziai J Finley KR Pfaff KL Hersey C Zhou Y Barut B Freedman M Lee C Spitsbergen J Neuberg D Weber G Golub TR Glickman JN Kutok JL Aster JC Zon LI A zebrafish bmyb mutation causes genome instability and increased cancer susceptibilityProc Natl Acad Sci USA2005 102371319413199[http://www.pnas.org/content/102/37/13194.abstract]
Not in our library10.1073/pnas.0506583102
- 15.
- 16.
Pece S Tosoni D Confalonieri S Mazzarol G Vecchi M Ronzoni S Bernard L Viale G Pelicci PG Fiore PPD Biological and molecular heterogeneity of breast cancers correlates with their cancer stem cell contentCell2010 1406273[http://www.sciencedirect.com/science/article/B6WSN-4Y3TDSF-D/2/9fd74fc1accc422d7a6e6d935b45975c]
Not in our library10.1016/j.cell.2009.12.007
- 17.
Hung JH Yang TH Hu Z Weng Z DeLisi C Gene set enrichment analysis: performance evaluation and usage guidelinesBrief Bioinformatics2012 133281291[http://www.ncbi.nlm.nih.gov/pubmed/21900207]. [PMID: 21900207]
Not in our library10.1093/bib/bbr049
- 18.
Goeman JJ Bühlmann P Analyzing gene expression data in terms of gene sets: methodological issuesBioinformatics (Oxford, England)2007 238980987[http://www.ncbi.nlm.nih.gov/pubmed/17303618]. [PMID: 17303618]
Not in our library10.1093/bioinformatics/btm051
- 19.
- 20.
Tenenbaum JD Walker MG Utz PJ Butte AJ Expression-based Pathway Signature Analysis (EPSA): Mining publicly available microarray data for insight into human diseaseBMC Med Genomics2008 151[http://www.biomedcentral.com/1755-8794/1/51]
Not in our library10.1186/1755-8794-1-51
- 21.
Creighton CJ Multiple oncogenic pathway signatures show coordinate expression patterns in human prostate tumorsPLoS One2008 33e1816[http://dx.doi.org/10.1371/journal.pone.0001816]
Not in our library10.1371/journal.pone.0001816
- 22.
- 23.
Zilliox MJ Irizarry RA A gene expression bar code for microarray dataNat Meth2007 411911913[http://dx.doi.org/10.1038/nmeth1102]
Not in our library10.1038/nmeth1102
- 24.
Hansen KD Irizarry RA Wu Z Removing technical variability in RNA-seq data using conditional quantile normalizationBiostatistics2012 [http://biostatistics.oxfordjournals.org/content/early/2012/01/24/biostatistics.kxr054.abstract]
Not in our library10.1093/biostatistics/kxr054
- 25.
Silverman BW Density Estimation for Statistics and Data Analysis1986 London: Chapman and Hall[http://www.crcpress.com/product/isbn/9780412246203]. [ISBN 9780412246203]
Not in our library
- 26.
Canale A Dunson DB Bayesian kernel mixtures for countsJ Am Stat Assoc2011 10649615281539
Not in our library10.1198/jasa.2011.tm10552
- 27.
Edelman E Porrello A Guinney J Balakumaran B Bild A Febbo PG Mukherjee S Analysis of sample set enrichment scores: assaying the enrichment of sets of genes for individual samples in genome-wide expression profilesBioinformatics2006 2214e108e116[http://www.ncbi.nlm.nih.gov/pubmed/16873460]
Not in our library10.1093/bioinformatics/btl231
- 28.
Verhaak RGW Hoadley KA Purdom E Wang V Qi Y Wilkerson MD Miller CR Ding L Golub T Mesirov JP Alexe G Lawrence M O’Kelly M Tamayo P Weir BA Gabriel S Winckler W Gupta S Jakkula L Feiler HS Hodgson JG James CD Sarkaria JN Brennan C Kahn A Spellman PT Wilson RK Speed TP Gray JW Meyerson M Getz G Perou CM Hayes DN Integrated genomic analysis identifies clinically relevant subtypes of glioblastoma characterized by abnormalities in PDGFRA, IDH1, EGFR, and NF1Cancer Cell2010 1798110[http://www.ncbi.nlm.nih.gov/pubmed/20129251]
Not in our library10.1016/j.ccr.2009.12.020
- 29.
Pearson E Comparison of tests for randomness of points on a lineBiometrika1963 50315325
Not in our library
- 30.
Tamayo P Steinhardt G Liberzon A Mesirov JP Gene set enrichment analysis made rightarXiv:1110.41282011 [http://arxiv.org/abs/1110.4128]
Not in our library10.1177/0962280212460441
- 31.
Khatri P Drăghici S Ontological analysis of gene expression data: current tools, limitations, and open problemsBioinformatics2005 211835873595[http://bioinformatics.oxfordjournals.org/content/21/18/3587]
Not in our library10.1093/bioinformatics/bti565
- 32.
Nam D Kim SY Gene-set approach for expression pattern analysisBrief Bioinformatics2008 93189197[http://bib.oxfordjournals.org/content/9/3/189]
Not in our library10.1093/bib/bbn001
- 33.
Huang DW Sherman BT Lempicki RA Bioinformatics enrichment tools: paths toward the comprehensive functional analysis of large gene listsNucleic Acids Res2009 37113[http://www.ncbi.nlm.nih.gov/pmc/articles/PMC2615629/]. [PMID: 19033363 PMCID: PMC2615629]
Not in our library10.1093/nar/gkn923
- 34.
Jung K Becker B Brunner E Beißbarth T Comparison of global tests for functional gene sets in two-group designs and selection of potentially effect-causing genesBioinformatics2011 271013771383[http://bioinformatics.oxfordjournals.org/content/27/10/1377]
Not in our library10.1093/bioinformatics/btr152
- 35.
- 36.
- 37.
Armstrong SA Staunton JE Silverman LB Pieters R Boer MLd Minden MD Sallan SE Lander ES Golub TR Korsmeyer SJ MLL translocations specify a distinct gene expression profile that distinguishes a unique leukemiaNature Gen2002 304147[http://www.ncbi.nlm.nih.gov/pubmed/11731795]
Not in our library10.1038/ng765
- 38.
Smyth GK Linear models and empirical Bayes Methods for assessing differential expression in microarray experimentsStat Appl Gen Mol Biol2004 3[http://www.bepress.com/sagmb/vol3/iss1/art3]
Not in our library10.2202/1544-6115.1027
- 39.
Hubert L Arabie P Comparing partitionsJ Classif1985 2193218[http://www.springerlink.com/content/x64124718341j1j0/abstract/]
Not in our library
- 40.
Network TCGARIntegrated genomic analyses of ovarian carcinomaNature2011 4747353609615[http://www.ncbi.nlm.nih.gov/pubmed/21720365]. [PMID: 21720365]
Not in our library10.1038/nature10166
Cited by papers we hold 252
- Multidimensional pan-cancer analysis reveals the impact of PPIA on tumor epigenetic modifications and immune regulation · 2025Not checked
- DNA methylation variations of DNA damage response in glioblastoma: NSUN5 modulates tumor-intrinsic cytosolic DNA-sensing and microglial behavior · 2025Not checked
- CCDC138 overexpression predicts poor prognosis and highlights ciliopathy-linked mechanisms in uterine corpus endometrial carcinoma · 2025Not checked
- Integrative multiomics analysis reveals the subtypes and key mechanisms of platinum resistance in gastric cancer: identification of KLF9 as a promising therapeutic target · 2025Not checked
- Integrated single-cell and transcriptomic analysis of bone marrow-derived metastatic neuroblastoma reveals molecular mechanisms of metabolic reprogramming · 2025Not checked
- Immune microenvironment and prognostic genes of triple-negative breast cancer in the context of transcriptome and single-cell sequencing · 2025Not checked
- Viral-Track integrated single-cell RNA-sequencing reveals HBV lymphotropism and immunosuppressive microenvironment in HBV-associated hepatocellular carcinoma · 2025Not checked
- Extending gene set variation analysis with a reference dataset to stabilize scores · 2025Not checked
- Identification and experimental validation of prognostic genes related to cytochrome c in breast cancer · 2025Not checked
- iMLGAM: Integrated Machine Learning and Genetic Algorithm‐driven Multiomics analysis for pan‐cancer immunotherapy response prediction · 2025No notice
- Enhancing transcription–replication conflict targets ecDNA-positive cancers · 2024No notice
- A multi-dimensional approach to unravel the intricacies of lactylation related signature for prognostic and therapeutic insight in colorectal cancer · 2024No notice
- irGSEA: the integration of single-cell rank-based gene set enrichment analysis · 2024No notice
- Prognostic genome and transcriptome signatures in colorectal cancers · 2024No notice
- Majorbio Cloud 2024: Update single‐cell and multiomics workflows · 2024No notice
- A disease-associated gene desert directs macrophage inflammation through ETS2 · 2024No notice
- High-dimensional single-cell analysis of human natural killer cell heterogeneity · 2024No notice
- Interferon-stimulated neutrophils as a predictor of immunotherapy response · 2024No notice
- Multi-omic profiling of clear cell renal cell carcinoma identifies metabolic reprogramming associated with disease progression · 2024No notice
- FOXO1 is a master regulator of memory programming in CAR T cells · 2024Corrected
and 232 more
Reads
Read by people on this page
None yet.
Checked or read by AI through naulon
None yet.
A person counts once a day per paper. We keep no cookie and no address: a reader is a hash that changes every day. Any month under five reads shows no number.
Are you an author?
Is this your paper?
Claim it to add your note and be paid when agents cite it. Free.