- Open Access
Revealing common disease mechanisms shared by tumors of different tissues of origin through semantic representation of genomic alterations and topic modeling
BMC Genomics volume 18, Article number: 105 (2017)
Cancer is a complex disease driven by somatic genomic alterations (SGAs) that perturb signaling pathways and consequently cellular function. Identifying patterns of pathway perturbations would provide insights into common disease mechanisms shared among tumors, which is important for guiding treatment and predicting outcome. However, identifying perturbed pathways is challenging, because different tumors can have the same perturbed pathways that are perturbed by different SGAs. Here, we designed novel semantic representations that capture the functional similarity of distinct SGAs perturbing a common pathway in different tumors. Combining this representation with topic modeling would allow us to identify patterns in altered signaling pathways.
We represented each gene with a vector of words describing its function, and we represented the SGAs of a tumor as a text document by pooling the words representing individual SGAs. We applied the nested hierarchical Dirichlet process (nHDP) model to a collection of tumors of 5 cancer types from TCGA. We identified topics (consisting of co-occurring words) representing the common functional themes of different SGAs. Tumors were clustered based on their topic associations, such that each cluster consists of tumors sharing common functional themes. The resulting clusters contained mixtures of cancer types, which indicates that different cancer types can share disease mechanisms. Survival analysis based on the clusters revealed significant differences in survival among the tumors of the same cancer type that were assigned to different clusters.
The results indicate that applying topic modeling to semantic representations of tumors identifies patterns in the combinations of altered functional pathways in cancer.
Cancer is a complex disease involving multiple hallmark processes [1, 2], and aberrations in these processes are caused by SGAs that perturb pathways regulating these processes. Different combinations of pathways lead to heterogeneous oncogenic behaviors of cancer cells, which impact patient outcomes and response to treatment. Identification of patterns of pathway perturbations can reveal common disease mechanisms shared by a tumor subtype and such information can guide targeted therapy.
Transcriptomic data have been widely used to reveal different cancer subtypes among tumors of the same tissue of origin, and such studies have identified many clinically relevant subtypes, which have significant prognostic value [3–11]. However, transcriptomics-based subtyping does not provide insight into the disease mechanisms underlying each subtype, that is, transcriptomics-based subtyping does not reveal the causative pathways underlying the development of subtypes. As such, such subtyping does not provide guidance for targeted therapy. Another limitation of transcriptomics-based subtyping is that tissue-specific gene expression prevents discovery of transcriptomic patterns across cancer types. Recent pan-cancer studies found that tumors are invariably clustered according to tissue of origins when using features that are related to transcriptomics [12, 13]. Therefore, studying common disease mechanism of cancers should be addressed from new perspectives.
In order to gain a better insight into cancer disease mechanisms, an alternative approach is to study patterns of SGAs that perturb signaling pathways, with the goal of identifying which combination of perturbed pathways underlies each of the subtypes. It can be hypothesized that each cancer subtype is likely driven by a specific combination of perturbed pathways, and identification of such common disease mechanisms would provide guidance for targeted therapy.
However, the direct use of SGA data to identify these signaling pathways is challenging. This is because pathways are composed of multiple genes, and in different tumors the same pathway can be perturbed by distinct SGAs affecting different members of the pathway. As such, two tumors sharing common pathway perturbations may exhibit completely different sets of SGAs, making it difficult to detect similarities between tumors. Thus individual tumors may present itself with different genomic alterations, while undergoing the same pathway perturbations . This effect is amplified by the fact that multiple pathways need to be perturbed for cancer to develop. All of this results in highly heterogeneous mutation patterns in tumors with common pathway perturbations.
In order to tackle this problem, we have developed a novel semantic representation of genes that captures the similarity of functions of distinct genes. This representation would help us identify functionally related genes whose alterations result in similar changes in signaling pathways. We also chose to use topic modeling to identify patterns in these altered signaling pathways based on the semantic representations. The tumors were clustered based on these patterns, and survival analysis was performed on the results. The conceptual overview of our research is shown in Fig. 1.
Cancer genomic data
Cancer somatic mutation data was downloaded (July, 2013) from The Cancer Genome Atlas (TCGA) and copy number variation and gene expression data was downloaded from The UCSC Cancer Genomics Browser [15, 16]. Data from five different cancer types was used: breast invasive carcinoma (BRCA), head and neck squamous cell carcinoma (HNSC), lung adenocarcinoma (LUAD), lung squamous cell carcinoma (LUSC), and ovarian serous cystadenocarcinoma (OV). The LUAD and LUSC data was combined into one large lung cancer (LUNG) dataset for processing.
PolyPhen-2 was used to determine which single-nucleotide-substitution mutations in a tumor had a potential effect on protein function, where each tumor was a different cancer tumor . We considered a mutation event that was labeled either “possibly damaging” or “probably damaging” to be a functional mutation. The frame shift, nonsense, splice site, and multiple nucleotide mutations were considered functional mutations, because of their tendency to have a larger impact on protein function. This analysis was used to determine the functionally mutated genes for each tumor for each cancer type.
Copy number variation
We only considered the genes whose copy number variations resulted in an altered gene expression. In order to determine if the expression of a sample was altered, we first calculated the mean and variance of the samples with no copy number variation. These values were then used to calculate the probability of a gene to be differentially expressed using a one-tailed test on a normal distribution. If the probability fell below the threshold, then we considered the expression to be altered and kept the sample for further analysis. In this analysis, we only considered the instances where the gene was marked as +/− 2 in copy number, and a probability threshold of 0.01 was used. For each cancer type, we utilized the gene expression data that contained the most samples.
The somatic mutation and copy number variation data were combined in order to get a more comprehensive view of the genes that are altered in each tumor. For each tumor, a gene that was either functionally mutated or affected by a copy number variation that resulted in an altered gene expression was considered an SGA event. In order to reduce the sizes of the datasets and decrease the chances of including passenger mutations, SGAs that occurred in less than 20 tumors were discarded.
The combined somatic mutation and copy number variation data resulted in datasets of the following sizes: BRCA with 779 samples and 15,517 genes; HNSC with 324 samples and 14,548 genes; LUAD with 398 samples and 11,851 genes; LUSC with 331 samples and 10,874 genes; and OV with 562 samples and 10,235 genes. This resulted in a dataset with 2,396 samples and 20,760 genes after combining all four cancer datasets, and 2,396 samples with 2,733 genes after applying the threshold.
Semantic representation of SGAs
Function descriptions of each gene were obtained from GeneRIFs and gene summaries, which were downloaded from NCBI Gene on September 16, 2013. This text was preprocessed by removing stop words, tokenization, and Porter stemming . Word vectors were created using GeneRIFs and gene summaries combined. The vocabulary size of the resulting word vectors were 57,035 words.
We calculated the term frequency-inverse document frequency (tf-idf) of each word to determine which words contained information pertinent to a gene. To do so, we treated the entire list of genes as one large corpus when calculating tf-idf score. Text from corresponding GeneRIFs and gene summary were pooled and represented as a document. The term frequency (tf) and document frequency (df) were calculated for each word for each gene document, with the term frequency being the number of times the word is associated with the document, and the document frequency being the number of gene documents the word is associated with. Using these values, we then calculated the tf-idf for a specific word with:
where w represents the word, d is the tumor (or document), and D is the entire corpus. Thus |D| represents the total number of tumors. The cumulative tf-idf for each word was calculated by summing the tf-idf score across all documents. These cumulative tf-idf scores were used to limit the vocabulary size across the entire dataset. Only the 20,000 words with the highest cumulative tf-idf scores were included in the vocabulary.
Semantic representation of SGAs and tumors
We created a word vector to represent each gene, consisting of words and their frequencies. A word vector was then created for each gene by including the 200 words with the highest tf-idf scores. Since a gene name and its aliases contains a large amount of information with respect to a gene, we set the tf-idf score for each gene name and alias in a word vector equal to the highest tf-idf score associated with that gene. In this way, an SGA event is not simply represented as a single gene name, which does not reflect the functional impact of the SGA, but rather it is represented by a word vector, such that the profile of words describing its function provides information of its functional impacts.
We further represented the SGAs observed in a tumor as a “text document” by pooling the word vectors associated with the SGAs. In this way, the functional themes of the SGAs are presented in the document, and tumors with similar pathway alterations are similar even though they may host quite different SGAs.
Nested hierarchical dirichlet process
The nested hierarchical Dirichlet process (nHDP) is a hierarchical topic model , which uses Bayesian nonparametric prior to model the covariance of topics in a training corpus. nHDP represents the relations among topics using a tree, in which a node represents a topic and a path in a tree indicates that the topics on the path have a high tendency to co-occur in documents. When modeling the topics present in a text document, nHDP allows each document to access the entire tree  (considering all possible topics) and places a high probability on multiple paths. The nHDP algorithm was applied to a corpus of text documents representing tumors, and it returned a topic matrix, which defined the probability that a word is associated with a topic, and a document-topic distribution matrix, which defined how the words in a document are distributed among the topics. We used the parameter value β 0 = 0.01, and we define the maximal level of the tree to be 3 and initialized the branching factor for a node at different levels (from root to leaf) to 10, 5, and 3. The nHDP algorithm was run 10 times to generate 10 different topic models for each dataset. The model that had the highest cumulative document likelihood was selected as the best-fitting topic model for further analysis.
Mapping SGAs to topics
Since the topics in our setting reflect the functions that are repeatedly perturbed by SGAs among all tumors, it would be interesting to know which SGAs are associated with each functional theme. However, the nHDP model only captures the association of words with topics. Further calculations were needed to determine the SGAs associated with each topic. Utilizing the topic-to-document association and topic-to-word association matrices generated by the topic model, we represent the strength of association of an SGA with respect to a topic using p(g|t), which is calculated as follows:
where count(w|g) is the word count for the word w in the word vector associated with the gene g; p(w|t) is the conditional probability of a word w given a topic t; p(t|d) is the probability that a word is assigned to topic t in document d.
In order to find the tumors that share common disease mechanisms, we represented a tumor either as a vector spanning the SGA space, or as a vector spanning the topic space. We then performed consensus clustering to group the tumors. We used partitioning around medoids (PAM) as the base-line clustering method. For cluster sizes 4–6, the algorithm was run with 10 repetitions on the SGA space representations; for cluster sizes 4–10, the algorithm was run with 20 repetitions on the topic space representations. Consensus clustering was performed using the clusterCons package version 1.0 in R .
Visualization of tumor clusters
In addition to consensus clustering, we also visualized the tumors (documents) in order to see how clearly our topic model was able to separate the different samples. The t-Distributed Stochastic Neighbor Embedding (t-SNE) technique of dimensionality reduction was used to plot the points in a two-dimensional space . We used the Matlab implementation downloaded from http://homepage.tudelft.nl/19j49/t-SNE.html.
Calculating cluster to topic associations
The proportion of samples (documents) in a cluster associated with each topic was calculated to see how topic associations vary between different clusters. In order to determine which documents are associated with each topic, the proportion of words from each document associated with each topic was calculated. Any topic that was associated with at least 0.01 of the words in a document was considered to be associated with the document. This threshold was used to remove associations that are the result of noise. We then obtained the proportion of documents in each cluster that are associated with each topic.
We performed survival analyses to evaluate the clinical impact of subtyping the tumors based on clustering. Tumors of the same cancer type were separated into subsets based on the clustering results obtained previously. Survival data for the tumors were obtained from the clinical data available on TCGA. The analysis was performed twice for each cancer type: once using all tumors, and once after excluding all clusters that contained less than 25 samples. We used the survival package version 2.38.3 in R to conduct the analysis [22, 23].
Semantic representation reveals functional similarity among genes
We first examined whether word vectors representing SGAs highlight the similarities and differences between two genes. A subset of words and their tf-idf scores from the word vectors of three genes are shown as examples in Table 1. TP53 is a tumor suppressor that is involved in apoptosis and DNA repair, and MDM2 is a proto-oncogene that inhibits TP53. As expected, the word vector representing these two genes share common words and profiles. On the other hand, the TTN gene encodes for a protein that is important in muscles, which shows quite a different word profile.
nHDP identifies biologically sensible topics
The goal of using topic modeling is to capture recurrent semantic themes (defined by a set of commonly co-occurring words) that exist in text documents representing SGAs in a collection of tumors. Presence of such a theme in the corpus usually is due to the repeated occurrence of SGAs in tumors that share a common functional description (although containing different genes). We trained 10 nHDP models and selected the one that fit the input data the best. The model contains 205 topics that were allocated to at least one document.
We inspected the words that constitute the topics and the SGAs associated with them, and an example topic is shown in Fig. 2. It is clear this topic is related to BRCA1/2 genes and their relationship to cancer, particularly breast and ovarian cancers. The main function of BRCA1/2 is related to DNA repair, and we found words related to DNA repair in the topic but they did not rank high enough to be shown in the figure, which only shows the top 20 words. Interestingly, RAD51 gene, another DNA-repair gene that binds with BRCA2  and is regulated by BRCA1 , is ranked high, indicating that the nHDP model was able to capture the DNA-repair theme. Similarly, three genes that are strongly associated with this topic are BRCA1, BRCA2 and TP53; all are related to DNA repair, and they commonly occur in breast and ovarian cancers.
Semantic representation of tumors reveals shared subtypes across cancer types
As stated previously, a main goal of this study is to use genomic alteration data (SGAs) to reveal common disease mechanisms shared among tumors (within or across cancer types). We found that clustering in the SGA space did not result in clean clusters for any of the cluster sizes (Fig. 3a). This result is expected because the heterogeneity of SGAs among tumors prevent the clustering algorithm from finding the similarity among tumors. In comparison, representing tumors in the semantic space–each tumor is represented as a vector spanning the topic space–revealed clear-cut clusters using either consensus clustering or t-SNE projection (Fig. 3b and c). The clearer separation of clusters in the topic space indicates that the topics captured the recurrent semantic themes (potentially reflecting functions of perturbed pathways), thus enabling the clustering algorithm to detect the similarity of tumors sharing common themes. It is particularly interesting that the majority of clusters contains tumors from multiple cancer types, indicating that certain semantic themes are shared among the tumors from different cancer types.
Distinct topic allocation patterns across clusters
A key motivation of employing nHDP, instead of other probabilistic topic models such as the LDA model, is that nHDP not only detects recurrent themes but also, importantly, the covariance structure of topics. In other words, if a topic represents a pathway perturbed by SGAs, nHDP can capture the patterns of pathway perturbations. We examined and illustrated example topic allocation trees, which shows the proportions of samples in a cluster that are associated with each topic (Fig. 4). Apparently, the pattern of topic associations differed between clusters, and certain subtrees are strongly associated with one cluster but not the other. This implies that the combination of semantic (functional) themes, rather than the possession of unique functional themes, is what separates the different clusters. While we found that many topics close to the root would show up in multiple clusters, there are other more specific topics that are exclusive to one cluster. This was expected, because the topics that are close to the root in the hierarchy are more general functional themes and could be shared across clusters. However, the topics deep in the hierarchy are more specific and so should appear in fewer clusters.
Assuming that different clusters consist of tumors sharing common disease mechanisms, we performed survival analysis to determine if such subtyping reveals clinical differences. Using the 8 clusters generated to group the tumors, we performed survival analysis on each of the different cancer types, where tumors were grouped according to their cluster id obtained from the consensus clustering analysis. Of the five cancer types, BRCA, HNSC, and LUSC were all found to be significant. This was true both when all samples and clusters were used, and when only the clusters containing at least 25 samples were used. The resulting survival curves can be seen in Fig. 5. These results indicate that semantic representation and clustering revealed cancer subtypes that have significantly different tumors with biologically different features, which were identified using their topic associations.
In this study, we investigated the utility of semantic representation and topic modeling for identifying patterns in signaling pathway perturbations in different tumors. Our results show that semantic representation of SGAs makes it possible to detect the functional similarity of different genes, which in turn enabled nHDP to detect recurrent patterns of pathway perturbation. Interestingly, this approach enabled us to identify cancer subtypes (clusters) consisting of tumors with quite diverse tissues of origin, which exhibit significantly different clinical outcomes (survival).
To our knowledge, this is a novel approach to studying common disease mechanisms using genomic alteration data. Our approach is the first to generate semantic representations to capture the functional information of tumors. We conjecture that the existence of topics in this new representation is due to recurrent SGAs that perturb genes involved in a common biological process or pathway. As such, one can further hypothesize that the presence of a topic in a tumor represents that a specific pathway is perturbed in the tumor. Following the same vein of thinking, one can hypothesize that tumors within a cluster identified in this study share a common disease mechanism, i.e., they share a particular pattern of pathway perturbation. Further in-depth analysis of topics and associated SGAs is needed to examine if such a hypothesis is supported by the results. If proved to be the case, our finding can potentially guide therapy targeting specific combination of pathways.
This study also has its limitations. Semantic data is limited by the amount and breadth of current knowledge regarding genes, so genes that are not well research or functions that have not been discovered would not be properly represented.
Our research is the first time semantic representations are applied in this way to represent cancer samples, as well as the first use of a hierarchical topic model in this aspect of biomedical research. Applying topic modeling to the semantic representations of tumors made it possible to identify patterns of perturbed pathways in cancer tumors. This enabled the identification of cancer subtypes containing different tissues of origin that exhibit significantly different survival outcomes. If these subtypes are shown to share patterns of pathway perturbations, then these methods can potentially be used to guide targeted therapy of cancer.
Hanahan D, Weinberg RA. Hallmarks of Cancer: The Next Generation. Cell. 2011;144(5):646–74.
Hanahan D, Weinberg RA. The Hallmarks of Cancer. Cell. 2000;100(1):57–70.
Cancer Genome Atlas Network. Comprehensive molecular portraits of human breast tumours. Nature. 2012;490(7418):61–70.
Cancer Genome Atlas Research Network. Integrated genomic characterization of papillary thyroid carcinoma. Cell. 2014;159(3):676–90.
Cancer Genome Atlas Research Network. Comprehensive molecular characterization of gastric adenocarcinoma. Nature. 2014;513(7517):202–9.
Cancer Genome Atlas Research Network. Integrated genomic analyses of ovarian carcinoma. Nature. 2011;474(7353):609–15.
Verhaak RGW, Hoadley KA, Purdom E, Wang V, Qi Y, Wilkerson MD, Miller CR, Ding L, Golub T, Mesirov JP, et al. An integrated genomic analysis identifies clinically relevant subtypes of glioblastoma characterized by abnormalities in PDGFRA, IDH1, EGFR and NF1. Cancer Cell. 2010;17(1):98.
The Cancer Genome Atlas Research Network. Comprehensive, Integrative Genomic Analysis of Diffuse Lower-Grade Gliomas. N Engl J Med. 2015;372(26):2481–98.
Cancer Genome Atlas Research Network, Kandoth C, Schultz N, Cherniack AD, Akbani R, Liu Y, Shen H, Robertson AG, Pashtan I, Shen R, et al. Integrated genomic characterization of endometrial carcinoma. Nature. 2013;497(7447):67–73.
Parker JS, Mullins M, Cheang MCU, Leung S, Voduc D, Vickery T, Davies S, Fauron C, He X, Hu Z, et al. Supervised Risk Predictor of Breast Cancer Based on Intrinsic Subtypes. J Clin Oncol. 2009;27(8):1160–7.
Sørlie T, Perou CM, Tibshirani R, Aas T, Geisler S, Johnsen H, Hastie T, Eisen MB, van de Rijn M, Jeffrey SS, et al. Gene expression patterns of breast carcinomas distinguish tumor subclasses with clinical implications. Proc Natl Acad Sci. 2001;98(19):10869–74.
Hoadley KA, Yau C, Wolf DM, Cherniack AD, Tamborero D, Ng S, Leiserson MDM, Niu B, McLellan MD, Uzunangelov V, et al. Multiplatform Analysis of 12 Cancer Types Reveals Molecular Classification within and across Tissues of Origin. Cell. 2014;158(4):929–44.
Kandoth C, McLellan MD, Vandin F, Ye K, Niu B, Lu C, Xie M, Zhang Q, McMichael JF, Wyczalkowski MA, et al. Mutational landscape and significance across 12 major cancer types. Nature. 2013;502(7471):333–9.
Leiserson MDM, Blokh D, Sharan R, Raphael BJ. Simultaneous Identification of Multiple Driver Pathways in Cancer. PLoS Comput Biol. 2013;9(5):e1003054.
TCGA Research Network. Integrated genomic analyses of ovarian carcinoma. Nature. 2011;474(7353):609–15.
Goldman M, Craft B, Swatloski T, Ellrott K, Cline M, Diekhans M, Ma S, Wilks C, Stuart J, Haussler D, et al. The UCSC Cancer Genomics Browser: update 2013. Nucleic Acids Res. 2013;41(D1):D949–54.
Adzhubei IA, Schmidt S, Peshkin L, Ramensky VE, Gerasimova A, Bork P, Kondrashov AS, Sunyaev SR. A method and server for predicting damaging missense mutations. Nat Methods. 2010;7(4):248–9.
Porter MF. An algorithm for suffix stripping. Program. 1980;14(3):130–7.
Paisley J, Wang C, Blei DM, Jordan MI. Nested Hierarchical Dirichlet Processes. ArXiv e-prints. 2012.
Simpson TI, Armstrong JD, Jarman AP. Merged consensus clustering to assess and improve class discovery with microarray data. BMC Bioinformatics. 2010;11:590.
van der Maaten L, Hinton GE. Visualizing Data using t-SNE. J Mach Learn Res. 2008;9(November):2579–605.
Therneau TM, Grambsch PM. Modeling Survival Data: Extending the Cox Model. New York: Springer; 2000.
Therneau TM. A Package for Survival Analysis in S. 2015.
Lord CJ, Ashworth A. RAD51, BRCA2 and DNA repair: a partial resolution. Nat Struct Mol Biol. 2007;14(6):461–2.
Cousineau I, Abaji C, Belmaaza A. BRCA1 Regulates RAD51 Function in Response to DNA Damage and Suppresses Spontaneous Sister Chromatid Replication Slippage: Implications for Sister Chromatid Cohesion, Genome Stability, and Carcinogenesis. Cancer Res. 2005;65(24):11384–91.
We would like to thank Dr. Songjian Lu for his instruction on how to use PolyPhen-2 and to perform copy number alteration analysis, and Lujia Chen for her discussion and feedback throughout the project.
Research reported in this publication was partially supported by the following NIH grants: 5R01LM011155, R01LM012011, T15LM007059, U54HG008540. Funding also came from Grant #4100070287 awarded by the Pennsylvania Department of Health. The content is solely the responsibility of the authors and does not necessarily represent the official views of the National Institutes of Health or the Pennsylvania Department of Health or the Department of Defense. The publication cost was paid through the NIH grant R01LM012011.
Availability of data and material
XL conceived the project; VC carried out all the data collection, modeling and analyses, JP implemented the nHDP program for this project. All authors read and approved the final manuscript.
The authors declare that they have no competing interests.
Consent for publication
Ethics approval and consent to participate
About this supplement
This article has been published as part of BMC Genomics Volume 18 Supplement 2, 2017. Selected articles from the 15th Asia Pacific Bioinformatics Conference (APBC 2017): genomics. The full contents of the supplement are available online http://bmcgenomics.biomedcentral.com/articles/supplements/volume-18-supplement-2.
About this article
Cite this article
Chen, V., Paisley, J. & Lu, X. Revealing common disease mechanisms shared by tumors of different tissues of origin through semantic representation of genomic alterations and topic modeling. BMC Genomics 18 (Suppl 2), 105 (2017). https://doi.org/10.1186/s12864-017-3494-z
- Topic modeling
- Semantic representation
- Cancer genomics
- Disease mechanisms