Picture generation method and system based on mutation data and cancer metastasis prediction method

By constructing pathway images and patient feature images, and using convolutional neural networks to convert mutation data into specialized feature images, the problem of low cancer metastasis prediction accuracy in the existing technology is solved, and a more accurate cancer metastasis assessment is achieved.

CN118866263AActive Publication Date: 2024-10-29HARBIN INST OF TECH
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410808324.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-10-29
Estimated Expiration
2044-06-21

AI Technical Summary

Technical Problem

Existing mutation-based cancer metastasis prediction methods have low accuracy and cannot provide doctors with fast, accurate and reliable assistance. They lack high-performance methods for generating patient characteristic pictures based on single nucleotide variations.

Method used

By constructing pathway images and patient feature images, a convolutional neural network is used to convert mutation data into specialized feature images for cancer metastasis prediction. Combined with biological knowledge, patient feature images are generated and the prediction model is trained.

Benefits of technology

It improves the accuracy and professionalism of cancer metastasis prediction, allowing doctors and scientific researchers to more accurately assess patients' cancer metastasis and provide more reliable auxiliary diagnosis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118866263A_ABST
    Figure CN118866263A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of picture processing, and particularly relates to a picture generation method and system based on mutation data and a cancer metastasis prediction method. The method comprises the following steps of: 1, constructing a channel image by utilizing functional similarity of a channel on a gene interaction network; 2, constructing a patient feature image; the prediction method further comprises the steps that a prediction model is trained through the constructed patient feature image, and mutation data transfer prediction is conducted through the trained prediction model. The method and the device are used for solving the problem of lack of high-performance generation-based patient feature picture generation based on single nucleotide variation and the technical problem of cancer metastasis prediction and judgment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of image processing, and in particular relates to an image generation method and generation system based on mutation data, and a cancer metastasis prediction method. Background Art

[0002] Clinicians and researchers mainly use imaging images, mRNA expression profiles, microRNA expression profiles and DNA methylation to predict and determine cancer metastasis. Compared with imaging images, mRNA expression profiles, microRNA expression profiles and DNA methylation numbers, somatic mutation profiles contain the earliest warning information of cancer progression. However, to date, there is still a lack of high-performance cancer metastasis prediction and determination methods based on mutations. The existing cancer metastasis prediction and determination methods based on mutations have low accuracy and cannot provide doctors with fast, accurate and reliable assistance. Therefore, the present invention provides a cancer metastasis prediction method based on convolutional neural networks. Clinicians can use the newly designed prediction method to judge the cancer metastasis status based on pictures. Summary of the invention

[0003] The present invention provides a method for generating an image based on mutation data, a generating system and a method for predicting cancer metastasis, so as to solve the problem of lacking high-performance generation of generative patient characteristic images based on single nucleotide variations, and the technical problem of predicting and determining cancer metastasis.

[0004] The present invention is achieved through the following technical solutions:

[0005] A method for generating an image based on mutation data, the method comprising the following steps:

[0006] Step 1: Construct pathway images using the functional similarity of pathways on gene interaction networks;

[0007] Step 2: Generate a patient feature image based on the pathway image in step 1.

[0008] Furthermore, the step 1 specifically includes the following steps:

[0009] Step 1: Expand biological pathways on HumanNet;

[0010] Step 1 and 2: Calculate the similarity of biological pathways on HumanNet;

[0011] Step 13: Construct pathway image using similarity matrix;

[0012] Step 14: compress the pathway image;

[0013] Step 15: Normalize the pathway image.

[0014] Furthermore, the steps are specifically as follows: using formula (1) to propagate the influence of genes within the pathway along the HumanNet network;

[0015]

[0016] in, A is the weighted adjacency matrix of HumanNet, and the weights of the HumanNet network are the LLS of gene pairs; D is a diagonal matrix, and the elements on its diagonal are the sum of rows or columns of matrix A; α represents the restart probability, α∈[0.5,1); Ro is a pathway-gene binary matrix, whose rows represent pathways and whose columns are genes in the HumanNet network; P is the pathway set; P={p1,...,p i , ..., p N}, N is the number of channels; p i represents the i-th path; g j Represents the jth gene in the HumanNet network;

[0017] If path p i There is also gene g j ,but is 1; otherwise, is 0;

[0018] When t = 0, R t =R0; R t+1 is the pathway-gene matrix at time t+1;

[0019] Iterate formula (1) until ||R t+1 -R t || F ≤1×10 -6 ; After convergence, R t+1 Denoted as R;

[0020] When the iteration is finished, expand each path; extract path p from R i The corresponding row vector r i , r i The element values ​​corresponding to the external genes in the middle pathway are arranged in descending order, and the pathway genes corresponding to the first δ elements are regarded as genes for pathway expansion.

[0021] Furthermore, the steps one and two are specifically as follows:

[0022]

[0023] Where Ps is the N×N pathway similarity matrix; N is the number of pathways; Ps i,j Indicates the path p i and p j Similarity score of G(pi ) and G(p j ) represent the pathway p i and p j The gene set m represents path p i The number of genes in the pathway; n represents pathway p j The number of genes in the * Indicates p i or p j ; Indicates gene g t and pathway gene set G(p * )'s functional relationship score; LLS min and LLS max are the minimum and maximum LLS values ​​in the HumanNet network; LLS′(g t , g k ) is the normalized LLS(g t , g k ); Fss(g t , g k ) indicates gene g t and g k The functional similarity score.

[0024] Furthermore, the step 1-3 is specifically to convert the path similarity matrix into a path distance matrix using formula (6);

[0025]

