Skip to main content

GeneTopics - interpretation of gene sets via literature-driven topic models



Annotation of a set of genes is often accomplished through comparison to a library of labelled gene sets such as biological processes or canonical pathways. However, this approach might fail if the employed libraries are not up to date with the latest research, don't capture relevant biological themes or are curated at a different level of granularity than is required to appropriately analyze the input gene set. At the same time, the vast biomedical literature offers an unstructured repository of the latest research findings that can be tapped to provide thematic sub-groupings for any input gene set.


Our proposed method relies on a gene-specific text corpus and extracts commonalities between documents in an unsupervised manner using a topic model approach. We automatically determine the number of topics summarizing the corpus and calculate a gene relevancy score for each topic allowing us to eliminate non-specific topics. As a result we obtain a set of literature topics in which each topic is associated with a subset of the input genes providing directly interpretable keywords and corresponding documents for literature research.


We validate our method based on labelled gene sets from the KEGG metabolic pathway collection and the genetic association database (GAD) and show that the approach is able to detect topics consistent with the labelled annotation. Furthermore, we discuss the results on three different types of experimentally derived gene sets, (1) differentially expressed genes from a cardiac hypertrophy experiment in mice, (2) altered transcript abundance in human pancreatic beta cells, and (3) genes implicated by GWA studies to be associated with metabolite levels in a healthy population. In all three cases, we are able to replicate findings from the original papers in a quick and semi-automated manner.


Our approach provides a novel way of automatically generating meaningful annotations for gene sets that are directly tied to relevant articles in the literature. Extending a general topic model method, the approach introduced here establishes a workflow for the interpretation of gene sets generated from diverse experimental scenarios that can complement the classical approach of comparison to reference gene sets.


Large scale genome-wide omics analysis and advanced sequencing technology have fuelled the generation of gene sets that need to be interpreted and understood quickly and comprehensively. These gene sets are generated from experiments designed to answer various biological questions. Given the complexity of biological systems, it is often required that several different analysis methods are applied to fully understand the functional structure of the gene set. Besides the data-mining techniques that are often used to reduce the dimension of a long gene list to a more human-interpretable size, such as clustering, a very common approach is to compare the gene set to annotated reference gene sets. Ackermann and Strimmer, 2009 gave a comprehensive review [1]. Through statistical testing, the significance of the overlap can be assessed. However, this approach requires a comprehensive collection of manually curated reference gene sets and might fail if the employed libraries are not up to date with the latest research, don't capture relevant biological themes or are curated at a different level of granularity than is required to appropriately analyze the input gene set.

At the same time, the vast biomedical literature offers an unstructured repository of the latest research findings that can be tapped to provide thematic sub-groupings for the gene set under consideration.

Several techniques have been developed to perform information retrieval by processing documents written in natural languages. One of the early widely used approaches was Latent Semantic Analysis (LSA) [2]. It analyzes the word-document association data matrix using singular-value decomposition (SVD) to establish relationships among words and documents. The indexing outcome provides a way to place similar words and documents close to each other. The LSA approach was later extended to a model called Probabilistic Latent Semantic Analysis (PLSA) which models each word in a document as a sample from a mixture model [3]. PLSA represented a more direct approach to model the data than LSA, but its lack of a probabilistic model at the document level led to the development of Latent Dirichlet Model (LDA) [4].

Topic models are algorithms for discovering the main themes that pervade a large and otherwise unstructured collection of documents. Topic modelling algorithms can be applied to massive collections of documents and have been used to find patterns in diversified areas such as genetic data, images, and social networks. In this work we focus on the most popular approach, Latent Dirichlet Model (LDA), to derive topics, but note that many extended algorithms could serve as drop-in replacements in our proposed approach. Briefly, LDA is a probabilistic model based on a "bag-of-words" approach, i.e. it treats a document as an unordered collection of words. It then tries to infer probability distributions over the vocabulary of words thereby defining each of k topics. At the same time it determines a mixture of these topic distributions best describing the corpus as a whole. As a result, each document in the corpus can be assigned to one or several topics with different degrees of certainty. Table 1 gives an impression of several topics derived from the literature by listing the words most highly associated with each. Topic models are an active area of research. Blei et al 2012 [5] give a recent overview.

Table 1 Topics found for KEGG Metabolic pathways

