A method, medium, and device for assessing differential expression patterns in single cells based on reliability screening.
By merging and clustering single-cell transcriptome data and calculating differential enrichment scores, the problem of inaccurate assessment of single-cell expression pattern differences in existing technologies is solved, enabling scientific selection of research directions and improving research efficiency and accuracy.
Patent Information
- Application Number
- CN202410221035.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-02
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2043-03-02
AI Technical Summary
Existing technologies make it difficult to directly and accurately assess the differences in expression patterns between two groups of single-cell data, which may lead to inaccurate selection of research directions.
By merging the single-cell transcriptome expression profiles of the control and treatment groups, cell types were clustered and identified, differential enrichment scores were calculated, natural differential distributions were generated using random grouping, expression profile distances were assessed, and cell types were sorted to assess the magnitude of differential expression.
It provides accurate assessment of single-cell expression pattern differences, helping scientists select subsequent research directions and improving research efficiency and accuracy.
Smart Images

Figure CN117995275B_ABST
Abstract
Description
[0001] Cross-references to related applications This application is a divisional application based on application number 2023102239783, filed on March 2, 2023, entitled "A method, medium and device for evaluating single-cell expression pattern differences based on two-group comparison". Technical Field
[0002] This invention relates to the field of bioinformatics analysis technology, and in particular to a method, medium, and device for assessing differences in single-cell expression patterns based on two-group comparisons. Background Technology
[0003] Single-cell transcriptomics, single-cell ATAC omics (high-throughput analysis of single-cell chromatin transposase accessibility), and single-cell epigenetics, among other single-cell level sequencing technologies, can obtain RNA and chromatin information for thousands or tens of thousands of genes within a single cell, comprehensively revealing gene expression differences between various cells. High-throughput single-cell sequencing platforms (such as those from 10X Genomics) utilize microfluidics, droplet encapsulation, and barcode tagging technologies to achieve high-throughput cell sorting and capture, capable of isolating and labeling hundreds or even tens of thousands of cells at once. After amplification and sequencing, information such as transcriptome or chromatin and site methylation can be obtained for each cell, offering advantages such as high cell throughput, low library construction cost, and high efficiency. Combined with the characteristic signal features (marker genes) of different cell types or cell type labeling algorithms (such as SingleR), this technology can be used to analyze the expression, chromatin, or methylation characteristics of different cell types, and further applied to research on biological development, disease progression, and immune changes.
[0004] The analysis of single-cell omics data typically involves the following steps: filtering low-quality cells, identifying cell types, preliminary analysis of the overall characteristics or expression patterns of each cell type, selecting cell types for in-depth analysis, and performing personalized analysis for target cell types (such as pathway enrichment analysis, prediction of differentiation trajectories, transcription factor activity, cell communication, etc.). The final step, personalized analysis, can theoretically be performed using an unlimited number of existing software programs, and therefore usually requires the most manpower, effort, and time. The preceding step of selecting cell types is the foundation of personalized analysis—selecting key and appropriate cell types allows subsequent personalized analysis to uncover important and meaningful information; conversely, inappropriate cell type selection may result in significant time and effort being wasted, only to uncover worthless or low-value information.
[0005] Currently, researchers often choose subsequent research directions based on existing biological knowledge rather than on the characteristics and differences of the data itself when dealing with single-cell data that includes both control and comparison groups (i.e., two groups). This may lead to the overlooking of many potentially valuable research directions. The existence, magnitude, and significance of differences between the two groups in different cell types all indicate the extent to which treatments or experimental conditions affect the expression patterns of different cells. However, due to the massive amount of data and the complexity of single-cell omics data, current techniques struggle to directly and accurately assess differences in cell expression patterns. Summary of the Invention
[0006] To address at least one of the technical problems mentioned in the background art, the present invention aims to provide a method, medium, and device for evaluating the difference in single-cell expression patterns based on two-group comparisons. This method can provide precise indicators for assessing the magnitude and degree of difference in single-cell expression profiles between two groups, thus providing a basis for scientifically selecting subsequent research directions.
[0007] To achieve the above objectives, the present invention provides the following technical solution: A method for assessing differences in single-cell expression patterns based on two-group comparisons includes the following steps: S101, combined single-cell transcriptome expression profiles of the control and treatment groups; S102, grouping all cells in the merged single-cell transcriptome expression profile; S103, cell type identification for each cell population; S104, screened out cell types that coexisted in the control group and the treatment group, and extracted their expression profiles; S105, calculate the differential enrichment score for this cell type; S106, rank the cell types according to their differential enrichment scores from highest to lowest.
[0008] Furthermore, the method for calculating the difference enrichment score is as follows: S1051, calculate the characteristic expression spectrum distance between the control group and the treatment group in this cell type; S1052, the cell groups of this cell type are shuffled and randomly regrouped into two groups according to the number of cells in the original groups, and the characteristic expression spectrum distance is calculated for each group. S1053, repeat step S1052 several times to obtain multiple feature expression spectrum distances that constitute the natural difference zero distribution of the expression spectrum; S1054, calculate the ratio of the feature expression spectrum distance obtained in S1051 to the average value of the natural difference zero distribution of the expression spectrum, which is the difference enrichment score.
[0009] Furthermore, the method for solving the feature representation spectrum distance is as follows: The control group and the treatment group are separated from the original expression profile to form two expression profiles. The average gene expression level of each gene in each group is taken as the characteristic expression profile of the control group and the treatment group. The distance between the characteristic expression profiles of the control group and the treatment group is calculated to obtain the characteristic expression profile distance.
[0010] Furthermore, the distance is either Euclidean distance or Manhattan distance.
[0011] Furthermore, in S102, the cells are normalized and / or PCA dimensionality reduction is performed before the cells are clustered.
[0012] Furthermore, in S103, cell types are identified using cell type-specific marker genes, and cell populations that highly express marker genes are identified as the corresponding cell types; or, SingleR software is used to identify each cell type.
[0013] A computer storage medium storing a computer program, characterized in that, when executed by a processor, the program implements the single-cell expression pattern difference assessment method based on two sets of comparisons as described above.
[0014] A terminal device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor, when executing the computer program, implements the single-cell expression pattern difference assessment method based on two sets of comparisons as described above.
[0015] Compared with the prior art, the beneficial effects of the present invention are: This invention involves repeatedly randomly grouping cells of the same type, calculating the distance between the characteristic expression spectra of the random groups, generating a natural differential distribution, comparing the distances between the original group characteristic expression spectra with the natural differential distribution to obtain differential scores for each cell type, and sorting them by magnitude to obtain an assessment result of the magnitude of expression pattern differences for each cell type. This provides a basis for scientifically selecting subsequent research directions. Attached Figure Description
[0016] Figure 1 This is an overall flowchart of an embodiment of the present invention.
[0017] Figure 2 This is a flowchart of the differential enrichment score calculation according to an embodiment of the present invention. Detailed Implementation
[0018] The technical solutions in the embodiments of the present invention will be clearly and completely described below. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0019] Example 1: Please see Figure 1 This embodiment provides a method for assessing differences in single-cell expression patterns based on two-group comparisons, including the following steps: S101, the combined single-cell transcriptome expression profiles of the control and treatment groups; as shown in Table 1 below: Table 1: Merged Expression Profiles
[0020] In the table above, Samp1 to Samp5 represent sample names; C1 to C14001 represent cells; Gene1 to Gene3 represent genes; and the numbers in the main text represent gene expression levels.
[0021] S102 uses Seurat software to cluster all cells in the merged single-cell transcriptome expression profile; it can also perform normalization and dimensionality reduction, with "LogNormalize" selected as the normalization method and "vst" used as the screening method for hypervariable genes.
[0022] S103, cell type identification was performed on each cell population. Two common methods were used: one was to use cell type-specific marker genes (such as CD4 and CD8 genes in human T cells) to identify cell populations with high expression of these marker genes as the corresponding cell type; the other was to use cell identification software (such as SingleR and scCATCH) to determine the cell type of each cell population. The identification results are shown in Table 2 below: Table 2: Cell identification results
[0023] In the table above, Type 1 to Type 3 are the identified cell types.
[0024] S104, count the number of groups in which each cell type exists, screen out cell types that exist in both the control group and the treatment group, and extract their expression profiles; If cell type Type 1 is present in both the control and treatment groups, then that cell type is selected. The same applies to Type 2. If Type 3 is only present in the treatment group, then it is ignored.
[0025] For each selected cell type, the number of common cell types is denoted as n, and the name is denoted as T. n And extract its corresponding expression profile M n As shown in Table 3 below: Table 3: Expression profile extraction of common cell types
[0026] S105, calculate the differential enrichment score for this cell type to measure the degree of differential enrichment for this cell type.
[0027] Specifically, such as Figure 2 As shown, the method for calculating the difference enrichment score is as follows: S1051, calculate the characteristic expression spectrum distance between the control group and the treatment group in this cell type.
[0028] The method for calculating the characteristic expression spectrum distance is as follows: the control group and the treatment group are separated from the original expression spectrum to form two expression spectra. The average value of the gene expression level of each gene in each group is taken as the characteristic expression spectrum of the control group and the treatment group. The characteristic expression spectrum distance is obtained by calculating the distance between the characteristic expression spectra of the control group and the treatment group.
[0029] Taking cell type Type 1 as an example: First, the expression profiles of the control group and the treatment group were separated from M1 to form two expression profiles. The average gene expression level of each gene in each group was taken as the characteristic expression profile of the two groups, as shown in Table 4 below: Table 4: Schematic diagram of expression profile breakdown and characteristic expression profile calculation for each group in cell type Type 1
[0030] The Euclidean distance E1 between the two feature expression spectra (which can also be replaced by Manhattan distance) is calculated, which is the feature expression spectrum distance.
[0031] S1052, the cells of this cell type were shuffled from their original groups and randomly regrouped into two random groups based on the number of cells in each group. The characteristic expression profiles of each group were then calculated, as shown in Table 5 below. Table 5: Schematic diagram of recalculated characteristic expression profiles after shuffling the grouping of T1 cell types
[0032] Based on the feature expression spectrum obtained from Table 5 above, calculate the feature expression spectrum distance.
[0033] S1053, repeat step S1052 several times, preferably 1000 times, to obtain 1000 feature expression spectrum distances; use these 1000 feature expression spectrum distances as the natural difference zero distribution Z1 of the expression spectrum of cell type Type1.
[0034] S1054, calculate the ratio S1 of the characteristic expression spectrum distance E1 obtained in S1051 to the average value u1 of the natural zero-distribution of the expression spectrum Z1, i.e., S1 = E1 / u1, which is the differential enrichment score. The same logic applies to other cell types, yielding several differential enrichment scores S. n To assess the magnitude of changes in expression patterns between the control and comparison groups.
[0035] S106, the cell types are classified according to differential enrichment scores S n The cells are ranked from largest to smallest to assess the degree of differential enrichment in expression patterns of each cell type in a comparison between two groups, and to rank them according to their potential research value. The differential enrichment score S is used to rank the cells. n The larger the value, the higher the potential research value of the corresponding cell type.
[0036] Example 2: Based on Example 1, Example 2 further performs reliability screening on the cell types before ranking in S106. Specifically, it includes the following steps (taking cell type Type 1 as an example): S1061, compare the feature expression spectrum distance E1 with the natural zero distribution of expression spectrum differences Z1 of the corresponding cell type, and record the number N1 of values greater than the feature expression spectrum distance E1 in the natural zero distribution of expression spectrum differences; S1062, calculate the product of the proportion of this number in the natural zero distribution of expression profile Z1 and the total number of cell types n, and use it as the p-value after correction for the cell type difference, i.e., p1=N1 / Y*n, where Y represents the number of characteristic expression profile distances in the natural zero distribution of expression profile Z1; the p-value is used to measure the reliability of the difference, and the smaller the p-value, the more significant the difference.
[0037] S1063, cell types with p-values greater than the threshold G (usually set to 0.05) are excluded, and the ranking of the remaining cell types is used as the ranking of the differences in expression patterns and potential research value between the control group and the comparison group in each cell type.
[0038] Example 3: A computer storage medium storing a computer program, characterized in that, when executed by a processor, the program implements the single-cell expression pattern difference assessment method based on two-group comparison as described in Embodiment 1 or Embodiment 2.
[0039] Example 4: A terminal device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor, when executing the computer program, implements the single-cell expression pattern difference assessment method based on two-group comparison as described in Embodiment 1 or Embodiment 2.
[0040] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the invention. Therefore, the embodiments should be considered in all respects as exemplary and non-limiting, and the scope of the invention is defined by the appended claims rather than the foregoing description. Thus, it is intended that all variations falling within the meaning and scope of equivalents of the claims be included within the present invention.
Claims
1. A method for assessing differences in single-cell expression patterns based on reliability screening, characterized in that, Includes the following steps: S101, combined single-cell transcriptome expression profiles of the control and treatment groups; S102, grouping all cells in the merged single-cell transcriptome expression profile; S103, cell type identification for each cell population; S104, screened out cell types that coexisted in the control group and the treatment group, and extracted their expression profiles; S105, calculate the differential enrichment score for this cell type; S106, rank the cell types according to their differential enrichment scores from highest to lowest; The method for calculating the difference enrichment score is as follows: S1051, calculate the characteristic expression spectrum distance between the control group and the treatment group in this cell type; S1052, the cell groups of this cell type are shuffled and randomly regrouped into two groups according to the number of cells in the original groups, and the characteristic expression spectrum distance is calculated for each group. S1053, repeat step S1052 several times to obtain multiple feature expression spectrum distances that constitute the natural difference zero distribution of the expression spectrum; S1054, calculate the ratio of the feature expression spectrum distance obtained in S1051 to the average value of the natural difference zero distribution of the expression spectrum, which is the difference enrichment score; The cell types are also subjected to reliability screening before ranking in S106, including the following steps: S1061, compare the feature expression spectrum distance with the natural zero distribution of expression spectrum differences for the corresponding cell type, and record the number N1 of values greater than the feature expression spectrum distance in the natural zero distribution of expression spectrum differences; S1062, calculate the product of the proportion of this number in the natural zero distribution of expression profile and the total number of cell types, and use it as the p-value after correction for cell type difference; S1063, exclude cell types with p values greater than the threshold G; The method for solving the feature representation spectral distance is as follows: The control group and the treatment group are separated from the original expression profile to form two expression profiles. The average gene expression level of each gene in each group is taken as the characteristic expression profile of the control group and the treatment group. The distance between the characteristic expression profiles of the control group and the treatment group is calculated to obtain the characteristic expression profile distance.
2. The method for evaluating single-cell expression pattern differences based on reliability screening according to claim 1, characterized in that, The distance is either Euclidean distance or Manhattan distance.
3. The method for evaluating single-cell expression pattern differences based on reliability screening according to claim 1, characterized in that, In S102, the cells are normalized and / or PCA dimensionality reduction is performed before the cells are grouped.
4. The method for evaluating single-cell expression pattern differences based on reliability screening according to claim 1, characterized in that, In step S103, cell types are identified using cell type-specific marker genes, and cell populations that highly express marker genes are identified as the corresponding cell types; or, SingleR software is used to identify each cell type.
5. A computer storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the program implements the single-cell expression pattern difference assessment method based on reliability screening as described in any one of claims 1 to 4.
6. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the single-cell expression pattern difference assessment method based on reliability screening as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Differential analysis method and system based on single cell samples of mixed experimental group and control group
CN114864003A
Single cell transcriptome data availability analysis method, medium and equipment
CN115424668A