[0026] Input the pathway distance matrix into t-SNE to obtain the two-dimensional coordinates of each pathway; construct the pathway image using the pathway coordinates; assume that pathway p i The two-dimensional coordinates of i ,y i ); x i ∈[x down , x up ],y i ∈[y down ,y up ]; x down and x up Respectively represent the integer lower and upper boundaries of the path coordinates on the X axis; y down and up They represent the integer lower and upper boundaries of the pathway coordinates on the Y axis, respectively; The path distribution is from point A(x down ,y down )、B(x up ,y down )、C(x up ,yup ) and D(x down ,y up ) in a rectangle Rect; the rectangle Rect is divided into rectangles composed of small squares with a side length of β; the pathways are distributed in the Rect and also distributed on many small squares; according to the number of pathways on the small squares, the small squares are divided into three categories, namely squares without pathways, squares with one pathway and squares with no less than two pathways; multiple pathways gathered in a square are merged into a new pathway; the gene set of the new pathway is the union of the original pathway gene set; each small square in the rectangle Rect is taken as a pixel point, the small square containing the pathway is called a pathway pixel point, and the small square without the pathway is called a non-pathway pixel point, so as to obtain a pathway image.

[0027] Furthermore, the step 2 specifically includes the following steps:

[0028] Step 21: According to formula (10), the weights of genes under different phenotypes are calculated using the somatic mutation data and clinical data of the training set;

[0029]

[0030] Among them, T j,j=0,1,...,n-1 represents tumor phenotype; n is the number of tumor phenotypes, n ≥ 2; w is the gene-phenotype weight matrix; w i,j For gene g i In phenotype T j The weight under i ) are all the existing genes g i The number of mutated tumor phenotypes, It is phenotype T j Next gene g i The total number of mutations; It is phenotype T j The maximum total number of mutations in the following genes;

[0031] Step 22: Calculate the weight distribution of the patient's mutant gene on the pathway under each phenotype;

[0032] Specifically, assuming that G(pa k ) for patients pa k The mutant gene set u is the number of mutated genes; w is the number of mutated genes; ij For gene g i In phenotype T j The weight under; P' is the path set on the path image, P' = {p1, ..., p l , ..., p N′}, N′ is the number of paths; G(p l ) represents the path p lThe gene set v is the path p l The number of genes in the k , p l ) is G(pa k ) and G(p l ), t is G(pa k , p l ) The number of genes in D j For phenotype T j The weight distribution vector of the mutant gene of patient pa in each pathway; D j =(d j1 , ..., d jl , ..., d jN′ );d jl For phenotype T j The mutant gene of patient pa is in pathway p l The weight distribution value on satisfies:

[0033]

[0034] Step 23: Convert the weight distribution vector under each phenotype into a weight distribution matrix according to the position of the pathway on the pathway image;

[0035] Specifically, the phenotype T j The weight distribution under is mapped to the path image respectively, and the weight distribution matrix D is obtained; Assume: md j The mutation data for patient pa in phenotype T j The weight distribution matrix under ; For md j The element in row u and column v in satisfies:

[0036]

[0037] Among them, Im is the path image, Im u,v is the pixel at row u and column v;

[0038] Step 24: splicing the weight distribution matrix under each phenotype to form the patient feature image;

[0039] Specifically, assuming that Md is the characteristic image of patient pa, Md = (md 1 ,md 2 , ..., md n ).

[0040] A cancer metastasis prediction method based on mutation data images, the prediction method uses the above-mentioned image generation method, including using the constructed patient feature image to train a prediction model, and using the trained prediction model to predict mutation data metastasis; specifically, a convolutional neural network is selected as the prediction model.

[0041] A picture generation system based on mutation data, the prediction system uses the above-mentioned cancer metastasis prediction method based on convolutional neural network, the prediction system includes:

[0042] Pathway image construction module, which constructs pathway images using the functional similarity of pathways on gene interaction networks;

[0043] The patient characteristic image construction module constructs the patient characteristic image.

[0044] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the above method is implemented.

[0045] A computer-readable storage medium stores a computer program, and the computer program implements the above method when executed by a processor.

[0046] The beneficial effects of the present invention are:

[0047] The key to the cancer metastasis prediction method based on convolutional neural network of the present invention is to convert single nucleotide mutation data into patient feature images. Different from the feature images constructed using array data in the general field, patient feature images are self-defined, specialized, biological pathway-based and cancer metastasis prediction task-oriented feature images. The biological knowledge involved in constructing patient feature images is: although there are few common mutations between any two patients, mutations of patients with the same cancer phenotype may be clustered on similar biological pathways; the effects of mutant genes on different tumor phenotypes are different, and mutant genes under different phenotypes should have different weights. Because patient feature images integrate more biological knowledge, doctors and scientific researchers can evaluate patients' cancer metastasis more professionally and accurately. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 It is a flow chart of the method of the present invention.

[0049] Figure 2 It is a schematic diagram of the number of path pixel points in a path image constructed with different β structures according to the present invention.

[0050] Figure 3 It is a schematic diagram of the average accuracy of M-NET under different β values ​​of the present invention.

[0051] Figure 4 It is a schematic diagram of the average accuracy of M-NET of the present invention under different CNN architectures.

[0052] Figure 5 It is the mean of the results of the five methods including M-NET of the present invention under various evaluation indicators, where (A) is the input of RF, SVM, LR, P-NET and M-NET is SNV; (B) is the input of M-NET is SNVs, and the input of NBSS and P-NET is SNVs and CNVs. DETAILED DESCRIPTION

[0053] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0054] It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.