In this work, we propose to leverage topic models in a specific way to support the identification of biologically coherent subgroups of genes in an input gene set. Our proposed method has distinct advantages to current approaches. Namely, we don't rely on possibly outdated or irrelevant curated libraries, but can access the latest research to detect sub-groupings. Moreover we can directly provide literature reference for the inferred topics and their associated genes, thereby greatly facilitating the inevitable follow-up work by computational biologists to explain the association of single genes with a certain biological process or context.

Topic models have been studied extensively in the literature and improved inference methods based on relaxed model assumptions are continuously being proposed [5]. Also, LDA-based methods have been applied to the analysis of gene expression experiments [6]. While the underlying mathematical formalism is the same, these latter approaches do not relate findings to a corpus of text at all and are, thus, unrelated to our method.

To our knowledge, topic models have not been applied systematically to the interpretation and annotation of experimentally derived gene sets. Lu et al, 2006 [7] analyzed the semantic coherence of LDA-derived topics on a corpus for 300 proteins linked to the literature via the UniProt database [8]. In contrast to our work, the authors do not establish a method to derive a mapping of subgroups of genes to topics and don't provide a gene-topic score, but rather stop at the conclusion that the resulting topics reflect relevant literature topics and establish semantic coherence based on pre-specified Gene Ontology sets [9]. More recently, Wang et al [10] have proposed the integration of controlled and normalized terms, such as gene symbols or compound IDs, into the LDA inference process to improve performance by avoiding ambiguity. They do not explicitly focus on the interpretation of an input gene set in terms of the topics as we do in our method. However, our method might benefit from normalizing known terms in PubMed abstracts.

The remainder of the paper will detail our proposed method, discuss validation of our implementation and finally outline results on three biological datasets from transcriptomics and genetics experiments.


Using topic models, our approach takes an input set of genes, Gi, and generates relevant topics, T, associated with subsets of genes based on a constructed corpus. Figure 1 depicts a flow diagram of our method which consists of several main steps, namely corpus compilation, topic model inference, gene score enrichment, estimation of the appropriate number of topics to infer and reporting of results.

Figure 1
figure 1

GeneTopics algorithm workflow. This diagram provides an overview of the steps involved in taking a list of genes and generating the list of relevant topics with related genes and PubMed references.

Compilation of a corpus with embedded noise for significance testing

Given an input list of genes, Gi, we first randomly select an equal number of genes, Gr, from the same background gene population and add them to the input gene set to define our working gene set, Gw={g1, ..., gN}. The random set is needed later in the pipeline to triage topics not specific to Gi. As a base corpus of text, we chose all abstracts in the PubMed database of biomedical literature which contains approximately 15 million citations as of 2013. Although it is desirable to use all the available abstracts for our analysis, we noticed that many of the earlier publications have limited texts in the abstracts and out-of-date information. To address this issue, we decided to limit the publication to be ones that are published after 1995 and have high confidence scores with the associated genes. This gives us over 1.5 million citations to work with. To associate genes in Gw with documents in the corpus, we rely on a method that detects all abstracts mentioning a given gene and scores the occurrence based on syntactic and linguistic features such as place and frequency of occurrence resulting in a relevancy score for each gene-document pair [Phoebe Roberts, personal communication on LitMS gene-document index tool]. Other potential sources of such associations are the MeSH and GeneRIF databases []. Based on this association, we pick a representative sample of relevant documents for each gene in Gw to form our corpus consisting of documents D={d1, ..., dM} for topic modelling. As the number of publications associated with a gene could vary and we aim for equal representation of each gene, we define the number of documents as a parameter in our method with the default value set to 50. This means that the title and abstract of up to 50 papers from each gene will be used to assemble a corpus. This default number is empirically chosen based on both the computation time and to avoid over-representation of documents for certain well-studied genes. Using the 'tm' package in R [11], we perform standard text-mining operations to remove stop words and punctuations followed by the application of the Porter stemming to reduce words in the abstracts to their stems. We then tokenize the corpus to form a term-document matrix for both original and stemmed words. The stemmed version is for the subsequent topic model analysis while the version with original words is used to reverse the stemmed words so the end result is more interpretable. Depending on the gene set size, the average size of vocabularies is around 15K.

Topic model inference

Topic model inference is a commonly used approach for uncovering the main themes from large yet unstructured collection of documents. In our method, we used the topic model implementation in the R 'lda' package [] implementing the classic LDA approach suggested by Blei et al [4]. The probability distribution inferred by LDA specifies the probability of occurrence for each word in the corpus in documents of each topic. Based on this distribution, we can assign each word in each document to its most likely topic and define the following matrix:

