Anticancer drug knowledge graph dynamic mapping embedding method based on cancer omics
The knowledge graph is constructed through sparse matrices and bipartite graphs, and dynamic mapping matrix embedding and completion solves the problem of cancer omics data sparsity and transparency, achieves efficient anti-cancer drug repositioning and recommendation, and improves the interpretability and accuracy of the model. accuracy.
Patent Information
- Application Number
- CN202410830815.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-10-25
AI Technical Summary
There is a problem of data sparsity in existing cancer omics data, which results in reduced drug sensitivity prediction accuracy, a lack of transparency and interpretability, making it difficult to trust recommendation results, and it is difficult for existing models to efficiently discover new drug mechanisms of action.
Sparse matrices and bipartite graphs are used to construct knowledge graphs. Through dynamic mapping matrix embedding and knowledge graph completion, potential relationships between entities are revealed to achieve efficient repositioning and recommendation of anti-cancer drugs.
It improves the interpretability and accuracy of the drug recommendation model, expands the scale of the knowledge graph, helps discover new drug action mechanisms, enables efficient anti-cancer drug repositioning, and reduces the impact of data sparsity.
Smart Images

Figure CN118841103A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of artificial intelligence application technology, and specifically relates to a method for dynamically mapping and embedding an anticancer drug knowledge graph based on cancer omics. Background Art
[0002] At present, there are still many genomic variations whose related targeted drugs have not been clarified, and there are also a large number of developed drugs whose targets are unclear. However, given the high cost of biochemical experiments for drugs, it is difficult to accurately and quickly determine the personalized anticancer drugs corresponding to the mutant genes of cancer patients by directly using large-scale drug experimental screening. This phenomenon is also the main reason why the current accurate diagnosis of cancer is time-consuming and the accuracy is still not high. In this regard, if an intelligent method is used to encode anticancer drugs and cancer genome variations, and to infer and predict potential sensitive anticancer drugs through machine reasoning, it can not only help doctors diagnose and treat patients' diseases more quickly and accurately, but also reduce the workload of doctors. To this end, it has become a hot topic to obtain cancer omics data and efficiently mine its related knowledge to build a sensitive anticancer drug recommendation system.
[0003] In the existing research on knowledge mining of cancer omics data, most artificial intelligence models are based on black box attributes. Among them, Iorio et al. in the literature "IORIO F, KNIJNENBURG TA, VISD J, et al. A Landscape of Pharmacogenomic Interactions in Cancer [J]. Cell, 2016, 166 (3): 740-54" started from the CGP dataset and used multivariate linear regression (elastic regression, ridge regression and LASSO) to predict drug sensitivity response values. Zhu et al. in the literature "ZHU Y, OUYANG Z, CHEN W, et al. TGSA: protein-protein association-based twin graph neural networks for drug response prediction with similarity augmentation [J]. Bioinformatics, 2022, 38 (2): 461-8" proposed a regression model TGSA combined with deep learning methods. TGSA consists of a dual graph neural network for drug response prediction (TGDRP) and a similarity enhancement (SA) module. Combined with prior domain knowledge to fuse fine-grained (gene-level and atomic-level) and coarse-grained (sample-level) information, two GNN encoders are used to learn the representations of drugs and cell lines based on molecular graphs and protein-protein association networks respectively, and then the learned representations are connected in series and sent to the fully connected network for final regression prediction. Le et al. proposed the GloNetDRP method in the paper "LED H, PHAMV H. Drug Response Prediction by Globally Capturing Drug and CellLineInformation in a Heterogeneous Network[J]. J Mol Biol, 2018, 430(18Pt A): 2993-3004", which constructs a "drug-cancer cell line double-layer network" and calculates drug sensitivity responses through a propagation algorithm.Yan et al. in the paper "YAN XY, ZHANG SW, YIU SM, et al. Interpretable prediction of drug-cell line response by triple matrix factorization [J]. Quantitative Biology (English Edition), 2021, 9 (4): 426-39" used the structural characteristics of drug compounds, the gene expression characteristics of cell lines and drug-cell line response data to construct a dual linear regression model, and proposed an interpretable triple matrix factorization method (TMF) to effectively predict drug response. Gandhi et al. in the paper "GANDHI L, RODRíGUEZ-ABREU D, GADGEEL S, et al. Pembrolizumab plus Chemotherapy in Metastatic Non-Small-Cell Lung Cancer [J]. N Engl J Med, 2018, 378 (22): 2078-92" proposed a matrix factorization method (SRMF) regularized by similarity matrix based on the assumption that "similar cell lines have similar responses to similar drugs" to effectively predict cancer cell drug response. Liu et al. proposed a dual convolutional neural network (tCNNS) model in the paper "LIU P, LI H, LI S, et al. Improving prediction of phenotypic drug response on cancer cell lines using deep convolutional network[J]. BMC Bioinformatics, 2019, 20(1):408". The model contains two CNNS branches, which are used to extract the characteristics of drugs and cell lines respectively, and then use a fully connected network to predict the drug response of cell lines.
[0004] Although most current artificial intelligence drug recommendation models show high prediction accuracy, their decision-making process often lacks transparency, like a "black box", which makes it difficult for doctors and patients to fully trust their recommendations. In addition, cancer omics databases generally face the problem of data sparsity, that is, there are a large number of missing data or zero values in the database. For example, the anticancer drug sensitivity genomics project, namely Genomics of Drug Sensitivity in Cancer (GDSC), is currently the largest public database of cancer cell drug sensitivity information and drug response molecular markers. This database is based on multiple studies and database information, integrated and re-analyzed, and explains the sensitivity and response of different tumor cells to drugs from three retrieval levels: drugs, genes, and tumor cell lines. These valuable information resources provide researchers with an excellent opportunity to understand the mechanism of cancer treatment, but they still have the problem of data sparsity. This incompleteness of data not only increases the complexity of analysis, but also may lead to a decrease in prediction accuracy, complicate biological interpretation, and damage the credibility of the results. At the same time, data sparsity may also cause unnecessary consumption of resources and become a limiting factor in cancer omics data research in some cases. Therefore, it is particularly important to develop an artificial intelligence anti-cancer drug recommendation model that is both highly interpretable and can effectively deal with the problem of data sparsity. Summary of the invention
[0005] In order to overcome the shortcomings of the prior art, the present invention provides a dynamic mapping and embedding method for an anticancer drug knowledge graph based on cancer omics, which constructs a data matrix related to anticancer drug sensitivity and genomics data into knowledge graph format data through sparse matrix and bipartite graph methods, and further converts it into a low-dimensional feature vector representation through a representation learning method based on the dynamic mapping matrix embedding method, and then performs knowledge graph completion on this basis to reveal the potential relationship between entities and discover new knowledge, so as to discover new drug action mechanisms and achieve efficient anticancer drug repositioning.
[0006] The technical solution adopted by the present invention to solve the technical problem is as follows:
[0007] Step 1: Represent the omics data with a sparse matrix;
[0008] Download the data matrix from the GDSC database; select mutation data, copy number variation data, and DNA hypermethylation data as genomic data; convert the data matrix into a sparse matrix;
[0009] Step 2: Convert omics data into a bipartite graph;
[0010] In a bipartite graph, nodes are divided into two disjoint sets, so that nodes within a set are not connected by edges, while nodes between sets are connected by edges; each sparse matrix is equivalent to a bipartite graph, where nodes are different samples or genes, and edges are aberrations related to the selected omics;
[0011] Step 3: Integrate multiple types of graphs;
[0012] By associating the same samples and the same genes in different bipartite graphs, a heterogeneous bipartite graph containing two types of nodes but multiple types of edges is integrated; where the nodes, i.e., entities, are samples and genes, and the multiple types of edges, i.e., relationships, are different types of mutations in these omics;
[0013] Step 4: Integrate drug response data;
[0014] Download the drug sensitivity matrix, which contains the reaction pairs between drugs and samples; after converting the drug sensitivity matrix into a sparse matrix, the known reaction pairs in the drug sensitivity sparse matrix are reformatted into a bipartite graph, and the samples contained in the drug response data are the same as those in the omics data;
[0015] Step 5: Integrate gene interaction data;
[0016] The gene interaction network in the GDSC database is introduced, which contains the interaction relationship between different genes; after converting the gene interaction matrix into a sparse matrix, a bipartite graph is constructed; in the bipartite graph, the edges between genes represent the interaction relationship between them;
[0017] Step 6: Construct drug response knowledge graph;
[0018] Through heterogeneous bipartite graphs, a drug knowledge graph is constructed, whose entities include samples, genes, and drugs; and relationships include different types of mutations, gene interactions, and drug responses;
[0019] Step 7: Perform knowledge graph dynamic mapping matrix embedding;
[0020] Learn a mapping matrix for each entity and relation;
[0021] Step 8: Complete the knowledge graph;
[0022] Leverage existing factual knowledge in the knowledge graph to predict unknown or missing links between entities in the graph.
[0023] Furthermore, the step 1 is specifically as follows:
[0024] From the GDSC database, mutation data, copy number variation data, and DNA hypermethylation data are selected as genomic data, i.e., data matrix M, M ijare elements in the matrix M; the data matrix is represented by a sparse matrix, only the non-zero elements in the data matrix are retained, and their indices are recorded; the sparse matrix is represented as M′=(I,J,V), where I is the row index of the non-zero element, J is the column index of the non-zero element, and V is the value of the non-zero element.
[0025] Furthermore, the step 2 is specifically as follows:
[0026] For each gene sparse matrix M′ i , construct a bipartite graph i =(V i ,E i ), where V i is the sample set, E i is a set of edges; in a bipartite graph, the edges between samples and genes represent variations or changes in the selected omics data; the edge E i From the sparse matrix M′ i Directly construct, only retain the edges corresponding to non-zero elements, E i ={(i,j)|M ij ≠0}.
[0027] Furthermore, the step 3 is specifically as follows:
[0028] Create a set of all bipartite graphs for Every bipartite graph in i , associate the same samples and genes to form a heterogeneous bipartite graph Edge E all From each bipartite graph edge E i Merge to ensure that only one edge between each sample and gene is retained; V all From each bipartite graph sample V i The merged data were then combined to ensure that each sample was retained only once.
[0029] Furthermore, the step 4 is specifically as follows:
[0030] Download the drug sensitivity matrix, which contains the reaction pairs between drugs and samples; construct a bipartite graph of the drug sensitivity matrix drug =(V drug ,E drug ), where V drug is a collection of drugs, E drug is a set of drug-sample reactions; the reaction pairs in the bipartite graph of the drug sensitivity matrix are associated with the samples in the bipartite graph of the omics data; the edge E drug From the sparse matrix M′ drug Direct construction, only retaining the edges corresponding to non-zero elements.
[0031] Furthermore, the step 5 is specifically as follows:
[0032] The gene interaction network in the GDSC database is introduced, which contains the interaction relationship between different genes; a bipartite graph is constructed interact =(V genes ,E interact ), where V genes is a collection of genes, E interact is the set of interactions between genes; in a bipartite graph, the edges between genes represent the interaction relationship between them; the edge E interact From the sparse matrix M′ interact Direct construction, only retaining the edges corresponding to non-zero elements.
[0033] Furthermore, the step 6 is specifically as follows:
[0034] By associating nodes in different networks, a drug knowledge graph is constructed; entities include samples, genes, and drugs, and relationships include different types of mutations, gene interactions, and drug responses; the drug response knowledge graph is represented as k now l e d ge :
[0035] knowledge =(V knowledge ,E knowledge )(1)
[0036] in,
[0037] V knowledge =V all ∪V drug (2)
[0038] Edge E knowledge From E all 、E drug and E interact The merged dataset is constructed by ensuring that only one edge between each sample, gene, and drug is retained.
[0039] E knowledge =E all ∪E drug ∪E interact (3).
[0040] Furthermore, the step 7 is specifically as follows:
[0041] Learn a unique mapping matrix for each entity and relation of the constructed drug response knowledge graph; let M rh 、M rt are the mapping matrices of entities h and t, respectively,m×n is the identity matrix:
[0042]
[0043] Among them, h p ,t p and relationship p is the projection vector, h ⊥ , t ⊥ They are the projection vectors of the head and tail entities respectively:
[0044] h ⊥ =M rh h(6)
[0045] t ⊥ =M rt t(7)
[0046] The score function is:
[0047]
[0048] The objective function is:
[0049]
[0050] If there is n t triples, using (h i ,r i ,t i )(i=1,2,…,n t ) represents the i-th triple, each triple has a label yi indicating the positive or negative nature of the triple: positive triple Δ=(h j ,r j ,t j )|y i =1; negative triplet Δ′={(h j ,r j ,t j )|y j =0};
[0051] Δ′={(h l ,r k ,t k )|h l ≠h k ∧y k =1}∪{(h k ,r k ,t l )|t l ≠t k ∧y k =1}
[0052] where γ is the interval distance hyperparameter, [x]+ represents a positive function, that is, when x>0, [x] + =x; when x≤0, [x] + = 0. The tail entity vector of the positive triplet is closer to the sum of the head entity vector and the relationship vector; conversely, the tail entity vector of the negative triplet is farther away from the sum of the head entity vector and the relationship vector; based on this, in the process of optimizing the objective function L, L is minimized, so that the value of the positive triplet is small and the value of the negative triplet is large.
[0053] Furthermore, the step 8 is specifically as follows:
[0054] Given a new triple, where the head entity h and relation r are known, and the tail entity t′ is unknown; get all candidate tail entities t related to the known head entity and relation from the knowledge graph; these candidate tail entities are inferred based on the existing triples in the knowledge graph; for each candidate tail entity, calculate its score with the head entity and relation:
[0055] f r (h,t)=-||M rh h+r re t|| 2 (10)
[0056] Among them, M re is the mapping matrix of candidate tail entities t, sorts the candidate tail entities according to the scores, and selects the top n entities with the highest scores as the predicted tail entity; if does exist in the knowledge graph, then will be confirmed as a valid new triple and added to the knowledge graph; on the contrary, if does not exist in the knowledge graph and will not be Added as a new triple.
[0057] The beneficial effects of the present invention are as follows:
[0058] 1) In response to the explainable needs of doctors and patients for medical auxiliary diagnosis, the knowledge mined from GDSC will be constructed into a highly explainable knowledge graph based on the relationships between them, so as to build the trust and acceptance of doctors and patients. In addition, for wrong recommendations or decisions, explainability can help doctors diagnose the causes of the errors and take measures to correct them.
[0059] 2) The entities and relationships in the constructed anti-cancer drug knowledge graph are embedded into a low-dimensional continuous vector space through a dynamic mapping matrix and the knowledge graph is completed, so that it can discover potential associations in the knowledge graph and infer new facts based on the existing facts in the knowledge graph, thereby expanding the scale of the knowledge graph, effectively solving the problem of data sparsity, and helping to discover new drug mechanisms of action and achieve efficient anti-cancer drug repositioning. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Figure 1 The figure is a flow chart of the method of the present invention.
[0061] Figure 2 Schematic diagram of the knowledge graph embedding principle of the present invention.
[0062] Figure 3 This is the ROC curve of the four knowledge graph embedding methods in the embodiment of the present invention for the same cancer cell in knowledge graph completion in a five-fold cross validation. DETAILED DESCRIPTION
[0063] The present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0064] The present invention discloses a method for dynamically mapping and embedding anticancer drug knowledge graphs based on cancer omics, which mainly solves the problem of how to convert data matrices related to anticancer drug sensitivity and genomics data into knowledge graph format and effectively solve the problem of data sparsity, and reveals the potential relationship between existing entities, discovers new drug action mechanisms, and realizes efficient anticancer drug repositioning to improve the performance of knowledge acquisition, fusion and reasoning. Specifically, the present invention focuses on the following three contributions:
[0065] 1) Mining knowledge entities and the relationships between entities from GDSC through sparse matrices and bipartite graphs, and constructing anticancer drug knowledge graphs in the form of entity and relationship triples, effectively solving the data sparsity problem, significantly reducing the demand for storage space, effectively reducing memory usage, and greatly improving computing efficiency;
[0066] 2) The entities and relationships in the constructed anti-cancer drug knowledge graph are embedded into a low-dimensional continuous vector space through a dynamic mapping matrix, which captures the interactions between them more finely, improves the embedding accuracy and the expressiveness of the model, and significantly enhances the performance of knowledge acquisition, fusion and reasoning.
[0067] 3) Use the existing factual knowledge in the knowledge graph to complete the knowledge graph, help discover potential associations in the knowledge graph, thereby expanding the scale of the knowledge graph, further solving the problem of data sparsity, and helping to discover new knowledge, revealing the potential relationships between entities, which will help discover new drug mechanisms and achieve efficient anti-cancer drug repositioning.
[0068] The present invention proposes a method for dynamically mapping and embedding anticancer drug knowledge graphs based on cancer omics, which mines relevant knowledge from GDSC, constructs a knowledge graph through sparse matrices and bipartite graphs, and further embeds its entities and relationships into a low-dimensional continuous vector space through knowledge graph dynamic mapping matrix embedding to provide a basis for interpretable diagnostic reasoning, and on this basis, completes the knowledge graph to reveal the potential relationship between entities, discover new drug action mechanisms, and achieve efficient anticancer drug repositioning. The technical solution for implementing the present invention includes the following steps:
[0069] 1: Represent the omics data with a sparse matrix. Download the data matrix from the GDSC database. Select mutation data, copy number variation data, and DNA hypermethylation data as genomic data. Convert the data matrix to a sparse matrix. Since GDSC datasets usually contain a large amount of gene expression data, these data can be very dense in matrix form. Using a sparse matrix representation, only non-zero elements can be stored, which significantly reduces the storage space requirements and effectively reduces memory usage, thereby supporting larger-scale data processing.
[0070] 2: Convert omics data into a bipartite graph. In a bipartite graph, nodes can be divided into two disjoint sets, so that there are no edges connecting nodes within the set, while nodes between sets can be connected to each other through edges. Each sparse matrix can be equivalent to a bipartite graph, where nodes are different samples or genes, and edges are aberrations related to the selected omics. The bipartite graph only stores non-zero elements, which significantly reduces the amount of computation. This feature makes the algorithm more concise and efficient when processing the embedding of dynamic mapping matrices of knowledge graphs.
[0071] 3: Integrating multi-type graphs. By associating the same samples and the same genes in different bipartite graphs, a heterogeneous bipartite graph containing two types of nodes but multiple types of edges can be integrated. The constructed heterogeneous bipartite graphs of different omics can be viewed as the format of a knowledge graph, where nodes (also called entities) are samples and genes, and multi-type edges (also called relationships) are different types of mutations in these omics.
[0072] 4: Integrate drug response data. Download the drug susceptibility matrix, which contains the reaction pairs between drugs and samples. After converting the drug susceptibility matrix into a sparse matrix, the known reaction pairs in the drug susceptibility sparse matrix can also be reformatted into a bipartite graph. The samples contained in the drug response data are the same as those in the omics data.
[0073] 5: Integrate gene interaction data. The gene interaction network in the GDSC database is introduced, which contains the interaction relationships between different genes. After converting the gene interaction matrix into a sparse matrix, a bipartite graph is constructed. In the bipartite graph, the edges between genes represent the interaction relationships between them.
[0074] 6: Construct a drug response knowledge graph. Through heterogeneous bipartite graphs, we can construct a drug knowledge graph whose entities include samples, genes, and drugs, and relationships include different types of mutations, gene interactions, and drug responses. The knowledge graph is highly interpretable, which helps to build trust and acceptance among doctors and patients. And for wrong recommendations or decisions, explainability can help doctors diagnose the cause of the error and take measures to correct it. In addition, the decision-making process of medical-related recommendation models needs to meet specific legal and ethical requirements, and explainability can help ensure that the model's decision-making process meets these requirements.
[0075] 7: Perform dynamic mapping matrix embedding of knowledge graph. By learning a unique mapping matrix for each entity and relationship, it can better handle one-to-many, many-to-one, and many-to-many complex relationships and capture the interactions between them more finely, thereby improving the accuracy of embedding and the expressiveness of the model.
[0076] 8: Perform knowledge graph completion. Using the existing factual knowledge in the knowledge graph to predict unknown or missing links between entities in the graph plays an important role in knowledge expansion and knowledge discovery. Knowledge graph completion can help discover potential associations in the knowledge graph, thereby expanding the scale of the knowledge graph; knowledge graph completion can help discover new knowledge, reveal potential relationships between entities, help discover new drug mechanisms of action, and efficiently achieve the repositioning of anti-cancer drugs.
[0077] Example:
[0078] Step 1: Represent the omics data with a sparse matrix. Select mutation data, copy number variation data, and DNA hypermethylation data from the GDSC database as genomic data, i.e., data matrix M, where M ij is the element in the matrix. The data matrix is represented by a sparse matrix, only the non-zero elements in the data matrix are retained, and their indexes are recorded. The sparse matrix is represented as M′=(I,J,V), where I is the row index of the non-zero element, J is the column index of the non-zero element, and V is the value of the non-zero element.
[0079] Step 2: Construct a bipartite graph of omics data. For each gene sparse matrix M′ i , construct a bipartite graph i =(V i ,E i ), where V i is the sample set, E i is a set of edges. In a bipartite graph, the edges between samples and genes represent variations or changes in the selected omics data. i From the sparse matrix M′ iDirectly construct, only retaining the edges corresponding to non-zero elements. i ={(i,j)|M ij ≠0}
[0080] Step 3: Integrate multiple types of graphs. Create a collection containing all bipartite graphs for Every bipartite graph in i , associate the same samples and genes to form a heterogeneous bipartite graph Edge E all From each bipartite graph edge E i The merge is done to ensure that only one edge between each sample and gene is retained.
[0081] Step 4: Integrate drug response data. Download the drug sensitivity matrix, which contains the reaction pairs between drugs and samples. Construct a bipartite graph of the drug sensitivity matrix. drug =(V drug ,E drug ), where V drug is a collection of drugs, E drug is the set of drug-sample reactions. The reaction pairs in the bipartite graph of the drug sensitivity matrix are associated with the samples in the bipartite graph of the omics data. drug From the sparse matrix M′ drug Direct construction, only retaining the edges corresponding to non-zero elements.
[0082] Step 5: Integrate gene interaction data. Introduce the gene interaction network in the GDSC database, which contains the interaction relationships between different genes. Construct a bipartite graph interact =(V genes ,E interact ), where V genes is a collection of genes, E interact is the set of interactions between genes. In a bipartite graph, the edges between genes represent the interaction relationship between them. interact From the sparse matrix M′ interact Direct construction, only retaining the edges corresponding to non-zero elements.
[0083] Step 6: Construct a drug response knowledge graph. By associating nodes in different networks, we can construct a drug knowledge graph. Entities include samples, genes, and drugs, and relationships include different types of mutations, gene interactions, and drug responses. The drug response knowledge graph can be represented as knowledge :
[0084] knowledge =(V knowledge ,E knowledge )(1)
[0085] in,
[0086] V knowledge =V all ∪V drug (2)
[0087] Edge E knowledge From E all , E drug and E interact The merged dataset is constructed by ensuring that only one edge between each sample, gene, and drug is retained.
[0088] E knowledge =E all ∪E drug ∪E interact (3)
[0089] Step 7: Perform knowledge graph dynamic mapping matrix embedding. Learn a unique mapping matrix for each entity and relationship of the constructed drug response knowledge graph to better handle one-to-many, many-to-one, and many-to-many complex relationships. rh , M rt are the mapping matrices of entities h and t, respectively. m×n is the identity matrix,
[0090]
[0091] Among them, h p ,t p and relationship p is the projection vector, h ⊥ , t ⊥ They are the projection vectors of the head and tail entities respectively:
[0092] h ⊥ =M rh h (6)
[0093] t ⊥ =M rt t (7)
[0094] The score function of this method is:
[0095]
[0096] The objective function of this method is:
[0097]
[0098] Where S is the positive triplet, S′ is the negative triplet obtained by replacing h or t. γ is the interval distance hyperparameter, [x] + represents a positive function, that is, when x>0, [x] +=x; when x≤0, [x] + = 0. The tail entity vector of the positive triple should be closer to the sum of the head entity vector and the relation vector; conversely, the tail entity vector of the negative triple should be farther away from the sum of the head entity vector and the relation vector. Based on this, in the process of optimizing the objective function L, L is minimized, so that the value of the positive triple is small and the value of the negative triple is large.
[0099] Step 8: Perform knowledge graph completion. Given a new triple, where the head entity h and relation r are known, and the tail entity t′ is unknown. Get all candidate tail entities t related to the known head entity and relation from the knowledge graph. These candidate tail entities are inferred based on the existing triples in the knowledge graph. For each candidate tail entity, calculate its score with the head entity and relation:
[0100] f r (h,t)=-||M rh h+r re t|| 2 (10)
[0101] Among them, M re is the mapping matrix of candidate tail entities t. The candidate tail entities are sorted according to the scores, and the top n entities with the highest scores are selected (n is determined by the user, and it is recommended that n be an integer between 10 and 50). As the predicted tail entity. By accurately comparing the predicted tail entity with the actual tail entity in the knowledge graph, we can ensure that the newly discovered triples Has real value in the knowledge graph. does exist in the knowledge graph, then will be confirmed as a valid new triple and safely added to the vast system of knowledge graph. does not exist in the knowledge graph, we will not As new triples, this rigorous screening process ensures that only true and reliable information is included in the knowledge graph, avoiding the appearance of errors and redundant data, and ensuring the efficiency and accuracy of the knowledge graph. These newly added triples can reveal the potential relationships between entities, discover possible new drug mechanisms, and help determine which cancer cell lines the drug may be effective for, thereby achieving efficient anti-cancer drug repositioning.
Claims
1. A method for dynamic mapping and embedding of anticancer drug knowledge graph based on canceromics, characterized in that: The steps include: Step 1: Represent the omics data with a sparse matrix; Download the data matrix from the GDSC database; select mutation data, copy number variation data, and DNA hypermethylation data as genomic data; convert the data matrix into a sparse matrix; Step 2: Convert omics data into a bipartite graph; In a bipartite graph, nodes are divided into two disjoint sets, so that nodes within a set are not connected by edges, while nodes between sets are connected by edges; each sparse matrix is equivalent to a bipartite graph, where nodes are different samples or genes, and edges are aberrations related to the selected omics; Step 3: Integrate multiple types of graphs; By associating the same samples and the same genes in different bipartite graphs, a heterogeneous bipartite graph containing two types of nodes but multiple types of edges is integrated; where the nodes, i.e., entities, are samples and genes, and the multiple types of edges, i.e., relationships, are different types of mutations in these omics; Step 4: Integrate drug response data; Download the drug sensitivity matrix, which contains the reaction pairs between drugs and samples; after converting the drug sensitivity matrix into a sparse matrix, the known reaction pairs in the drug sensitivity sparse matrix are reformatted into a bipartite graph, and the samples contained in the drug response data are the same as those in the omics data; Step 5: Integrate gene interaction data; The gene interaction network in the GDSC database is introduced, which contains the interaction relationship between different genes; after converting the gene interaction matrix into a sparse matrix, a bipartite graph is constructed; in the bipartite graph, the edges between genes represent the interaction relationship between them; Step 6: Construct drug response knowledge graph; Through heterogeneous bipartite graphs, a drug knowledge graph is constructed, whose entities include samples, genes, and drugs; and relationships include different types of mutations, gene interactions, and drug responses; Step 7: Perform knowledge graph dynamic mapping matrix embedding; Learn a mapping matrix for each entity and relation; Step 8: Complete the knowledge graph; Leverage existing factual knowledge in the knowledge graph to predict unknown or missing links between entities in the graph.
2. According to claim 1, a method for dynamically mapping and embedding anticancer drug knowledge graph based on cancer omics, characterized in that: The step 1 is specifically as follows: From the GDSC database, mutation data, copy number variation data, and DNA hypermethylation data are selected as genomic data, i.e., data matrix M, M ij is an element in the matrix M; the data matrix is represented by a sparse matrix, only the non-zero elements in the data matrix are retained, and their indices are recorded; The sparse matrix is represented as M′=(I, J, V), where I is the row index of the non-zero element, J is the column index of the non-zero element, and V is the value of the non-zero element.
3. According to claim 2, a method for dynamically mapping and embedding anticancer drug knowledge graph based on cancer omics, characterized in that: The step 2 is specifically as follows: For each gene sparse matrix M′ i , construct a bipartite graph i =(V i ,E i ), where V i is the sample set, E i is a set of edges; in a bipartite graph, the edges between samples and genes represent variations or changes in the selected omics data; the edge E i From the sparse matrix M′ i Directly construct, only retain the edges corresponding to non-zero elements, E i ={(i,j)|M ij ≠0}.
4. According to claim 3, a method for dynamically mapping and embedding anticancer drug knowledge graph based on cancer omics, characterized in that: The step 3 is specifically as follows: Create a set of all bipartite graphs for Every bipartite graph in i , associate the same samples and genes to form a heterogeneous bipartite graph Edge E all From each bipartite graph edge E i Merge to ensure that only one edge between each sample and gene is retained; V all From each bipartite graph sample V i The merged data were then combined to ensure that each sample was retained only once.
5. According to claim 4, a method for dynamically mapping and embedding anticancer drug knowledge graph based on cancer omics, characterized in that: The step 4 is specifically as follows: Download the drug sensitivity matrix, which contains the reaction pairs between drugs and samples; construct a bipartite graph of the drug sensitivity matrix drug =(V drug ,E drug ), where V drug is a collection of drugs, E drug is a set of drug-sample reactions; the reaction pairs in the bipartite graph of the drug sensitivity matrix are associated with the samples in the bipartite graph of the omics data; the edge E drug From the sparse matrix M′ drug Direct construction, only retaining the edges corresponding to non-zero elements.
6. The method for dynamically mapping and embedding anticancer drug knowledge graph based on canceromics according to claim 5, characterized in that: The step 5 is specifically as follows: The gene interaction network in the GDSC database is introduced, which contains the interaction relationship between different genes; a bipartite graph is constructed interact =(V genes ,E interact ), where V genes is a collection of genes, E interact is the set of interactions between genes; in a bipartite graph, the edges between genes represent the interaction relationship between them; the edge E interact From the sparse matrix M′ interact Direct construction, only retaining the edges corresponding to non-zero elements.
7. The method for dynamically mapping and embedding anticancer drug knowledge graph based on cancer omics according to claim 6, characterized in that: The step 6 is specifically as follows: By associating nodes in different networks, a drug knowledge graph is constructed; entities include samples, genes, and drugs, and relationships include different types of mutations, gene interactions, and drug responses; the drug response knowledge graph is represented as knowledge: knowledge=(V knowledge ,E knowledge ) (1) in, V knowledge =V all ∪V drug (2) Edge E knowledge From E all 、E drug and E interact The merged one ensures that only one edge between each sample, gene and drug is retained; AND knowledge =And all ∪E drug ∪E interact (3)。 8. The method for dynamically mapping and embedding anticancer drug knowledge graph based on canceromics according to claim 7, characterized in that: The step 7 is specifically as follows: Learn a unique mapping matrix for each entity and relation of the constructed drug response knowledge graph; let M rh 、M rt are the mapping matrices of entities h and t, respectively, m×n is the identity matrix: Among them, h p ,t p and relationship p is the projection vector, h ⊥ , t ⊥ They are the projection vectors of the head and tail entities respectively: h ⊥ =M rh h (6) t ⊥ =M rt t (7) The score function is: The objective function is: If there is n t triples, using (h i ,r i ,t i )(i=1,2,…,n t ) represents the i-th triple, each triple has a label yi indicating the positive or negative nature of the triple: positive triple Δ=(h j ,r j ,t j )|y j =1; negative triplet Δ′={(h j ,r j ,t j )|y j =0}; Δ′={(h l ,r k ,t k )|h l ≠h k ∧y k =1}∪{(h k ,r k ,t l )|t l ≠t k ∧y k =1} where γ is the interval distance hyperparameter, [x] + represents a positive function, that is, when x>0, [x] + =x; when x≤0, [x] + =0; the tail entity vector of the positive triplet is closer to the sum of the head entity vector and the relationship vector; conversely, the tail entity vector of the negative triplet is farther away from the sum of the head entity vector and the relationship vector; based on this, in the process of optimizing the objective function L, L is minimized so that the value of the positive triplet is small and the value of the negative triplet is large.
9. The method for dynamically mapping and embedding anticancer drug knowledge graph based on canceromics according to claim 8, characterized in that: The step 8 is specifically as follows: Given a new triple, where the head entity h and relation r are known, and the tail entity t′ is unknown; get all candidate tail entities t related to the known head entity and relation from the knowledge graph; these candidate tail entities are inferred based on the existing triples in the knowledge graph; for each candidate tail entity, calculate its score with the head entity and relation: f r (h,t)=-||M rh h+r-M re t|| 2 (10) Among them, M re is the mapping matrix of candidate tail entities t, sorts the candidate tail entities according to the scores, and selects the top n entities with the highest scores as the predicted tail entity; if does exist in the knowledge graph, then will be confirmed as a valid new triple and added to the knowledge graph; on the contrary, if does not exist in the knowledge graph and will not be Added as a new triple.