[0055] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, the singular forms "a", "an" and "the" are intended to include plural forms unless the context clearly indicates otherwise.

[0056] The following is attached to this application specification Figure 1-5 , the technical solutions in the embodiments of the present application are clearly and completely described. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.

[0057] In the following description, many specific details are set forth to facilitate a full understanding of the present application, but the present application may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present application. Therefore, the present application is not limited to the specific embodiments disclosed below.

[0058] Implementation Method 1

[0059] This embodiment provides a method for generating an image based on mutation data, and the prediction method includes the following steps:

[0060] Step 1: Construct pathway images using the functional similarity of pathways on gene interaction networks;

[0061] Furthermore, the step 1 specifically includes the following steps:

[0062] Step 1: Expand biological pathways on HumanNet (biomolecular network);

[0063] Step 1 and 2: Calculate the similarity of biological pathways on HumanNet;

[0064] Step 13: Construct pathway image using similarity matrix;

[0065] Step 14: compress the pathway image;

[0066] Step 15: Normalize the pathway image.

[0067] Furthermore, the steps are specifically as follows: using formula (1) to propagate the influence of genes within the pathway along the HumanNet network;

[0068]

[0069] in, A is the weighted adjacency matrix of HumanNet, and the weight of HumanNet network is the (log likelihood score) LLS of gene pairs; D is a diagonal matrix, and the elements on its diagonal are the sum of rows or columns of matrix A; α represents the restart probability, α∈[0.5,1); Ro is a pathway-gene binary matrix, whose rows represent pathways and whose columns are genes in HumanNet network; P is the pathway set; P={p1,...,p i , ..., p N}, N is the number of channels; p i represents the i-th path; g j Represents the jth gene in the HumanNet network;

[0070] If path p i There is also gene g j ,but is 1; otherwise, is 0;

[0071] When t = 0, R t =R0; R t+1 is the pathway-gene matrix at time t+1;

[0072] Iterate formula (1) until ||Rt+1 -R t || F ≤1×10 -6 ; After convergence, R t+1 Denoted as R;

[0073] When the iteration is finished, expand each path; extract path p from R i The corresponding row vector r i , r i The element values ​​corresponding to the external genes in the middle pathway are arranged in descending order, and the pathway genes corresponding to the first δ elements are regarded as genes for pathway expansion.

[0074] Furthermore, the steps one and two are specifically as follows:

[0075]

[0076] Where Ps is the N×N pathway similarity matrix; N is the number of pathways; Ps i,j Indicates the path p i and p j Similarity score of G(p i ) and G(p j ) represent the pathway p i and p j The gene set m represents path p i The number of genes in the pathway; n represents pathway p j The number of genes in the * Indicates p i or p j ; Indicates gene g t and pathway gene set G(p * )'s functional relationship score; LLS min and LLS max are the minimum and maximum LLS values ​​in the HumanNet network; LLS′(g t , g k ) is the normalized LLS(g t , g k ); Fss(g t , g k ) indicates gene g t and g k The functional similarity score.

[0077] Furthermore, the step 1-3 is specifically to convert the path similarity matrix into a path distance matrix using formula (6);

[0078]

[0079] Input the pathway distance matrix into t-SNE to obtain the two-dimensional coordinates of each pathway; construct the pathway image using the pathway coordinates; assume that pathway p i The two-dimensional coordinates of i ,y i ); x i ∈[x down , x up ],y i ∈[y down ,y up ]; x down and x up Respectively represent the integer lower and upper boundaries of the path coordinates on the X axis; y down and up They represent the integer lower and upper boundaries of the pathway coordinates on the Y axis, respectively; The path distribution is from point A(x down ,y down )、B(x up ,y down )、C(x up ,y up ) and D(x down ,y up ) in a rectangle Rect; divide the rectangle Rect into rectangles composed of small squares with a side length of β; the pathways are distributed in the Rect and also on many small squares; according to the number of pathways on the small squares, the small squares are divided into three categories, namely squares without pathways, squares with one pathway and squares with no less than two pathways; multiple pathways gathered in a square are merged into a new pathway; the gene set of the new pathway is the union of the original pathway gene set; each small square in the rectangle Rect is taken as a pixel point, the small square containing the pathway is called the pathway pixel point, and the small square without the pathway is called the non-pathway pixel point, and the pathway image can be obtained.

[0080] Step 14: Compress the pathway image.

[0081] First, delete the rows and columns that do not contain path pixels in the path image, and then iterate and perform multiple rounds of row and column compression until the image cannot be compressed. During the iteration process, if the number of rows in the path image is greater than the number of columns, perform "row compression"; otherwise, perform "column compression". Row (column) compression mainly refers to moving the movable path pixels one row (column) forward layer by layer from the second row (column) to the last row (column) of the image. Let Im be an m×n path image. Im i,j is the pixel in the i-th row and j-th column of Im. The main operation of compressing from the i-th row to the il-th row is:

[0082] 1) Find the set of path pixels S in the i-th row, 1≤j1<j2<...<j u ≤n. ​​The path pixels in the set S can be divided into path pixels that can be moved forward and path pixels that cannot be moved forward. The path pixels that cannot be moved forward can be further divided into direct path pixels that cannot be moved forward and indirect path pixels that cannot be moved forward. Direct path pixels that cannot be moved forward refer to path pixels that have path pixels in the forward direction of the path pixels. If Im i,j ,Im i-1,j are all path pixels, then Im i,j is a direct path pixel that cannot be moved forward. A path pixel that is no more than K away from a direct path pixel that cannot be moved forward is an indirect path pixel that cannot be moved forward. A path pixel that is no more than K away from an indirect path pixel that cannot be moved forward is also an indirect path pixel that cannot be moved forward. Use queue knowledge to find the path pixel points in S that can be moved forward. The specific process is:

[0083] Let Label be a u-dimensional zero vector. Label is used to record the labels of elements in S. If the path pixel can be moved forward, its label value is 0; otherwise, the label value is 1. The elements in Label correspond to the elements in S one by one. Q represents the queue. First, find the path pixel set S that cannot be moved forward directly from S. a .like All path pixel points in S are path element points that can be moved forward. h1<h2<...<h v ≤u. a The label value corresponding to the element in is set to 1, that is, Label([h1, h2, ..., h v ])=1. a The elements are put into queue Q in sequence. The first element is removed from the queue. Find the path pixel set S that is no more than K pixels away from the first element b .like 1≤r1<r2<...<r e ≤u. b The label value corresponding to the element in is set to 1, that is, Label([r1, r2, ..., r e ])=1. b The elements in the queue are put into the queue Q in sequence. The above dequeue and enqueue operations are performed until the queue is empty. The path pixels with label value 0 are moved forward.

[0084] 2) When the path pixel moves forward and there is no path pixel in the row, the row is deleted.

[0085] Step 15: Normalize the pathway image.

[0086] Assume that the size of the compressed path image is M×L. Expand the image to an H×H image. In the expanded image, the path image before expansion is located at the center of the image, and the rest is filled with non-path pixels. H satisfies:

[0087] H=min(2 i , 3×2 i-1 ) (7)

[0088] 2 i ≥max(M,L) (8)

[0089] 3×2 i-1 ≥max(M,L) (9)

[0090] Wherein, i is a positive integer.

[0091] Step 2: Generate a patient feature image based on the pathway image in step 1;

[0092] Furthermore, the step 2 specifically includes the following steps:

[0093] Step 21: According to formula (10), the weights of genes under different phenotypes are calculated using the somatic mutation data and clinical data of the training set;

[0094]

[0095] Among them, T j,j=0,1,...,n-1 represents tumor phenotype; n is the number of tumor phenotypes, n ≥ 2; w is the gene-phenotype weight matrix; w i,j For gene g i In phenotype T j The weight under i ) are all the existing genes g i The number of mutated tumor phenotypes, It is phenotype T j Next gene g i The total number of mutations; It is phenotype T j The maximum total number of mutations in the following genes;

[0096] Step 22: Calculate the weight distribution of the patient's mutant gene on the pathway under each phenotype;

[0097] Specifically, assuming that G(pa k ) for patients pa k The mutant gene set u is the number of mutated genes; w is the number of mutated genes; ij For gene g i In phenotype T j The weight under; P' is the path set on the path image, P' = {p1, ..., p l, ..., p N′}, N′ is the number of paths; G(p l ) represents the path p l The gene set v is the path p l The number of genes in the k , p l ) is G(pa k ) and G(p l ), t is G(pa k , p l ) The number of genes in D j For phenotype T j The weight distribution vector of the mutant gene of patient pa in each pathway; D j =(d j1 , ..., d jl , ..., d jN′ );d jl For phenotype T j The mutant gene of patient pa is in pathway p l The weight distribution value on satisfies:

[0098]

[0099] Step 23: Convert the weight distribution vector under each phenotype into a weight distribution matrix according to the position of the pathway on the pathway image;

[0100] Specifically, the phenotype T j The weight distribution under is mapped to the path image respectively, and the weight distribution matrix is ​​obtained.

[0101] D; Assumption: md j The mutation data for patient pa in phenotype T j The weight distribution matrix under ; For md j The element in row u and column v in satisfies:

[0102]

[0103] Among them, Im is the path image, Im u,v is the pixel at row u and column v;

[0104] Step 24: splicing the weight distribution matrix under each phenotype to form the patient feature image;

[0105] Specifically, assuming that Md is the characteristic image of patient pa, Md = (md 1 ,md 2 , ..., md n ).

[0106] Furthermore, the step three specifically includes selecting a convolutional neural network (InceptionV2) as a prediction model.

[0107] Specifically, data preparation

[0108] The HumanNet interaction network was downloaded from the HumanNet V2 website. The HumanNet network consists of 17,929 genes and 525,537 gene pairs. Each gene pair corresponds to a log-likelihood score (LLS). 4,632 biological pathways containing genes were downloaded from the pathway databases PathwayCommons and KEGG. Somatic mutations and clinical data of prostate cancer were downloaded from the biological website cBioPortal. Prostate cancer data came from the projects TCGA-PRAD, Broad / Cornell, MCTP, and SU2C / PCF. The number of prostate cancer patients was 1,009. Among them, there were 534 patients with primary cancer and 475 patients with metastatic cancer. Detailed information on prostate cancer data is shown in Table 1.

[0109] Table 1 Detailed information on cancer data

[0110]

[0111] Comparison Method

[0112] The cancer metastasis prediction method based on convolutional neural network is referred to as M-NET. In order to verify the performance of M-NET, five other methods were executed, namely Random Forest, Support Vector Machine, Logistic Regression, NBSS and P-NET. Random Forest, Support Vector Machine and Logistic Regression are traditional machine learning algorithms; NBSS and P-NET are deep learning algorithms. RandomForestRegressor, SGDClassifier and LinearSVC in Python's sklearn package are used to implement Random Forest, Support Vector Machine and Logistic Regression. The codes of NBSS and P-NET can be downloaded from GitHub.

[0113] Evaluation indicators

[0114] The evaluation indicators of model performance include accuracy, precision, recall, F1-score, AUC area and AUPR area.