Word Count Matrix i , j =  number of times a word in Document  d i is assigned to topic  T j  by the model .

Normalizing this matrix per column, gives us the Topic Proportion Matrix as

Topic Proportion Matrix i , j =  proportion of words in Document  d i assigned to topic  T j by the model .

For example, if document d1 has 100 words and 40 of them were assigned by the topic model to topic t1 and 60 of them were assigned to topic t2, then for document d1, the proportion score is 0.4 for topic t1 and 0.6 for topic t2 and 0 for the rest of the topics. This matrix reflects the assumption of LDA that each document is associated with a mixture of topics (Figure 2). We will use this Topic Proportion Matrix to assign genes to topics in the following.

Figure 2
figure 2

Topic proportions of documents. This plot shows the topic proportions for the first 10 documents of a corpus from a LDA model run. The number 10 was specified as the number of topics to build the model and the top 5 terms is used to represent the topics found. Each document is associated with 1 to many topics and the proportion is calculated based on number of words assigned to the topic divided by total number of words for the document.

Gene assignment and enrichment calculation

Since our corpus was derived from a list of genes and the association between genes and the documents is available, each gene is associated with a number of documents and therefore rows in the topic proportion matrix. We consider for each gene gi all Documents Dgi with indices {x1, ..., xn} that are associated with the gene and define a Gene Topic Matrix as

Gene Topic Matrix i , j =  ma x k = 1 , . . , n Topic Proportion Matrix x k , j .

This matrix captures the association of each gene with each topic. Note that the maximization operator in the above definition emphasizes the multi-functional role many genes play in many different biological contexts. This is also consistent with the nature of publications which often focus on one specific biological aspect of an experimental system (e.g. oxidative phosphorylation or apoptosis) and discuss associated genes. Alternative options (such as summarization or average) tended to underestimate gene topic associations and led to score distributions tightly clustered around the mean.

As we know the composition of the analyzed gene set Gw, we may now use it to distinguish topics that are relevant to the initial gene set (Gi) as compared to the randomly sampled background gene set (Gr).

To determine the relevance of a topic to a subset of Gi, we perform a statistical test of the null hypothesis that scores for Gi and Gr have the same distribution. Figure 3 gives various examples for score distributions in one of our validation settings. Intuitively, we prefer settings in which the score distribution for genes in Gi is shifted to the right as compared to Gr. Following this intuition, we prototyped several tests which assess whether the two sets of scores are likely drawn from the same underlying distribution (e.g. using a Kolmogorov-Smirnov test) or whether the means of the score distribution are the same (e.g. using a Wilcoxon-Rank-Sum test [10]). However, in both cases we found that biologically irrelevant topics were flagged as statistically significant. This situation arose mostly when the scores for Gi were clearly enriched for higher scores as compared to Gr, but the mean of the scores was still low, i.e. below 0.5. As a consequence, we decided to use a binomial test for proportions on discretized score distributions.

Figure 3
figure 3

Perform enrichment test to identify topics relevant to gene set. Different gene score distribution can be distinguished by the statistical test and only the models where higher gene scores (> 0.5) are significantly larger than random are selected.

Note that applying a threshold t to the Gene-Topic-Matrix induces (potentially overlapping) sets of genes to be associated with each topic. In the following, we will use a threshold t = 0.5, but this parameter can be adjusted to focus on stronger or weaker associations of genes to topics. For a given topic and threshold t, we can directly estimate the proportion of genes from the background set with strong associations as

prop _ random = # genes in  G r with scores > 0 . 5 / # genes in  G r .

We can then test whether the score distribution for the input gene set Gi exhibits the same proportion with respect to threshold t = 0.5 using a one-tailed binomial test.

In addition, we correct the resulting p-values for multiple testing using the conservative Bonferroni-correction. This is important as the number of topics depends on the size and nature of the gene set and we are interested in controlling the false-positive rate regardless of the number of topics tested. The topics that have a multiple-testing corrected p-value less than 0.05 are considered relevant to our input gene set Gi. Figure 3 shows that different gene score distribution can be distinguished by the statistical test and only the models where higher gene scores (> 0.5) are significantly larger than random are selected.

Determining an appropriate number of topics

