Space transcriptome spatial domain identification method and system based on graph neural network
Through the multi-view graph neural network model based on graph neural network, combined with various information of spatial transcriptome data, the problems of discontinuity and insufficient accuracy in spatial domain recognition in traditional methods are solved, achieving more accurate spatial domain recognition and better Geographical information integration.
Patent Information
- Application Number
- CN202410842930.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-09-27
AI Technical Summary
Traditional spatial domain identification methods of spatial transcriptomes lack sufficient consideration of spatial information and histological information, resulting in discontinuous identification results and insufficient accuracy, and cannot fully mine the real grouping information in the data.
Using a method based on graph neural network, by constructing a multi-view graph neural network model, combining gene expression data, spatial neighbor network, histological image similarity network and gene expression similarity network, spatial domain recognition is performed, and multi-view graph convolution coding is used The embedding encoder and the consistent embedding encoder learn embedding features from multiple views.
It achieves more accurate spatial domain identification, can better study tissue structure function and disease development mechanism, and improves the accuracy and information integration of spatial domain identification.
Smart Images

Figure CN118711665A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of graph neural network technology, and in particular to a method and system for identifying spatial domains of spatial transcriptomes based on graph neural network. Background Art
[0002] Transcriptome sequencing (RNA-Seq) can comprehensively and quickly obtain the sequence information and expression information of almost all transcripts (RNA) of a specific cell or tissue in a certain state. Analysis of transcriptome sequencing data can provide a theoretical basis for disease diagnosis, etc. In recent years, with the increase in research needs and the advancement of technology, spatial transcriptomics sequencing technology has emerged. The transcript information obtained by spatial transcriptomics sequencing technology can correspond to the tissue location, so that the gene expression state of each spatial location within the tissue can be restored, so that it can be better used to study disease mechanisms, etc. Identifying spatial domains, that is, identifying an area with similarities in gene expression and histology, is the most basic and critical link in spatial transcriptome data analysis, and it is also one of the great challenges faced in spatial transcriptome research. Using spatial domain recognition results, a series of related issues such as how different cells work together to perform complex functions can be studied. Therefore, spatial domain recognition tools specifically for spatial transcriptome data analysis are constantly being proposed, and their spatial domain recognition effects are also constantly improving. The combination of spatial transcriptome sequencing technology, an advanced sequencing technology, and precise spatial domain recognition will further promote the exploration of tissue structure function and disease occurrence and progression mechanisms, and promote the development of bioinformatics, medicine and other disciplines. Traditional spatial transcriptome spatial domain recognition methods often apply traditional clustering algorithms such as K-means and Louvain to spatial transcriptome data, and only use gene expression data in spatial transcriptome data as input for spatial domain recognition; or construct spatial transcriptome spatial domain recognition algorithms (BayesSpace, SpaGCN, STAGATE, etc.) based on probability statistics models, artificial intelligence models, etc., and use gene expression data, spatial location information, and histological image information in spatial transcriptome data as input for spatial domain recognition.
[0003] However, traditional clustering algorithms lack consideration of spatial information and histology in spatial transcriptome data, and the resulting spatial domain may not be continuous, which is inconsistent with the hierarchical structure of biological tissues. From the perspective of data usage, existing spatial domain recognition algorithms that combine spatial information have problems such as insufficient use of spatial information and histological image information and poor integration of gene expression data and spatial information, which may result in the inability to fully mine the real grouping information hidden in different data sources. From the perspective of algorithm performance, the spatial domain recognition accuracy of existing spatial domain recognition algorithms that combine spatial information still needs to be improved. Summary of the invention
[0004] Based on this, in order to solve the above technical problems, a spatial transcriptome spatial domain identification method and system based on graph neural network is provided, which can more accurately identify the spatial domain of the sample under study, so as to better study the tissue structure function and disease development mechanism.
[0005] A spatial transcriptome spatial domain identification method based on graph neural network, the method comprising:
[0006] Collecting a spatial transcriptome data set generated by spatial transcriptome sequencing technology, performing data preprocessing on the spatial transcriptome data set, and performing dimensionality reduction on gene expression data in the preprocessed data to obtain a low-dimensional feature representation of the gene expression data;
[0007] Determining distance similarity, histological image similarity, and gene expression similarity based on the spatial transcriptome dataset, and constructing a graph structure according to the distance similarity, histological image similarity, and gene expression similarity to obtain a spatial neighboring network, a histological image similarity network, and a gene expression similarity network;
[0008] Constructing a multi-view graph neural network model, wherein the multi-view graph neural network model has a multi-view graph convolution encoder and a consistency embedding encoder;
[0009] The low-dimensional feature representation, the spatial neighbor network, the histological image similarity network, and the gene expression similarity network are input into the multi-view graph neural network model to identify the spatial transcriptome spatial domain.
[0010] In one embodiment, the dimensionality reduction of the gene expression data in the preprocessed data to obtain a low-dimensional feature representation of the gene expression data includes:
[0011] Performing quality control filtering on the gene expression data in the processed data to obtain filtered gene expression data;
[0012] Implementing standardization processing on the filtered gene expression data by normalization and logarithmization to obtain the filtered gene expression data;
[0013] The screened gene expression data is scaled, and principal component analysis is used to reduce the dimension of the screened gene expression data to obtain a low-dimensional feature representation.
[0014] In one embodiment, the method further comprises:
[0015] searching for histological images in the spatial transcriptome dataset;
[0016] Image features are extracted from the histological image by local histogram equalization and calculation of gray level co-occurrence matrix.
[0017] In one embodiment, determining the histological image similarity based on the spatial transcriptome dataset, and obtaining a histological image similarity network according to the histological image similarity, comprises:
[0018] Based on the spatial transcriptome dataset, the image features are standardized using the RobustScaler standardization method;
[0019] Obtaining similarity nearest neighbors according to the standardized image features by using a Ball Tree algorithm, and constructing a histological image adjacency matrix according to the similarity nearest neighbors;
[0020] A histological image similarity network is obtained according to the histological image adjacency matrix.
[0021] In one of the embodiments, the image features include image texture features and image intensity features.
[0022] In one embodiment, determining distance similarity based on the spatial transcriptome dataset, and obtaining a spatial neighboring network according to the distance similarity, comprises:
[0023] Calculating the Euclidean distance between the corresponding spatial position coordinates of any two points in the spatial transcriptome dataset;
[0024] Selecting spatial neighbors according to the Euclidean distance, and constructing a spatial adjacency matrix according to the spatial neighbors;
[0025] A spatial neighboring network is obtained according to the spatial adjacency matrix.
[0026] In one embodiment, determining gene expression similarity based on the spatial transcriptome dataset, and obtaining a gene expression similarity network based on the gene expression similarity, comprises:
[0027] Obtaining gene expression similarity neighbors based on the low-dimensional feature representation of the gene expression data, and constructing a gene expression adjacency matrix based on the gene expression similarity neighbors;
[0028] A gene expression similarity network is obtained according to the gene expression adjacency matrix.
[0029] In one embodiment, the low-dimensional feature representation, the spatial neighbor network, the histological image similarity network, and the gene expression similarity network are input into the multi-view graph neural network model to identify the spatial transcriptome spatial domain, including:
[0030] Inputting the low-dimensional feature representation, the spatial neighbor network, the histological image similarity network, and the gene expression similarity network into the multi-view graph neural network model, and obtaining a graph embedding through the multi-view graph convolution encoder in the multi-view graph neural network model;
[0031] Taking the graph embedding as input, outputting a consistent cluster embedding through the consistent embedding encoder;
[0032] Spatial transcriptome domains were identified using the consensus cluster embedding.
[0033] In one embodiment, data preprocessing is performed on the spatial transcriptome dataset, including:
[0034] The SCANPY tool was used to preprocess the spatial transcriptome dataset.
[0035] A spatial transcriptome spatial domain recognition system based on graph neural network, the system comprising:
[0036] A data preprocessing module is used to collect a spatial transcriptome data set generated by spatial transcriptome sequencing technology, perform data preprocessing on the spatial transcriptome data set, and perform dimensionality reduction on the gene expression data in the preprocessed data to obtain a low-dimensional feature representation of the gene expression data;
[0037] A network construction module, used to determine distance similarity, histological image similarity, and gene expression similarity based on the spatial transcriptome data set, and to construct a graph structure according to the distance similarity, histological image similarity, and gene expression similarity to obtain a spatial neighboring network, a histological image similarity network, and a gene expression similarity network;
[0038] A model building module, used to build a multi-view graph neural network model, wherein the multi-view graph neural network model has a multi-view graph convolution encoder and a consistent embedding encoder;
[0039] The spatial domain recognition module is used to input the low-dimensional feature representation, the spatial neighbor network, the histological image similarity network, and the gene expression similarity network into the multi-view graph neural network model to identify the spatial domain of the spatial transcriptome.
[0040] The above-mentioned spatial transcriptome spatial domain identification method and system based on graph neural network can make fuller and more comprehensive use of spatial transcriptome data by determining distance similarity, histological image similarity, and gene expression similarity based on the spatial transcriptome data set to construct a graph structure, and use a multi-view graph neural network model to learn embedded features from multiple perspectives, thereby achieving more accurate spatial domain identification and more accurately identifying the spatial domain of the sample under study, so as to better study tissue structure function and disease development mechanism. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 A diagram of an application environment of a spatial transcriptome spatial domain identification method based on a graph neural network in one embodiment;
[0042] Figure 2 A schematic diagram of a flow chart of a spatial domain identification method of a spatial transcriptome based on a graph neural network in one embodiment;
[0043] Figure 3 is a schematic diagram of a process for processing gene expression data in one embodiment;
[0044] Figure 4 A schematic diagram of a framework of a spatial transcriptome spatial domain identification method based on a graph neural network in one embodiment;
[0045] Figure 5 It is a structural block diagram of a spatial domain identification device of a spatial transcriptome based on a graph neural network in one embodiment;
[0046] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0048] The spatial domain identification method of spatial transcriptome based on graph neural network provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Figure 1As shown, the application environment includes a computer device 110. The computer device 110 can collect a spatial transcriptome data set generated by a spatial transcriptome sequencing technology, perform data preprocessing on the spatial transcriptome data set, and reduce the dimension of the gene expression data in the preprocessed data to obtain a low-dimensional feature representation of the gene expression data; the computer device 110 can determine the distance similarity, histological image similarity, and gene expression similarity based on the spatial transcriptome data set, and construct a graph structure based on the distance similarity, histological image similarity, and gene expression similarity to obtain a spatial neighboring network, a histological image similarity network, and a gene expression similarity network; the computer device 110 can construct a multi-view graph neural network model, and the multi-view graph neural network model has a multi-view graph convolution encoder and a consistency embedding encoder; the computer device 110 can input the low-dimensional feature representation, the spatial neighboring network, the histological image similarity network, and the gene expression similarity network into the multi-view graph neural network model to identify the spatial domain of the spatial transcriptome. Among them, the computer device 110 can be, but not limited to, various personal computers, laptops, smart phones, robots, unmanned aerial vehicles, tablet computers and other devices.
[0049] In one embodiment, Figure 2 As shown, a spatial transcriptome spatial domain identification method based on graph neural network is provided, comprising the following steps:
[0050] Step 202 , collect a spatial transcriptome data set generated by spatial transcriptome sequencing technology, perform data preprocessing on the spatial transcriptome data set, and perform dimensionality reduction on the gene expression data in the preprocessed data to obtain a low-dimensional feature representation of the gene expression data.
[0051] The computer device can collect the spatial transcriptome data set generated by the 10X Visium spatial transcriptome sequencing technology, and then perform conventional data preprocessing operations on the generated spatial transcriptome data set.
[0052] In one embodiment, a spatial transcriptome spatial domain identification method based on a graph neural network may also include a data preprocessing process, and the specific process includes: using the SCANPY tool to preprocess the spatial transcriptome dataset.
[0053] Specifically, the computer device can collect a human dorsolateral prefrontal cortex dataset, a mouse brain anterior slice dataset, and a human breast cancer dataset generated by the spatial transcriptome sequencing technology 10X Visium. For all datasets, the SCANPY tool is used for preprocessing. In addition, for datasets with an unknown number of spatial domain partitions, the Louvain algorithm implemented by SCANPY is used in the data preprocessing stage to select the number of spatial domain partitions for it.
[0054] In one embodiment, a spatial transcriptome spatial domain identification method based on a graph neural network is provided, which may also include a process of data dimensionality reduction, and the specific process includes: performing quality control filtering on the gene expression data in the processed data to obtain filtered gene expression data; standardizing the filtered gene expression data through normalization and logarithmization to obtain filtered gene expression data; performing data scaling on the filtered gene expression data, and using principal component analysis to reduce the dimension of the filtered gene expression data to obtain a low-dimensional feature representation.
[0055] Computer equipment can perform routine data preprocessing operations such as quality control and highly variable gene screening on gene expression data in spatial transcriptome datasets, and reduce the dimensionality of highly variable gene expression data to obtain low-dimensional feature representations of gene expression data.
[0056] Specifically, Figure 3 As shown, after obtaining the spatial transcriptome dataset, the computer device can perform quality control filtering on the gene expression data to filter out genes expressed in less than 5 cells; secondly, the computer device can realize standardized processing of the gene expression data through normalization and logarithmization; then, the computer device can screen out the top 2000 highly variable genes and perform data scaling; finally, principal component analysis (PCA) is used to reduce the dimension of the preprocessed gene expression data to 1000 dimensions as the low-dimensional feature representation of the spot.
[0057] In one embodiment, a spatial transcriptome spatial domain recognition method based on a graph neural network is provided, which may also include a process of extracting image features, and the specific process includes: searching for histological images in the spatial transcriptome data set; extracting image features from the histological images by local histogram equalization and calculation of gray-level co-occurrence matrix. That is, the computer device can extract features of the histological images in the spatial transcriptome data.
[0058] Specifically, in one embodiment, the image features include image texture features and image intensity features.
[0059] The computer equipment can extract the image features corresponding to each spot from the H&E stained histological image through local (adaptive) histogram equalization and calculation of the gray level co-occurrence matrix, including texture features and intensity features, where the image texture features include contrast, non-similarity, homogeneity, angular second moment (ASM), entropy, and correlation.
[0060] Step 204, based on the spatial transcriptome data set, distance similarity, histological image similarity, and gene expression similarity are determined, and a graph structure is constructed according to the distance similarity, histological image similarity, and gene expression similarity to obtain a spatial neighboring network, a histological image similarity network, and a gene expression similarity network.
[0061] The computer device can construct a graph structure based on distance similarity, histological image similarity and gene expression similarity, thereby obtaining a spatial neighboring network, a histological image similarity network and a gene expression similarity network.
[0062] Specifically, in one embodiment, a spatial transcriptome spatial domain identification method based on a graph neural network is provided, which may also include a process of obtaining a histological image similarity network, the specific process including: based on the spatial transcriptome data set, using the RobustScaler normalization method to standardize the image features; using the Ball Tree algorithm to obtain the similarity nearest neighbor based on the standardized image features, and constructing a histological image adjacency matrix based on the similarity nearest neighbor; obtaining the histological image similarity network based on the histological image adjacency matrix.
[0063] In this embodiment, in order to obtain the histological image similarity relationship between spots in the spatial transcriptome data, the computer device can first use the RobustScaler normalization method to standardize the image features of the extracted spots; secondly, use the Ball Tree algorithm to obtain the top 10 nearest neighbors of each spot in terms of histological image similarity based on the image features of the spots, and construct a histological image adjacency matrix to obtain a histological image similarity network.
[0064] In one embodiment, a spatial transcriptome spatial domain identification method based on a graph neural network is provided, which may also include a process of obtaining a spatial neighboring network, and the specific process includes: calculating the Euclidean distance between the corresponding spatial position coordinates of any two points in the spatial transcriptome data set; selecting spatial neighbors according to the Euclidean distance, and constructing a spatial adjacency matrix based on the spatial neighbors; and obtaining a spatial neighboring network based on the spatial adjacency matrix.
[0065] In this embodiment, in order to obtain the spatial adjacency relationship between spots in the spatial transcriptome data, the computer device can calculate the Euclidean distance between the corresponding spatial position coordinates of any two spots, and select the top 10 nearest spots as spatial neighbors based on the distance between a spot and all other spots, and construct a spatial adjacency matrix to obtain a spatial adjacency network.
[0066] In one embodiment, a spatial transcriptome spatial domain identification method based on a graph neural network is provided, which may also include a process of obtaining a spatial adjacent network, the specific process including: obtaining gene expression similarity neighbors based on a low-dimensional feature representation of gene expression data, and constructing a gene expression adjacency matrix based on the gene expression similarity neighbors; obtaining a gene expression similarity network based on the gene expression adjacency matrix.
[0067] Specifically, in this embodiment, in order to obtain the gene expression similarity relationship between spots in the spatial transcriptome data, the computer device can first use PCA to reduce the dimension of the pre-processed two thousand highly variable gene expression data to 50 dimensions, and then use the Ball Tree algorithm to obtain the top 10 nearest neighbors of each spot in terms of gene expression similarity based on the gene expression characteristics of the spot after dimensionality reduction, and construct a gene expression adjacency matrix to obtain a gene expression similarity network.
[0068] Step 206, construct a multi-view graph neural network model, the multi-view graph neural network model has a multi-view graph convolution encoder and a consistent embedding encoder.
[0069] Specifically, the computer device can construct a multi-view graph neural network model with a multi-view graph convolution encoder and a consistent embedding encoder. The multi-view graph convolution encoder is used to learn graph embedding features in three views, and the consistent embedding encoder is used to capture the geometric relationship and consistency of probability distribution between different views, thereby learning consistent clustering embedding for spatial domain recognition.
[0070] Step 208 , input the low-dimensional feature representation, the spatial neighbor network, the histological image similarity network, and the gene expression similarity network into the multi-view graph neural network model to identify the spatial transcriptome domain.
[0071] In one embodiment, a spatial domain identification method for a spatial transcriptome based on a graph neural network is provided, which may also include a process for performing spatial domain identification, and the specific process includes: inputting a low-dimensional feature representation, a spatial neighboring network, a histological image similarity network, and a gene expression similarity network into a multi-view graph neural network model, and obtaining a graph embedding through a multi-view graph convolutional encoder in the multi-view graph neural network model; using the graph embedding as input, and outputting a consistent clustering embedding through a consistent embedding encoder; and using the consistent clustering embedding to identify the spatial domain of the spatial transcriptome.
[0072] In this embodiment, the computer device can input the low-dimensional feature representation of the gene expression data and the multi-view network into the designed multi-view graph neural network model to identify the spatial domain of the spatial transcriptome.
[0073] Specifically, the computer device can construct a multi-view graph convolution encoder, which can be a graph convolution encoder including three graph convolution encoders with an attention mechanism, each of which takes the spot low-dimensional features (1000 dimensions) obtained by data preprocessing and the constructed views (the spatial neighboring network, the histological image similarity network, and the gene expression similarity network are input into the three graph convolution encoders respectively) as input, and outputs the graph embedding corresponding to each view; secondly, a consistent embedding encoder is constructed, which takes the obtained graph embedding corresponding to each view as input, and outputs the consistent clustering embedding for spatial domain recognition; finally, the obtained consistent clustering embedding is used to perform spatial domain recognition through clustering.
[0074] In one embodiment, a network architecture of a spatial transcriptome spatial domain identification method based on a graph neural network is provided as follows: Figure 4 As shown in the figure, the spatial transcriptome dataset is preprocessed, and then the gene expression data in the spatial transcriptome dataset is filtered and screened, and a low-dimensional feature representation is obtained after data dimensionality reduction; then, when constructing the multi-view structure, the distance similarity, histological image similarity, and gene expression similarity are determined, and then the spatial neighboring network, the histological image similarity network, and the gene expression similarity network are obtained; finally, the low-dimensional feature representation, the spatial neighboring network, the histological image similarity network, and the gene expression similarity network are input into the multi-view graph neural network model, and the graph embedding is obtained through the multi-view graph convolution encoder, and then the graph embedding is used as input, and the consistent clustering embedding is output through the consistent embedding encoder, and finally the consistent clustering embedding is used to identify the spatial domain of the spatial transcriptome.
[0075] In one embodiment, the existing spatial domain recognition method and the spatial domain recognition method provided in this application are applied to a real spatial transcriptome dataset, and the obtained effects are compared as follows:
[0076]
[0077] Among them, in the above table, *** is used to represent the multi-view graph neural network model proposed in this application, CONGI, STMGCN, SPAGCN, SEDR, STAGATE, and BayesSpace are currently more advanced spatial domain recognition methods, DLPFC151509 and DLPFC151510 are spatial transcriptome datasets of human dorsolateral prefrontal cortex tissue, V1_Breast_Cancer_Block_A_Section_1 is a spatial transcriptome dataset of human breast cancer tissue, and V1_Mouse_Brain_Sagittal_Anterior is a spatial transcriptome dataset of mouse anterior brain tissue. The numerical value in the table is the adjusted Rand Index, which is a commonly used indicator for evaluating the effect of spatial domain recognition.
[0078] It can be seen that by comparing the existing spatial domain methods, it can be concluded that the spatial transcriptome spatial domain identification method based on graph neural network provided in this application makes more full and comprehensive use of spatial transcriptome data, and uses a multi-view graph neural network model to learn embedded features from multiple perspectives, thereby achieving more accurate spatial domain identification.
[0079] It should be understood that, although the steps in the above-mentioned flowcharts are shown in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the above-mentioned flowcharts may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0080] In one embodiment, Figure 5 As shown, a spatial transcriptome spatial domain identification system based on a graph neural network is provided, including: a data preprocessing module 510, a network construction module 520, a model construction module 530 and a spatial domain identification module 540, wherein:
[0081] A data preprocessing module 510 is used to collect a spatial transcriptome data set generated by a spatial transcriptome sequencing technology, perform data preprocessing on the spatial transcriptome data set, and perform dimensionality reduction on the gene expression data in the preprocessed data to obtain a low-dimensional feature representation of the gene expression data;
[0082] A network construction module 520 is used to determine distance similarity, histological image similarity, and gene expression similarity based on the spatial transcriptome data set, and to construct a graph structure according to the distance similarity, histological image similarity, and gene expression similarity to obtain a spatial neighboring network, a histological image similarity network, and a gene expression similarity network;
[0083] A model building module 530, used to build a multi-view graph neural network model, the multi-view graph neural network model has a multi-view graph convolution encoder and a consistent embedding encoder;
[0084] The spatial domain identification module 540 is used to input the low-dimensional feature representation, the spatial neighbor network, the histological image similarity network, and the gene expression similarity network into the multi-view graph neural network model to identify the spatial domain of the spatial transcriptome.
[0085] In one embodiment, the data preprocessing module 510 is also used to perform quality control filtering on the gene expression data in the processed data to obtain filtered gene expression data; standardize the filtered gene expression data through normalization and logarithmization to obtain filtered gene expression data; perform data scaling on the filtered gene expression data, and use principal component analysis to reduce the dimension of the filtered gene expression data to obtain a low-dimensional feature representation.
[0086] In one embodiment, the network construction module 520 is further used to find histological images in the spatial transcriptome dataset; and extract image features from the histological images by local histogram equalization and calculation of gray level co-occurrence matrix.
[0087] In one embodiment, the network construction module 520 is also used to standardize image features based on a spatial transcriptome dataset using a RobustScaler standardization method; obtain similarity nearest neighbors based on the standardized image features using a Ball Tree algorithm, and construct a histological image adjacency matrix based on the similarity nearest neighbors; and obtain a histological image similarity network based on the histological image adjacency matrix.
[0088] In one embodiment, the network construction module 520 is also used to calculate the Euclidean distance between the corresponding spatial position coordinates of any two points in the spatial transcriptome dataset; select spatial neighbors according to the Euclidean distance, and construct a spatial adjacency matrix based on the spatial neighbors; and obtain a spatial neighbor network based on the spatial adjacency matrix.
[0089] In one embodiment, the network construction module 520 is also used to obtain gene expression similarity neighbors based on the low-dimensional feature representation of gene expression data, and to construct a gene expression adjacency matrix based on the gene expression similarity neighbors; and to obtain a gene expression similarity network based on the gene expression adjacency matrix.
[0090] In one embodiment, the network construction module 520 is also used to input low-dimensional feature representation, spatial neighbor network, histological image similarity network, and gene expression similarity network into the multi-view graph neural network model, and obtain graph embedding through the multi-view graph convolution encoder in the multi-view graph neural network model; use the graph embedding as input, output consistent clustering embedding through the consistent embedding encoder; use the consistent clustering embedding to identify the spatial domain of the spatial transcriptome.
[0091] In one embodiment, the data preprocessing module 510 is further configured to perform data preprocessing on the spatial transcriptome dataset using a SCANPY tool.
[0092] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 6 As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a spatial transcriptome spatial domain identification method based on a graph neural network is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.
[0093] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0094] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps of a spatial transcriptome spatial domain identification method based on a graph neural network are implemented.
[0095] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of a method for spatial domain identification of spatial transcriptomes based on a graph neural network are implemented.
[0096] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0097] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0098] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A spatial transcriptome domain identification method based on graph neural network, It is characterized in that The method comprises: Collecting a spatial transcriptome data set generated by spatial transcriptome sequencing technology, performing data preprocessing on the spatial transcriptome data set, and performing dimensionality reduction on gene expression data in the preprocessed data to obtain a low-dimensional feature representation of the gene expression data; Determining distance similarity, histological image similarity, and gene expression similarity based on the spatial transcriptome dataset, and constructing a graph structure according to the distance similarity, histological image similarity, and gene expression similarity to obtain a spatial neighboring network, a histological image similarity network, and a gene expression similarity network; Constructing a multi-view graph neural network model, wherein the multi-view graph neural network model has a multi-view graph convolution encoder and a consistency embedding encoder; The low-dimensional feature representation, the spatial neighbor network, the histological image similarity network, and the gene expression similarity network are input into the multi-view graph neural network model to identify the spatial transcriptome spatial domain.
2. The spatial domain identification method of spatial transcriptome based on graph neural network according to claim 1, It is characterized in that The step of reducing the dimension of the gene expression data in the preprocessed data to obtain a low-dimensional feature representation of the gene expression data includes: Performing quality control filtering on the gene expression data in the processed data to obtain filtered gene expression data; Implementing standardization processing on the filtered gene expression data by normalization and logarithmization to obtain the filtered gene expression data; The screened gene expression data is scaled, and principal component analysis is used to reduce the dimension of the screened gene expression data to obtain a low-dimensional feature representation.
3. The spatial domain identification method of spatial transcriptome based on graph neural network according to claim 1, It is characterized in that The method further comprises: searching for histological images in the spatial transcriptome dataset; Image features are extracted from the histological image by local histogram equalization and calculation of gray level co-occurrence matrix.
4. The spatial domain identification method of spatial transcriptome based on graph neural network according to claim 3, It is characterized in that Determining the histological image similarity based on the spatial transcriptome dataset, and obtaining a histological image similarity network according to the histological image similarity, including: Based on the spatial transcriptome dataset, the image features are standardized using the RobustScaler standardization method; Obtaining similarity nearest neighbors according to the standardized image features by using a Ball Tree algorithm, and constructing a histological image adjacency matrix according to the similarity nearest neighbors; A histological image similarity network is obtained according to the histological image adjacency matrix.
5. The spatial domain identification method of spatial transcriptome based on graph neural network according to claim 3, It is characterized in that The image features include image texture features and image intensity features.
6. The spatial domain identification method of spatial transcriptome based on graph neural network according to claim 1, It is characterized in that Determining distance similarity based on the spatial transcriptome dataset, and obtaining a spatial neighboring network according to the distance similarity, including: Calculating the Euclidean distance between the corresponding spatial position coordinates of any two points in the spatial transcriptome dataset; Selecting spatial neighbors according to the Euclidean distance, and constructing a spatial adjacency matrix according to the spatial neighbors; A spatial neighboring network is obtained according to the spatial adjacency matrix.
7. The spatial domain identification method of spatial transcriptome based on graph neural network according to claim 1, It is characterized in that Determining gene expression similarity based on the spatial transcriptome dataset, and obtaining a gene expression similarity network based on the gene expression similarity, including: Obtaining gene expression similarity neighbors based on the low-dimensional feature representation of the gene expression data, and constructing a gene expression adjacency matrix based on the gene expression similarity neighbors; A gene expression similarity network is obtained according to the gene expression adjacency matrix.
8. The spatial domain identification method of spatial transcriptome based on graph neural network according to claim 1, It is characterized in that Inputting the low-dimensional feature representation, the spatial neighbor network, the histological image similarity network, and the gene expression similarity network into the multi-view graph neural network model to identify the spatial transcriptome spatial domain, including: Inputting the low-dimensional feature representation, the spatial neighbor network, the histological image similarity network, and the gene expression similarity network into the multi-view graph neural network model, and obtaining a graph embedding through the multi-view graph convolution encoder in the multi-view graph neural network model; Taking the graph embedding as input, outputting a consistent cluster embedding through the consistent embedding encoder; Spatial transcriptome domains were identified using the consensus cluster embedding.
9. The spatial domain identification method of spatial transcriptome based on graph neural network according to claim 1, It is characterized in that The spatial transcriptome dataset is preprocessed, including: The SCANPY tool was used to preprocess the spatial transcriptome dataset.
10. A spatial transcriptome spatial domain identification system based on graph neural network, applied to the spatial transcriptome spatial domain identification method based on graph neural network according to any one of claims 1 to 9, It is characterized in that The system comprises: A data preprocessing module is used to collect a spatial transcriptome data set generated by spatial transcriptome sequencing technology, perform data preprocessing on the spatial transcriptome data set, and perform dimensionality reduction on the gene expression data in the preprocessed data to obtain a low-dimensional feature representation of the gene expression data; A network construction module, used to determine distance similarity, histological image similarity, and gene expression similarity based on the spatial transcriptome data set, and to construct a graph structure according to the distance similarity, histological image similarity, and gene expression similarity to obtain a spatial neighboring network, a histological image similarity network, and a gene expression similarity network; A model building module, used to build a multi-view graph neural network model, wherein the multi-view graph neural network model has a multi-view graph convolution encoder and a consistent embedding encoder; The spatial domain recognition module is used to input the low-dimensional feature representation, the spatial neighbor network, the histological image similarity network, and the gene expression similarity network into the multi-view graph neural network model to identify the spatial domain of the spatial transcriptome.
Citation Information
Patent Citations
Spatial domain identification method based on spatial transcriptomics data feature extraction
CN116189785A
Schizophrenia classification method and system based on image genomics
CN118015381A
Spatial transcriptome spatial domain identification method based on relational graph attention
CN118072307A
Rank Normalization for Differential Expression Analysis of Transcriptome Sequencing Data
US20130289890A1
Transcriptome data integration
WO2023234864A1
Cited By
Method and device for identifying spatial organization structure of spatial transcriptome data
CN119673270A
Intercellular interaction reconstruction method and system based on graph convolution and long and short term memory attention network
CN119673277A
Image processing-based macrophage cell burial function quantitative analysis and evaluation method
CN121563941A