[0115] Experimental process and analysis

[0116] Perform 5 5-fold cross validations to train and test the model. In each 5-fold cross validation, 1 data set is used as the test set, and the remaining 4 data sets are divided into the training set and the validation set. The ratio of the training set to the validation set is 4:1. The training set and the validation set are used to determine the model's hyperparameters, such as the number of channels in the convolutional layer, the learning rate, the L2 penalty (also known as weight decay), and the momentum size. The test set is used to evaluate the performance of the model. When evaluating the performance of the model, the training set and the validation set are used to train the model. During the training process, the batch size is set to 50 and the epoch is set to 1000. If the model is not optimized after 200 iterations, the training is terminated early. The input of the InceptionV2 architecture is the H×H×2 patient feature image. When β is set to 0.03, H is 96. The output of InceptionV2 is the probability distribution of the primary type and the transfer type. The prediction result of the model is the phenotype with the highest probability. The weight initialization in the model uses xavier. Batch normalization is performed after each convolution operation. The loss function of the model is categorical cross entropy. The optimizer of the model is MomentumOptimizer. The default value of the optimizer parameter momentum is 0.9, the initial value of the learning rate is 0.01, and it decays by 0.00001 in each epoch. The parameter a in the pathway expansion process is 0.5 and 50 respectively.

[0117] The number of path pixels in the path image changes with the change of the side length β (e.g. Figure 2 The number of pathway pixels in the pathway image will affect the performance of the model. Multiple pathway images with different side lengths β were constructed. Based on these pathway images, patient feature images were constructed. M-NET was executed on the constructed patient feature images. The average accuracy of M-NET under different side lengths β is shown in Figure 3 As shown. Figure 3 It can be seen that when the edge length β is 0.03, the average precision of M-NET reaches the maximum, which is 0.852. Therefore, the edge length β is set to 0.03.

[0118] Implementation Method 2

[0119] This embodiment provides a cancer metastasis prediction method based on mutation data images. The prediction method uses the image generation method described in the first embodiment, including training a prediction model using a constructed patient feature image, and predicting mutation data metastasis using the trained prediction model; specifically, a convolutional neural network is selected as the prediction model.

[0120] Specifically, Figure 2 , 3As shown in Figure 2, when the CNN architecture changes, the model performance changes. The performance of M-NET under four CNN architectures, namely VGG19, InceptionV1, InceptionV2, and InceptionV3[1, is compared. The average accuracy of M-NET under different CNN architectures is shown in Figure 2. Figure 4 As shown. M-NET(InceptionV1), M-NET(InceptionV2), and M-NET(InceptionV3) outperform M-NET(VGG19). M-NET(InceptionV2) and M-NET(InceptionV3) outperform M-NET(InceptionV1). M-NET(InceptionV2) is not significantly worse than M-NET(InceptionV3). Based on these results, the InceptionV2 architecture was selected in this method. M-NET(InceptionV1), M-NET(InceptionV2), and M-NET(InceptionV3) all have better performance, indicating that the CNN architecture used in this study can be replaced with other high-performance CNN architectures.

[0121] like Figure 4 As shown in Figure 1, the performance comparison of M-NET and similar methods. First, M-NET, RF, SVM, P-NET and LR are performed on single nucleotide polymorphism data (SNV). The average results of M-NET and the other four methods under different evaluation indicators are shown in Figure 1. Figure 5 (A) M-NET significantly outperforms the other four methods, while P-NET is not significantly better than RF, SVM, and LR (see Figure 2 ). The reason for the poor performance of the classical machine learning algorithm may be the heterogeneity between mutation data, which makes it unable to extract key information from mutation data. Secondly, M-NET was performed on single nucleotide polymorphism data (SNV), and NBSS and P-NET were performed on SNV and copy number variation (CNV) data. The average results of M-NET and the other two methods under different evaluation indicators are shown in Figure 2. Figure 5 (B) Figure 5 (B) It can be seen that M-NET significantly outperforms the other two multi-omics methods, and P-NET outperforms NBSS. The reason why M-NET has better performance is that M-NET introduces appropriate prior biological knowledge, solves the problem of mutation heterogeneity, and adopts a high-performance CNN architecture.

[0122] Implementation Method 3

[0123] This embodiment provides a picture generation system based on mutation data, wherein the generation system uses a cancer metastasis prediction method based on a convolutional neural network as described in Embodiment 1, and the prediction system includes:

[0124] Pathway image construction module, which constructs pathway images using the functional similarity of pathways on gene interaction networks;

[0125] Furthermore, the working process of the pathway image construction module is specifically as follows:

[0126] Expand biological pathways on HumanNet (biomolecular network);

[0127] Compute the similarity of biological pathways on HumanNet;

[0128] Construct pathway images using similarity matrices;

[0129] Compressed pathway images;

[0130] Normalize pathway images.

[0131] Furthermore, the expansion of the biological pathway on HumanNet (biomolecular network) is specifically to propagate the influence of genes within the pathway along the HumanNet network using formula (1);

[0132]

[0133] in, A is the weighted adjacency matrix of HumanNet, and the weight of HumanNet network is the (log likelihood score) LLS of gene pairs; D is a diagonal matrix, and the elements on its diagonal are the sum of rows or columns of matrix A; α represents the restart probability, α∈[0.5,1); Ro is a pathway-gene binary matrix, whose rows represent pathways and whose columns are genes in HumanNet network; P is the pathway set; P={p1,...,p i , ..., p N}, N is the number of channels; p i represents the i-th path; g j Represents the jth gene in the HumanNet network;

[0134] If path p i There is also gene g j ,but is 1; otherwise, is 0;

[0135] When t = 0, R t =R0; R t+1 is the pathway-gene matrix at time t+1;

[0136] Iterate formula (1) until ||R t+1 -R t || F ≤1×10 -6 ; After convergence, R t+1 Denoted as R;

[0137] When the iteration is finished, expand each path; extract path p from R i The corresponding row vector r i , r i The element values ​​corresponding to the external genes in the middle pathway are arranged in descending order, and the pathway genes corresponding to the first δ elements are regarded as genes for pathway expansion.

[0138] Furthermore, the similarity of the computational biology pathway on HumanNet is specifically:

[0139]

[0140] Where Ps is the N×N pathway similarity matrix; N is the number of pathways; Ps i,j Indicates the path p i and p j Similarity score of G(p i ) and G(p j ) represent the pathway p i and p j The gene set m represents path p i The number of genes in the pathway; n represents pathway p j The number of genes in the * Indicates p i or p j ; Indicates gene g t and pathway gene set G(p * )'s functional relationship score; LLS min and LLS max are the minimum and maximum LLS values ​​in the HumanNet network; LLS′(g t , g k ) is the normalized LLS(g t , g k ); Fss(g t , g k ) indicates gene g t and g k The functional similarity score.

[0141] Furthermore, the construction of the pathway image using the similarity matrix specifically includes converting the pathway similarity matrix into a pathway distance matrix using formula (6);

[0142]

[0143] Input the pathway distance matrix into t-SNE to obtain the two-dimensional coordinates of each pathway; construct the pathway image using the pathway coordinates; assume that pathway p i The two-dimensional coordinates of i ,y i ); x i ∈[x down , x up ],y i ∈[y down ,y up ]; x down and x up Respectively represent the integer lower and upper boundaries of the path coordinates on the X axis; y down and up They represent the integer lower and upper boundaries of the pathway coordinates on the Y axis, respectively; The path distribution is from point A(x down ,y down )、B(x up ,y down )、C(x up ,y up ) and D(x down ,y up ) in a rectangle Rect; divide the rectangle Rect into rectangles composed of small squares with a side length of β; the pathways are distributed in the Rect and also on many small squares; according to the number of pathways on the small squares, the small squares are divided into three categories, namely squares without pathways, squares with one pathway and squares with no less than two pathways; multiple pathways gathered in a square are merged into a new pathway; the gene set of the new pathway is the union of the original pathway gene set; each small square in the rectangle Rect is taken as a pixel point, the small square containing the pathway is called the pathway pixel point, and the small square without the pathway is called the non-pathway pixel point, and the pathway image can be obtained.

[0144] Furthermore, the compression path image is specifically:

[0145] First, delete the rows and columns that do not contain path pixels in the path image, and then iterate and perform multiple rounds of row and column compression until the image cannot be compressed. During the iteration process, if the number of rows in the path image is greater than the number of columns, perform "row compression"; otherwise, perform "column compression". Row (column) compression mainly refers to moving the movable path pixels one row (column) forward layer by layer from the second row (column) to the last row (column) of the image. Let Im be an m×n path image. Im i,jis the pixel in the i-th row and j-th column of Im. The main operation of compressing from the i-th row to the i-1-th row is:

[0146] 1) Find the set of path pixels S in the i-th row, 1≤j1<j2<...<j u ≤n. ​​The path pixels in the set S can be divided into path pixels that can be moved forward and path pixels that cannot be moved forward. The path pixels that cannot be moved forward can be further divided into direct path pixels that cannot be moved forward and indirect path pixels that cannot be moved forward. Direct path pixels that cannot be moved forward refer to path pixels that have path pixels in the forward direction of the path pixels. If Im i,j ,Im i-1,j are all path pixels, then Im i,j is a direct path pixel that cannot be moved forward. A path pixel that is no more than K away from a direct path pixel that cannot be moved forward is an indirect path pixel that cannot be moved forward. A path pixel that is no more than K away from an indirect path pixel that cannot be moved forward is also an indirect path pixel that cannot be moved forward. Use queue knowledge to find the path pixel points in S that can be moved forward. The specific process is:

[0147] Let Label be a u-dimensional zero vector. Label is used to record the labels of elements in S. If the path pixel can be moved forward, its label value is 0; otherwise, the label value is 1. The elements in Label correspond to the elements in S one by one. Q represents the queue. First, find the path pixel set S that cannot be moved forward directly from S. a .like All path pixel points in S are path element points that can be moved forward. h1<h2<...<h v ≤u. a The label value corresponding to the element in is set to 1, that is, Label([h1, h2, ..., h v ])=1. a The elements are put into queue Q in sequence. The first element is removed from the queue. Find the path pixel set S that is no more than K pixels away from the first element b .like 1≤r1<r2<...<r e ≤u. b The label value corresponding to the element in is set to 1, that is, Label([r1, r2, ..., r e ])=1. b The elements in the queue are put into the queue Q in sequence. The above dequeue and enqueue operations are performed until the queue is empty. The path pixels with label value 0 are moved forward.

[0148] 2) When the path pixel moves forward and there is no path pixel in the row, the row is deleted.

[0149] Furthermore, the normalized pathway image is specifically:

[0150] Assume that the size of the compressed path image is M×L. Expand the image to an H×H image. In the expanded image, the path image before expansion is located at the center of the image, and the rest is filled with non-path pixels. H satisfies:

[0151] H=min(2 i , 3×2 i-1 ) (7)

[0152] 2 i ≥max(M,L) (8)

[0153] 3×2 i-1 ≥max(M,L) (9)

[0154] Wherein, i is a positive integer.

[0155] A patient characteristic image construction module is used to construct a patient characteristic image;

[0156] According to formula (10), the weights of genes under different phenotypes are calculated using the somatic mutation data and clinical data of the training set;

[0157]

[0158] Among them, T j,j=0,1,...,n-1 represents tumor phenotype; n is the number of tumor phenotypes, n ≥ 2; w is the gene-phenotype weight matrix; w i,j For gene g i In phenotype T j The weight under i ) are all the existing genes g i The number of mutated tumor phenotypes, It is phenotype T j Next gene g i The total number of mutations; It is phenotype T j The maximum total number of mutations in the following genes;

[0159] Calculate the weight distribution of the patient's mutant genes in the pathway under each phenotype;

[0160] Specifically, assuming that G(pa k ) for patients pa k The mutant gene set u is the number of mutated genes; w is the number of mutated genes; ij For gene g i In phenotype T j The weight under; P' is the path set on the path image, P' = {p1, ..., pl , ..., p N′}, N′ is the number of paths; G(p l ) represents the path p l The gene set v is the path p l The number of genes in the k , p l ) is G(pa k ) and G(p l ), t is G(pa k , p l ) The number of genes in D j For phenotype T j The weight distribution vector of the mutant gene of patient pa in each pathway; D j =(d j1 , ..., d jl , ..., d jN′ );d jl For phenotype T j The mutant gene of patient pa is in pathway p l The weight distribution value on satisfies:

[0161]

[0162] The weight distribution vector under each phenotype is converted into a weight distribution matrix according to the position of the pathway on the pathway image;

[0163] Specifically, the phenotype T j The weight distribution under is mapped to the path image respectively, and the weight distribution matrix D is obtained; Assume: md j The mutation data for patient pa in phenotype T j The weight distribution matrix under ; For md j The element in row u and column v in satisfies:

[0164]

[0165] Among them, Im is the path image, Im u,v is the pixel at row u and column v;

[0166] The weight distribution matrix under each phenotype is spliced ​​to form the patient feature image;

[0167] Specifically, assuming that Md is the characteristic image of patient pa, Md = (md 1 ,md 2 , ..., md n ).

[0168] Embodiment 4

[0169] This embodiment provides a cancer metastasis prediction system based on mutation data images, using the method described in Implementation Example 2, including a prediction module, wherein the prediction module uses the constructed patient feature image to train a prediction model, and uses the trained prediction model to predict mutation data metastasis; specifically, a convolutional neural network (InceptionV2) is selected as the prediction model.

[0170] Implementation Method 5

[0171] An embodiment of the present invention provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the memory is used to store software programs and modules, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory. The memory and the processor are connected via a bus. Specifically, the processor implements any step in the first embodiment above by running the computer program stored in the memory.

[0172] It should be understood that in the embodiments of the present invention, the processor may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0173] The memory may include a read-only memory, a flash memory, and a random access memory, and provides instructions and data to the processor. A part or all of the memory may also include a nonvolatile random access memory.

[0174] It should be understood that if the above-mentioned integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the present invention implements all or part of the processes in the above-mentioned implementation method, and can also be completed by instructing the relevant hardware through a computer program. The above-mentioned computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method implementations when executed by the processor. Among them, the above-mentioned computer program includes computer program code, and the above-mentioned computer program code can be in source code form, object code form, executable file or some intermediate form. The above-mentioned computer-readable medium may include: any entity or device capable of carrying the above-mentioned computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the above-mentioned computer-readable storage medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction.

[0175] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest range consistent with the principles and novel features disclosed herein.

[0176] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the above-mentioned device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the implementation method can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method implementation method, which will not be repeated here.

[0177] It should be noted that the methods and detailed examples provided in the above embodiments can be combined with the devices and equipment provided in the embodiments, and references can be made to each other, and no further details will be given.

[0178] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0179] In the embodiments provided by the present invention, it should be understood that the disclosed device / terminal equipment and method can be implemented in other ways. For example, the device / equipment implementation described above is only illustrative, for example, the division of the above modules or units is only a logical function division, and in actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0180] The above-mentioned embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them. Although the present invention has been described in detail with reference to the above-mentioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above-mentioned embodiments, or replace some of the technical features therein by equivalents. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. A method for generating an image based on mutation data, characterized in that: The picture generation method comprises the following steps: Step 1: Construct pathway images using the functional similarity of pathways on gene interaction networks; Step 2: Generate a patient feature image based on the pathway image in step 1.

2. The image generation method according to claim 1, characterized in that: The step 1 specifically includes the following steps: Step 1: Expand biological pathways on HumanNet; Step 1 and 2: Calculate the similarity of biological pathways on HumanNet; Step 13: Construct pathway image using similarity matrix; Step 14: compress the pathway image; Step 15: Normalize the pathway image.

3. The image generation method according to claim 2, characterized in that: Specifically, the steps are as follows: using formula (1) to propagate the influence of genes within the pathway along the HumanNet network; in, A is the weighted adjacency matrix of HumanNet, and the weights of the HumanNet network are the LLS of gene pairs; D is a diagonal matrix, and the elements on its diagonal are the sum of the rows or columns of the matrix A; α represents the restart probability, α∈[0.5,1); Ro is a pathway-gene binary matrix, whose rows represent pathways and whose columns are genes in the HumanNet network; P is the pathway set; P={p1,…,p i ,…,p N }, N is the number of channels; p i represents the i-th path; g j Represents the jth gene in the HumanNet network; If path p i There is also gene g j ,but is 1; otherwise, is 0; When t = 0, R t =R0; R t+1 is the pathway-gene matrix at time t+1; Iterate formula (1) until ||R t+1 -R t || F ≤1×10 -6 ; After convergence, R t+1 Denoted as R; When the iteration is finished, expand each path; extract path p from R i The corresponding row vector r i , r i The element values ​​corresponding to the external genes in the middle pathway are arranged in descending order, and the pathway genes corresponding to the first δ elements are regarded as genes for pathway expansion.

4. The image generation method according to claim 2, characterized in that: The steps one and two are specifically as follows: Where Ps is the N×N pathway similarity matrix; N is the number of pathways; Ps i,j Indicates the path p i and p j Similarity score of G(p i ) and G(p j ) represent the pathway p i and p j The gene set m represents path p i The number of genes in the pathway; n represents pathway p j The number of genes in the * Indicates p i or p j ; Indicates gene g t and pathway gene set G(p * )'s functional relationship score; LLS min and LLS max are the minimum and maximum LLS values ​​in the HumanNet network; LLS'(g t ,g k ) is the normalized LLS(g t ,g k ); Fss(g t ,g k ) indicates gene g t and g k The functional similarity score.

5. The image generation method according to claim 2, characterized in that: The step 1-3 is specifically to convert the path similarity matrix into a path distance matrix using formula (6); Input the pathway distance matrix into t-SNE to obtain the two-dimensional coordinates of each pathway; construct the pathway image using the pathway coordinates; assume that pathway p i The two-dimensional coordinates of i ,y i ); x i ∈[x down ,x up ],y i ∈[y down ,y up ]; x down and x up Respectively represent the integer lower and upper boundaries of the path coordinates on the X axis; y down and up They represent the integer lower and upper boundaries of the pathway coordinates on the Y axis, respectively; The path distribution is from point A(x down ,y down )、B(x up ,y down )、C(x up ,y up ) and D(x down ,y up ) in a rectangle Rect; the rectangle Rect is divided into rectangles composed of small squares with a side length of β; the pathways are distributed in the Rect and also distributed on many small squares; according to the number of pathways on the small squares, the small squares are divided into three categories, namely squares without pathways, squares with one pathway and squares with no less than two pathways; multiple pathways gathered in a square are merged into a new pathway; the gene set of the new pathway is the union of the original pathway gene set; each small square in the rectangle Rect is taken as a pixel point, the small square containing the pathway is called a pathway pixel point, and the small square without the pathway is called a non-pathway pixel point, so as to obtain a pathway image.

6. The image generation method according to claim 2, characterized in that: The step 2 specifically includes the following steps: Step 21: According to formula (10), the weights of genes under different phenotypes are calculated using the somatic mutation data and clinical data of the training set; Among them, T j,j=0,1,…,n-1 represents tumor phenotype; n is the number of tumor phenotypes, n ≥ 2; w is the gene-phenotype weight matrix; w i,j For gene g i In phenotype T j The weight under i ) are all the existing genes g i The number of mutated tumor phenotypes, It is phenotype T j Next gene g i The total number of mutations; It is phenotype T j The maximum total number of mutations in the following genes; Step 22: Calculate the weight distribution of the patient's mutant gene on the pathway under each phenotype; Specifically, assuming that G(pa k ) for patients pa k The mutant gene set u is the number of mutated genes; w is the number of mutated genes; ij For gene g i In phenotype T j The weight under; P' is the path set on the path image, P'={p1,…,p l ,…,p N' }, N' is the number of paths; G(p l ) represents the path p l The gene set v is the path p l The number of genes in the k ,p l ) is G(pa k ) and G(p l ), t is G(pa k ,p l ) The number of genes in D j For phenotype T j The weight distribution vector of the mutant gene of patient pa in each pathway; D j =(d j1 ,…,d jl ,…,d jN' );d jl For phenotype T j The mutant gene of patient pa is in pathway p l The weight distribution value on satisfies: Step 23: Convert the weight distribution vector under each phenotype into a weight distribution matrix according to the position of the pathway on the pathway image; Specifically, the phenotype T j The weight distribution under is mapped to the path image respectively, and the weight distribution matrix D is obtained; Assume: md j The mutation data for patient pa in phenotype T j The weight distribution matrix under ; For md j The element in row u and column v satisfies: Among them, Im is the path image, Im u,v is the pixel at row u and column v; Step 24: splicing the weight distribution matrix under each phenotype to form the patient feature image; Specifically, assuming that Md is the characteristic image of patient pa, Md = (md 1 ,md 2 ,…,md n ).

7. A cancer metastasis prediction method based on mutation data images, characterized in that: The prediction method uses the image generation method as described in any one of claims 1-6, including using the constructed patient feature image to train the prediction model, and using the trained prediction model to predict the mutation data transfer; specifically, a convolutional neural network is selected as the prediction model.

8. A picture generation system based on mutation data, characterized in that: The prediction system uses a method for generating an image for cancer metastasis prediction as claimed in any one of claims 1 to 6, and the prediction system comprises: Pathway image construction module, which constructs pathway images using the functional similarity of pathways on gene interaction networks; A patient characteristic image construction module is used to construct a patient characteristic image; The prediction module uses the constructed patient feature images to train the prediction model, and uses the trained prediction model to predict the mutation data transfer.

9. A computer device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method according to any one of claims 1 to 6 is implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Multi-OMIC search engine for integrative analysis of cancer genomic and clinical data

    CA3115991A1

  • Predicting personalized cancer metastasis routes, biological mediators of metastasis and metastasis blocking therapies

    CN109074425A

  • Individual driving gene prediction method based on semi-supervised graph neural network

    CN115019891A