Like many other similar algorithms, the number of topics to be inferred by LDA needs to be specified as a parameter. We apply a parameter search to determine a reasonable number of topics for our purposes. This iterative process runs LDA with the number of topics pre-specified as [5,10,15,20,25,30,40,50,75,100] and infers topics relevant to the input gene set Gi as described above. We continue inference until the number of topics deemed significant stops to increase or starts to descend from the maximum. Figure 4 shows the number of relevant topics found for the 3 disease related gene sets - Alzheimer's disease, Crohn's disease and Osteoporosis during the iterative process of estimating the appropriate number of topics by our method. For both Alzheimer's disease and Crohn's disease, the optimal number for fitting an LDA model for the respective corpus is 15 while the number is 5 for the corpus of Osteoporosis.

Figure 4
figure 4

Empirically determine the appropriate number of topics. This plot demonstrates the number of relevant topics found in LDA models built with different number of topics. The appropriate number used for building the LDA model is determined when the number of relevant topics found stops to increase or starts to decrease. The data here shows that the 15-topic LDA model yielded 10 relevant topics for Alzheimer's disease gene set and 9 for Crohn's disease gene set. For osteoporosis, 3 relevant topics were found in the 5-topic LDA model.

Report GeneTopics results

The relevant topics found by our method for a gene set are visually represented by the top 20 related terms (words). By glancing through the words of each of the topics, a scientist can start to develop an intuition about the biological functions the gene set is related to similar to assessing the results of popular gene set enrichment analysis approaches. To help establish a more granular view on the subgroups of the gene set, our method reports genes that have scores > 0.5 for each topic. PubMed IDs associated with each gene in a topic are also listed for in-depth study of underlying articles.


To evaluate the method's performance in automatically annotating a gene set, we used previously annotated gene sets from well-known and publicly available resources. Specifically, we used gene sets that are annotated metabolic pathways from the KEGG database [13] and genetic associations from the GAD collection [14].

Validation using metabolic pathways

We downloaded and constructed gene sets in the Metabolism category from the KEGG PATHWAY Database [13]. There are 226 human-specific metabolic pathways and 6101 genes are involved in these pathways. The size of the gene sets ranges from 12 to 1138 with a median of 59 genes. We ran the described workflow for all 226 gene sets with parameters set to 50 articles to select for each gene in Gi and pre-defined topic numbers to [10,25,50].

Out of the 226 genesets, our method determined for 29 gene sets the number of topics to be 10, for 122 genesets 25 and for 75 genesets 50 topics were determined (Figure 5a). The number of topics that pass the statistical threshold of 0.05 showed steady increase as the number of topics was fitted to build the model (Figure 5b). As this is the first analysis of using topic model to find biological themes for gene sets, we compared the number of topics found against the number of genes in the gene set. As expected there is a positive correlation between the two sets of numbers (Figure 5c).

Figure 5
figure 5

KEGG Metabolic pathway gene sets. The GeneTopics algorithm was applied to 236 KEGG metabolic pathway gene sets. (a) Three pre-defined number of topics were used in the validation for each gene set, the pie chart shows the distribution of gene sets for which the optimal number was determined. (b) Number of relevant topics increases as the number is used to build the optimal LDA model. (c) The size of the gene set and the number relevant topics found have a positive correlation. All these results are consistent with expectation intuition and indicate that the GeneTopics algorithm operates properly and is suitable for large-scale analyses.

We now examine the relevant topics found by our approach for each of the gene sets. Table 1 shows the topics with the best p-value along with the top 20 scoring terms for 10 gene sets (full table please see additional file 1). Clearly, our method recovers - in a completely unsupervised way - many of the words occurring in the label for the pathway in virtually all cases. This establishes that for well-studied gene sets like metabolic pathways the method is able to recover key information on the gene sets.

Validation using genes genetically associated with disease

To test if the method is robust enough to find topics for genes that are being grouped as a set due to a different biological aspects, we used data collected in the genetic association database (GAD) [14]. Here, genes are annotated based on their association to genetics diseases in GWAS studies. We constructed 157 genetic disease relevant gene sets that are associated with 1455 genes. Several different parameters were used to systematically test the gene sets: (a) run the workflow with the default background gene set of 13767 in our gene-document index collection (b) run the workflow with the GAD genes as the background gene set and (c) randomly mix 3 GAD gene sets and attempt to recover relevant topics.

Table 2 shows the partial results of best topics found for GAD gene sets using all genes as background (full table please see additional file 2). Many terms associated with GWAS studies such as polymorphism, association, genotype, frequency...etc appear as the top words in the topic with the best p-value. Although such topics are expected for gene sets with genetic association, it is the functional aspects of the gene sets related to the diseases that are more interesting. To overcome this problem, we randomly selected genes from the 1455 GAD genes when simulating the background null distribution in the workflow. Table 3 shows the results of best topics found for the modified workflow. Many of the best topics are much more consistent with the expected disease terms. We also noticed that in many of the cases, the topics found were related to different molecular aspects of the studies for the disease. For example, some of the topics clearly point to the transcriptional regulation of the disease while other topics are focused on finding related to the enzymatic reactions or signal transductions.

Table 2 Topics found for GAD genetic diseases gene set
Table 3 GeneTopics results for GAD gene sets with GAD genes as background

To test if our approach can decipher functional subgroups embedded in the gene set, we constructed 10 gene sets by randomly selecting 3 GAD gene sets and merging them into one gene set for topic model analysis. Figure 6 shows the gene score distribution and topic words for a gene set made up of 3 GAD gene sets - [esophageal cancer], [breast cancer] and [thromboembolism, venous] and 1 random gene set. As we used all genes as the background pool, the topic 4 shows the distinction between all 3 gene sets from the random gene set. Gene set [thromboembolism, venous] scored best in the topic 2 as the genes in this gene set have high scores associated with the topic words. The two gene sets related to cancer - esophageal cancer and breast cancer are best described in the topic 6 as the keywords such as breast, brca1 and carcinoma appear in the top 20 topic words.

Figure 6
figure 6

Results of mixing multiple gene sets. GeneTopics is able to uncover topics that are associated to subgroup of the gene sets. The density plots on the left show gene score from the 3 embedded gene sets - [esophageal cancer - red line], [breast cancer - green line] and [thromboembolism, venous - purple line] and 1 random gene set [cyan line]. The topic words on the right are shown in tag cloud format.

Testing the workflow with random gene sets

As a negative control for our method, we applied the method on randomly constructed gene sets. As the randomly constructed gene sets should contain no unified themes, we expect that no real topics can be found for these gene sets. To generate such gene sets, we permuted the association between GAD disease term and genes but kept the original GAD gene set size. We then submit all the random gene sets for GeneTopics analysis. To reduce the computation time, we set the LDA model number to be 10 for all gene sets instead of iteratively trying to determine the best number. Our method did not select any significant topics, indicating that it is well able to detect and deprioritize randomly constructed gene sets.

Case studies I - Human islet gene expression data

Gene expression data in human Islets from 54 non-diabetic and 9 diabetic donors [15] were analyzed and the top 324 genes differentially expressed in T2D donors (using nominal p < 0.05 and absolute value of ratio > 1.3 as cutoff) were used as the input for our algorithm. The method extended the analysis of differentially expressed genes to predicted functions (Table 4). 11 Topics were found as significant for the gene set. Topic 9 contains many terms relevant to diabetes and is associated to many known T2D-associated genes such as key genes in glucose metabolism disorder (ABCC8, CEL, GLP1R, IL6, INS, PCK1, RBP4, SCD, SLC30A8). Topic 19 is related to vasculature, a process intimately interwined with diabetes[16]. The key factor VEGF is among the representative terms for the topic. Since there are several immunological terms in the topic, a second round of analysis may yield more granularity to the genes associated with this topic. Many studies have linked diabetes to neurodegenerative disease such as Alzheimer. Topic 1 identified the topic and many known genes such as 5ht (SLC6A4) and TPH2 in the topic words. It will be interesting to explore the pathological roles of genes associated with this topic in both diabetes and Alzheimer's diseases.

Table 4 Topics found by GeneTopics for Human islet gene expression data

Case study II - gene expression data from mouse cardiac tissue

In this example we looked at gene expression profiling of mouse cardiac tissue originally published by [17]. The experiment compared response to Isoprenaline induced hypertrophy (pathologic injury) to response to swim induced hypertrophy (physiologic adaptation). The gene expression changes resulted in 8 and 6 topics for the isoprenaline and the swim groups, respectively (Table 5a and 5b). First, we looked for any terms that would indicate the involvement of the organ heart in each group. In the isoprenaline group Topic 4 expressed terms such as heart, cardiac, injury, induced, treatment all which were particularly interesting as they closely relate to the experimental perturbation of isoprenaline induced cardiac injury. In the swim group, however, Topic 12 shows heart related terms such as muscle, endothelial, cardiac, collagene, heart, vascular and hypertrophied, all of which are interestingly consistent with the experimental perturbation of physiologic cardiac hypertrophy. Other topics in the isoprenaline group point to themes around kinase signaling (topic 17), oxidative stress (topic 7), tissue remodeling (topic 12), protein metabolism (topic 5) and muscle glucose and lipid metabolism (topic9). These topics are consistent with mechanisms would expect in response to pathologic challenge to the heart muscle. Other topics for the swim group on the other hand reflected a more benign profile such as glucose and energy metabolism (topic 7), cell cycle/growth/proliferation (topic 13), gene, transcription and protein regulation (topics 3 and 6) and cytoskeleton and cellular organelles (topic 4). Overall, the method uncovers - in an unsupervised way - relevant biological topics and provides literature references for follow-up.

Table 5 Topics found by GeneTopics for mouse cardiac tissue gene expression data.

Case study III - GWAS data on Metabolite levels

In this case study, we consider results from a genome-wide association study (GWAS) that identified 90 genetic loci associated with blood metabolite concentrations in a normal population [18]. We extended the loci to include 411 nearest genes and used our method to analyze this gene set, potentially supporting the researcher to identify the true causal gene in the locus. Table 6 shows the 8 topics found by our method. Topic 16 quickly points to the fact that many of the potentially causal genes are linked to rare severe disorders of metabolism - an interesting fact that was also discussed in Suhre et al, 2012. Topic 17 shows that our method in an unsupervised way analyzes an input data set from many different angles. In this case, it points out that a number of the papers talking about the implicated genes are related to metabolites measured in the clinic. In a pharmaceutical setting, this will provide quick pointers to articles on current biomarker practice for those metabolites. The majority of the genes related to topic 28 are enzymes, clearly a key biological aspect of genes related to metabolite concentrations, and the topic 38 included many genes that have come up in previous GWA studies. In addition, terms found for topic 4 indicate that another unifying theme for the input gene set is metabolite transport. Many of the transporter genes were found to be associated with the topic such as the genes from solute carrier family SLC22A1 and SLC6A10. Finally, topic 5 is associated with genes related to blood metabolites which again points directly at literature relevant to the subject under study. As a conclusion, the uncovered topics facilitate the grouping of the 411 input genes into relevant categories. It gives high-level overviews through the topic words for each topic and enables the researcher to quickly dive into the relevant literature for more in-depth follow-up.

Table 6 Topics found by GeneTopics for GWA studies measuring metabolite level changes


Overall our novel method provides a quick and useful way to analyze any input gene with respect to coherent topics in the literature. As a result, each coherent topic is described by its top constituent words to give a quick overview of the contents and is annotated with the genes most strongly associated with it.

One of the most compelling advantages of this approach is its independence from curated gene set libraries. Clearly, the biomedical literature is growing at an enormous pace and it is likely that curation efforts are outpaced. Furthermore, as our examples show topics can point to surprising aspects of the gene set under consideration. While pre-defined gene sets on metabolic pathways are probably reasonably well curated and updated (e.g. in the KEGG database), it is unlikely that gene sets are available capturing all genes controlling metabolites measured in the clinic - a topic discovered for our Metabolomics GWAS.

The approach is quite general and is not custom-tailored to a specific data modality such as transcriptomics data. Here we investigated its use for genetics data as well as transcriptomics data, but we expect it to work equally well in other settings, if coherent topics for the genes exist in the literature.

Our method utilizes two key algorithms that are treated as black boxes, i.e. an association of genes to documents in the corpus and an implementation of a topic model algorithm. Note that the exact nature of either approach is not crucial and we expect improvements in either compartment method to improve the results of our workflow. In fact, especially topic model algorithms have been the subject of intense research over the past years. In our experience, the limitation to a "bag of words" approach is a disadvantage in the implementation we used. Probably an algorithm exploiting phrase structure of documents would lead to topic descriptions that are even easier to interpret by the biologist. Other limitations of the methods largely results from the data (documents) that are analyzed. In our application, if a gene is not mentioned with certain features in the corpus, then the topic will not include such findings. Although we tried to remove non-specific topics by using the random gene set and appropriate background set, we sometimes see very general topics found that are not specific or with enough granularity to the studied genes. Also, the LDA approach does not consider relationships among topics.

To avoid bias when prioritizing topics for the studied genes, the background gene population should be restricted to a set sharing the common themes as the studied genes. For instance, when studying a gene list consisting of kinases with different functions, using all human genes as the background will recover a common topic of "kinase function". However, using all kinases as the background to draw from will focus the method on orthogonal aspects of the kinases under consideration. We found this "parameter" of the method of great importance as it can draw out contrasts of relevance to the customer and reduce the amount of statistically significant, but uninteresting topics.

Finally, we found that the development of an interactive user interface would probably be beneficial for the acceptance of topic model based methods in a larger community. As it stands, results are communicated in hyperlinked spreadsheets. While this works reasonably well, a more interactive approach with potential recursive invocation of the algorithm on subsets of genes should be beneficial to let the user guide the search for topics more quickly into a biologically relevant direction.


In this work, we presented a novel method that combines ideas from gene set enrichment with topic model inference. Our algorithm is able to quickly and comprehensively identify topics in the literature that a biologist should consider when interpreting a gene list resulting from a given experiment. Especially, in the case of larger result sets that are hard to assess manually, the grouping into literature topics can be a great asset.

We found that the topics are usually reasonably well described by the currently employed topic algorithm, but we see potential for improvement here. As topic model inference is an area of active research, we expect improvements in inference (e.g. of relevant phrases instead of words) to directly improve the usability of our method.

In future work, we plan to develop an interactive UI for the algorithm to enable the user to guide iterative or recursive application of the method to the most interesting topics and leverage ongoing research in the area of topic models to arrive at topics that soften the bag of words assumption and describe topics with sentence phrases for better interpretability.

Overall, we found that the current algorithm was able to recover topics coherent with pre-defined gene sets concerned with metabolic pathways from KEGG as well as genetically associated disease genes from GAD. In our tests with gene sets resulting from experiments, the results were able to quickly point to relevant literature and group the large set of genes into manageable subsets. Especially, the notion of unexpected topics (e.g. clinical metabolites) seems relevant and can complement the classical approach of comparison to reference gene sets.


  1. Ackermann M, Strimmer K: A general modular framework for gene set enrichment analysis. BMC Bioinformatics. 2009, 10: 47-10.1186/1471-2105-10-47.

    Article  PubMed Central  PubMed  Google Scholar 

  2. Deerwester S, Dumais ST, Furnas GW, Landauer TK, Harshman R: Indexing by Latent Semantic Analysis. Journal of the American Society for Information Science. 1990, 41 (6): 391-407. 10.1002/(SICI)1097-4571(199009)41:6<391::AID-ASI1>3.0.CO;2-9.

    Article  Google Scholar 

  3. Hofmann T: Probabilistic Latent Semantic Analysis. Proceedings of the 22nd annual international ACM SIGIR conference on Research and development in information retrieval. 1999, 50-57.

    Google Scholar 

  4. Blei D, Ng A, Jordan M: Latent Dirichlet allocation. Journal of Machine Learning Research. 2003, 3: 993-1022.

    Google Scholar 

  5. Blei D: Probabilistic topic models. Communications of the ACM. 2012, 55 (4): 77-84. 10.1145/2133806.2133826.

    Article  Google Scholar 

  6. Caldas J, Gehlenborg N, Faisal A, Brazma A, Kaski S: Probabilistic retrieval and visualization of biologically relevant microarray experiments. Bioinformatics. 2009, 25 (12): i145-53. 10.1093/bioinformatics/btp215.

    Article  PubMed Central  CAS  PubMed  Google Scholar 

  7. Zheng B, McLean DC, Lu X: Identifying biological concepts from a protein-related corpus with a probabilistic topic model. BMC Bioinformatics. 2006, 7: 158-10.1186/1471-2105-7-158.

    Article  Google Scholar 

  8. UniProt Consortium: Reorganizing the protein space at the Universal Protein Resource (UniProt). Nucleic Acids Res. 2012, 40 (Database): D71-5.

    Article  Google Scholar 

  9. Ashburner M, Ball CA, Blake JA, Botstein D, Butler H, Cherry JM, Davis AP, Dolinski K, Dwight SS, Eppig JT, Harris MA, Hill DP, Issel-Tarver L, Kasarskis A, Lewis S, Matese JC, Richardson JE, Ringwald M, Rubin GM, Sherlock G: Gene ontology: tool for the unification of biology. The Gene Ontology Consortium. Nat Genet. 2000, 25 (1): 25-9. 10.1038/75556.

    Article  PubMed Central  CAS  PubMed  Google Scholar 

  10. Wang H, Ding Y, Tang J, Dong X, He B, Qiu J, Wild DJ: Finding complex biological relationships in recent PubMed articles using Bio-LDA. PLoS One. 2011, 6 (3): e17243-10.1371/journal.pone.0017243.

    Article  PubMed Central  CAS  PubMed  Google Scholar 

  11. Feinerer I: An introduction to text mining in R. R News. 2008, 8 (2): 19-22.

    Google Scholar 

  12. Wilcoxon F: Individual comparisons by ranking methods. Biometrics Bulletin. 1945, 1 (6): 80-83. 10.2307/3001968.

    Article  Google Scholar 

  13. Kanehisa M, Goto S: KEGG: kyoto encyclopedia of genes and genomes. Nucleic Acids Res. 2000, 28 (1): 27-30. 10.1093/nar/28.1.27.

    Article  PubMed Central  CAS  PubMed  Google Scholar 

  14. Becker KG, Barnes KC, Bright TJ, Wang SA: The genetic association database. Nat Genet. 2004, 36 (5): 431-2. 10.1038/ng0504-431.

    Article  CAS  PubMed  Google Scholar 

  15. Taneera J, Lang S, Sharma A, Fadista J, Zhou Y, Ahlqvist E, Jonsson A, Lyssenko V, Vikman P, Hansson O, Parikh H, Korsgren O, Soni A, Krus U, Zhang E, Jing XJ, Esguerra JL, Wollheim CB, Salehi A, Rosengren A, Renström E, Groop L: A systems genetics approach identifies genes and pathways for type 2 diabetes in human islets. Cell Metab. 2012, 16 (1): 122-34. 10.1016/j.cmet.2012.06.006.

    Article  CAS  PubMed  Google Scholar 

  16. Richards OC, Raines SM, Attie AD: The role of blood vessels, endothelial cells, and vascular pericytes in insulin secretion and peripheral insulin action. Endocr Rev. 2010, 31 (3): 343-63. 10.1210/er.2009-0035.

    Article  PubMed Central  CAS  PubMed  Google Scholar 

  17. Galindo CL, Skinner MA, Errami M, Olson LD, Watson DA, Li J, McCormick JF, McIver LJ, Kumar NM, Pham TQ, Garner HR: Transcriptional profile of isoproterenol-induced cardiomyopathy and comparison to exercise-induced cardiac hypertrophy and human cardiac failure. BMC Physiol. 2009, 9: 23-10.1186/1472-6793-9-23.

    Article  PubMed Central  PubMed  Google Scholar 

  18. Suhre K, Shin SY, Petersen AK, Mohney RP, Meredith D, Wägele B, Altmaier E, CARDIoGRAM, Deloukas P, Erdmann J, Grundberg E, Hammond CJ, de Angelis MH, Kastenmüller G, Köttgen A, Kronenberg F, Mangino M, Meisinger C, Meitinger T, Mewes HW, Milburn MV, Prehn C, Raffler J, Ried JS, Römisch-Margl W, Samani NJ, Small KS, Wichmann HE, Zhai G, Illig T, Spector TD, Adamski J, Soranzo N, Gieger C: Human metabolic individuality in biomedical and pharmaceutical research. Nature. 2011, 477 (7362): 54-60. 10.1038/nature10354.

    Article  CAS  PubMed  Google Scholar 

Download references


The authors wish to thank Phoebe Roberts and Dmitri Bichko for providing the gene-document index based on their LitMS method for this work.


The publication costs for this article were funded by the Computational Sciences CoE at Pfizer, Inc.

This article has been published as part of BMC Systems Biology Volume 7 Supplement 5, 2013: Selected articles from the International Conference on Intelligent Biology and Medicine (ICIBM 2013): Systems Biology. The full contents of the supplement are available online at

Author information

Authors and Affiliations


Corresponding author

Correspondence to Vicky Wang.

Additional information

Competing interests

The authors declare that they have no competing interests.

Authors' contributions

VW and DZ designed and implemented the method and analyzed the validation data. LX, EF, AE analyzed results for biological datasets.

Electronic supplementary material


Additional file 1: The file contains the full table of topics for 226 KEGG gene sets. Table 1 is a subset of this file. (XLSX 154 KB)


Additional file 2: The file contains the full table of topics for 157 GAD gene sets. Table 2 is a subset of this file. (XLSX 24 KB)

Rights and permissions

This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. The Creative Commons Public Domain Dedication waiver ( applies to the data made available in this article, unless otherwise stated.

Reprints and permissions

About this article

Cite this article

Wang, V., Xi, L., Enayetallah, A. et al. GeneTopics - interpretation of gene sets via literature-driven topic models. BMC Syst Biol 7 (Suppl 5), S10 (2013).

Download citation

  • Published:

  • DOI: