A method for predicting cell differentiation using single-cell transcriptome data
By finding transitional cells and connecting cell groups in single-cell transcriptome data processing, combined with density-based methods, the problem of the inability to construct complex topological structures and noise effects with existing technologies is solved, and more accurate inference and mapping of cell differentiation trajectories are achieved. Build.
Patent Information
- Application Number
- CN202110954693.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-19
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2041-08-19
AI Technical Summary
Existing methods for inferring cell differentiation trajectories from single-cell mRNA sequencing data cannot construct complex topological structures, are not robust to noise, have low accuracy of inference results, and are difficult to handle closed loops and separated sub-trajectories.
By finding transitional cells in cell clusters and connecting corresponding cell groups, complex topological structures including closed loops and separated sub-trajectories are constructed. Density-based methods are used to replace absolute positions with relative distribution to reduce the impact of noise and infer cells. Differentiation trajectories.
It realizes the construction of cell differentiation trajectories with complex topological structures, improves the accuracy and robustness of the results, and is suitable for studying cell differences in cancer development stages and constructing cell differentiation maps.
Smart Images

Figure QLYQS_1 
Figure QLYQS_2 
Figure QLYQS_3
Abstract
Description
Technical Field
[0001] The present invention relates to the field of single-cell biological information technology, and in particular to a method for predicting cell differentiation using single-cell transcriptome data. Background Art
[0002] In biological systems, cells will exhibit a series of different states (such as dynamic changes in gene expression, etc.), and these states will transition in a certain time sequence. The most typical example is the cell differentiation process, from immature cells to mature cells. In addition, when cells are stimulated or disturbed by external factors, the expression of genes in cells may also undergo a series of changes, with some genes being silenced and others being newly activated, thus presenting a series of state transitions. These transient states are often difficult to characterize because it is almost impossible to purify cells from between more stable endpoint states, but single-cell transcriptomes can view these states without purification.
[0003] The specific study of the transition process between different cell states based on single-cell sequencing data is called the construction of cell trajectory or pseudo-time series. According to the expression of genes in cells, different cells are arranged from the start state, intermediate state, and end state according to the pseudo-time series. Organizing single cells along the developmental trajectory has become a powerful tool for understanding how gene regulation controls cell fate determination. In principle, cell trajectory analysis can be used for single-cell gene expression dynamics in a variety of cellular processes (including differentiation, proliferation, and oncogenic transformation).
[0004] Single-cell sequencing data makes it possible to analyze cell trajectories, but it also brings a huge amount of computing power and higher requirements for computing equipment. Currently, the existing technologies on the market that infer cell differentiation trajectories based on single-cell mRNA sequencing data mainly include Monocle, Scorpius, Tscan and other algorithms or software. However, the above technologies cannot construct complex topological structures due to the way they infer trajectories, and do not solve the impact of noise in single-cell mRNA sequencing data on the results. In addition, the method of determining cell differentiation trajectories is overly dependent on computer methods, so it has the following disadvantages: 1. It can only infer cell differentiation trajectories with simple topological structures (such as linear, tree-like, etc.), and more complex structures (such as closed loops, separated sub-trajectories, etc.) cannot be inferred; 2. It is not robust to single-cell data with high noise; 3. The accuracy of the inference results is not high. Summary of the invention
[0005] The purpose of the present invention is to provide a method for predicting cell differentiation using single-cell transcriptome data, which can at least solve one of the above problems.
[0006] According to one aspect of the present invention, a method for predicting cell differentiation using single-cell transcriptome data is provided, comprising the following steps:
[0007] S1. Data input; the data is a single-cell transcriptome data count matrix;
[0008] S2, data preprocessing, configured as a clean matrix;
[0009] S3, data dimension reduction / visualization, configured to extract principal component features and visualize;
[0010] S4, differentiation trajectory inference;
[0011] S5, pseudo-time prediction, configured to output a pseudo-time vector corresponding to each cell;
[0012] S6. Output the predicted cell differentiation trajectory, which corresponds to the cell category vector and pseudo time vector of each cell.
[0013] Thus, the present invention provides a new method for predicting cell differentiation using single-cell transcriptome data, which uses a method for finding transition cells in cell clusters and connecting corresponding cell groups, ensuring that any topological structure (including complex topological structures such as closed loops and separated sub-trajectories) can be constructed. In addition, using a density-based method, the relative distribution of cells rather than absolute positions is used as information to reduce the impact of noise data on the results. The method of the present invention can be used to study, for example, the development stage of cancer, the differences in its internal cells, and to construct cell differentiation maps of arbitrary topological structures.
[0014] In some embodiments, in step S2, data preprocessing includes the following steps:
[0015] S21, gene screening: select the top k genes with the largest variance (k is a positive integer);
[0016] S22, cell screening: remove cells containing a total gene count less than n (n is a positive integer);
[0017] S23, target gene determination: if n genes are provided, k target genes need to be found;
[0018] S24. Data standardization: Calculation is performed using standardized formulas.
[0019] In some embodiments, in step S23, the target gene determination can be achieved by one of the following methods:
[0020] (1) By finding the k genes with the highest correlation coefficient with the provided gene;
[0021] (2) Perform non-negative matrix factorization on the filtered data set and use the KNN algorithm to find the k / n nearest genes for each provided gene based on the decomposed W matrix;
[0022] The formula of the KNN algorithm is:
[0023] V≈W×H
[0024] Among them, V is the original data matrix, W is the matrix of dimension (g, m), and H is the matrix of dimension (m, c); g, c, and m are the number of genes, the number of cells, and the dimension after dimensionality reduction, respectively.
[0025] In some implementations, in step S24, the normalization formula is:
[0026] Among them, n g,c is the count of gene g in cell c, N c is the total gene count for each cell,
[0027]
[0028] The scale factor is a constant and has units of 10^4.
[0029] In step S3, the data dimension reduction includes the following steps:
[0030] S31, principal component dimension reduction (PCA): find the covariance matrix of the standardized mRNA count matrix, and find the eigenvalues and corresponding eigenvectors of the covariance matrix, arrange the eigenvectors into a matrix from top to bottom according to the corresponding eigenvalues, take the first k rows as the first k features extracted and form a new matrix after dimension reduction;
[0031] S32, T-stochastic neighbor embedding (tSNE): Based on the matrix after dimensionality reduction in step S3, the similarity between data points is converted into conditional probability. The similarity of data points in the original space is represented by Gaussian joint distribution, and the similarity of data points in the embedded space is represented by Student's t distribution. KL divergence is used as the loss function and optimized with the gradient descent algorithm to form a two-dimensional coordinate matrix of the cells.
[0032] In some embodiments, in step S4, the differentiation trajectory inference comprises the following steps:
[0033] S41. Cell clustering: A density-based clustering method was used to estimate the mixed Gaussian distribution model for the matrix data after dimensionality reduction using the expectation maximization algorithm, and the cell clusters were determined by combining the two-dimensional kernel density estimation. Each cluster was refitted using the minimum variance determination algorithm.
[0034] S42, statistical model fitting: using the minimum covariance decision algorithm;
[0035] S43. Transition cell prediction: based on the fitted model for each cluster:
[0036]
[0037] Among them, P c,d1 , P c,d2 is: the probability that cell c belongs to the d1, d2 cluster, C sum , C di f f is the classification threshold;
[0038] The cells that satisfy the above fitting model are transitional cells;
[0039] S44, connection condition determination: when the number of transitional cells exceeds the percentage threshold of the total number of cells in the corresponding cell group, it is determined that the corresponding cell group has a differentiation relationship;
[0040] S45. Trajectory generation: For any two cell populations that can be connected, the principal component curve is:
[0041] f(s)=E(Y|s f (y) = s); Y = (Y1, Y2)
[0042] Where f(s) is the expected value of all points in the probability distribution Y whose mapping index sf(y) is s;
[0043] Then iterate until convergence:
[0044]
[0045] Among them, S fDn (y) is the mapping index of the point passing through the principal component curve of cell cluster D, and n is the total number of principal component curves passing through cell clusters.
[0046] Therefore, by using the method of finding transition cells in cell clusters and connecting corresponding cell groups, the trajectory of any topological structure can be inferred, and the process of cell differentiation can be simulated more realistically. At the same time, using a density-based method, the relative distribution of cells rather than their absolute position is used as information to reduce the impact of noise data on the results.
[0047] In some implementations, in step S5, the pseudo time prediction comprises the following steps:
[0048] S51, determining the initial cell differentiation population: manually setting the initial cell population;
[0049] S52, assign pseudo time: based on cell distance and performed by the following formula:
[0050]
[0051] Among them, N D is the total number of cell types D, m is the total number of cell types, C m is the cell c in category m, and d(p,q) is the Euclidean distance between cell p and cell q.
[0052] Beneficial effects of the present invention:
[0053] The present invention provides a new method for predicting cell differentiation using single-cell transcriptome data, which uses a method of finding transition cells in cell clusters and connecting corresponding cell groups to ensure that any topological structure (including complex topological structures such as closed loops and separated sub-trajectories) can be constructed. In addition, using a density-based method, the relative distribution of cells rather than their absolute positions is used as information to reduce the impact of noise data on the results. The method of the present invention can be used to study, for example, the development stage of cancer, the differences in its internal cells, and to construct cell differentiation maps. DETAILED DESCRIPTION
[0054] The present invention will be further described in detail below in conjunction with the accompanying drawings.
[0055] The method for predicting cell differentiation using single-cell transcriptome data of the present invention comprises the following steps:
[0056] S1. Data input; the data is a single-cell transcriptome data count matrix;
[0057] S2, data preprocessing, configured as a clean matrix;
[0058] Specifically include:
[0059] S21, gene screening: select the top k genes with the largest variance (k is a positive integer);
[0060] S22, cell screening: remove cells containing a total gene count less than n (n is a positive integer);
[0061] S23, target gene determination: if n genes are provided, k target genes need to be found;
[0062] The above target gene determination can be achieved by one of the following methods:
[0063] (1) By finding the k genes with the highest correlation coefficient with the provided gene;
[0064] (2) Perform non-negative matrix factorization on the filtered data set and use the KNN algorithm to find the k / n nearest genes for each provided gene based on the decomposed W matrix;
[0065] The formula of the KNN algorithm is:
[0066] V≈W×H
[0067] Among them, V is the original data matrix, W is the matrix of dimension (g, m), and H is the matrix of dimension (m, c); g, c, and m are the number of genes, the number of cells, and the dimension after dimensionality reduction, respectively.
[0068] S24. Data standardization: Calculation is performed using standardized formulas.
[0069] The above normalization formula is:
[0070]
[0071] Among them, n g,c is the count of gene g in cell c, N c is the total gene count in each cell, where scalefactor is a constant with units of 10∧4.
[0072] S3, data dimension reduction / visualization, configured to extract principal component features and visualize;
[0073] The specific steps include:
[0074] S31, principal component dimension reduction (PCA): find the covariance matrix of the standardized mRNA count matrix, and find the eigenvalues and corresponding eigenvectors of the covariance matrix, arrange the eigenvectors into a matrix from top to bottom according to the corresponding eigenvalues, take the first k rows as the first k features extracted and form a new matrix after dimension reduction;
[0075] S32, T-stochastic neighbor embedding (tSNE): Based on the matrix after dimensionality reduction in step S3, the similarity between data points is converted into conditional probability. The similarity of data points in the original space is represented by Gaussian joint distribution, and the similarity of data points in the embedded space is represented by Student's t distribution. KL divergence is used as the loss function and optimized with the gradient descent algorithm to form a two-dimensional coordinate matrix of the cells.
[0076] S4, differentiation trajectory inference;
[0077] The specific steps include:
[0078] S41. Cell clustering: A density-based clustering method was used to estimate the mixed Gaussian distribution model for the matrix data after dimensionality reduction using the expectation maximization algorithm, and the cell clusters were determined by combining the two-dimensional kernel density estimation. Each cluster was refitted using the minimum variance determination algorithm.
[0079] S42, statistical model fitting: using the minimum covariance decision algorithm;
[0080] S43. Transition cell prediction: based on the fitted model for each cluster:
[0081]
[0082] Among them, P c,d1 , P c,d2 is: the probability that cell c belongs to the d1, d2 cluster, C sum , C diff is the classification threshold;
[0083] Cells that satisfy the above fitting model are transitional cells;
[0084] S44, connection condition determination: when the number of transitional cells exceeds the percentage threshold of the total number of cells in the corresponding cell group, it is determined that the corresponding cell group has a differentiation relationship;
[0085] S45. Trajectory generation: For any two cell populations that can be connected, the principal component curve is:
[0086] f(s)=E(Y|s f (y) = s); Y = (Y1, Y2)
[0087] Where f(s) is the index s of all mappings in the probability distribution Y f (y) is the expected value of the point s;
[0088] Then iterate until convergence:
[0089]
[0090] Among them, s fDn (y) is the mapping index of the point passing through the principal component curve of cell cluster D, and n is the total number of principal component curves passing through cell clusters.
[0091] Therefore, by using the method of finding transition cells in cell clusters and connecting corresponding cell groups, the trajectory of any topological structure can be inferred, and the process of cell differentiation can be simulated more realistically. At the same time, using a density-based method, the relative distribution of cells rather than their absolute position is used as information to reduce the impact of noise data on the results.
[0092] S5, pseudo-time prediction, configured to output a pseudo-time vector corresponding to each cell;
[0093] The specific steps include:
[0094] S51, determining the initial cell differentiation population: manually setting the initial cell population;
[0095] S52, assign pseudo time: based on cell distance and performed by the following formula:
[0096]
[0097] Among them, N D is the total number of cell types D, m is the total number of cell types, C m is the cell c in category m, and d(p,q) is the Euclidean distance between cell p and cell q.
[0098] S6. Output the predicted cell differentiation trajectory, which corresponds to the cell category vector and pseudo time vector of each cell.
[0099] The present invention provides a new method for predicting cell differentiation using single-cell transcriptome data, which uses a method for finding transition cells in cell clusters and connecting corresponding cell groups, ensuring that any topological structure can be constructed (including complex topological structures such as closed loops and separated sub-trajectories). In addition, using a density-based method, the relative distribution of cells rather than their absolute positions is used as information to reduce the impact of noise data on the results. The method of the present invention can be used to study, for example, the development stage of cancer, the differences in its internal cells, and to construct cell differentiation maps of arbitrary topological structures.
[0100] The above are only some embodiments of the present invention. For those skilled in the art, several modifications and improvements can be made without departing from the creative concept of the present invention, which all belong to the protection scope of the present invention.
Claims
1. A method for predicting cell differentiation using single-cell transcriptome data, characterized in that: The following steps are involved: S1. Data input; the data is a single-cell transcriptome data count matrix, and the behavioral gene names of the matrix are listed as cell names; S2, data preprocessing, configured as a clean matrix; S3, data dimension reduction / visualization, configured to extract principal component features and visualize; S4, differentiation trajectory inference; S5, pseudo-time prediction, configured to output a pseudo-time vector corresponding to each cell; S6. outputting a predicted cell differentiation trajectory, wherein the cell differentiation trajectory corresponds to a cell category vector and a pseudo time vector of each cell; In step S2, the data preprocessing includes the following steps: S21, gene screening: select the top k genes with the largest variance (k is a positive integer); S22, cell screening: remove cells containing a total gene count less than n (n is a positive integer); S23, target gene determination: if n genes are provided, k target genes need to be found; S24, data standardization: calculation by standardized formula; In step S23, the target gene determination can be achieved by one of the following methods: (1) By finding the k genes with the highest correlation coefficient with the provided gene; (2) Perform non-negative matrix factorization on the filtered data set and use the KNN algorithm to find the k / n nearest genes for each provided gene based on the decomposed W matrix; The formula of the KNN algorithm is: V≈W×H Where V is the original data matrix, W is a matrix of dimension (g, m), and H is a matrix of dimension (m, c); g, c, and m are the number of genes, the number of cells, and the dimension after dimensionality reduction, respectively; In step S24, the standardization formula is: Among them, n g , c is the count of gene g in cell c, Nc is the total gene count in each cell, and scale factor is a constant with a unit of 10^4; In step S3, the data dimension reduction includes the following steps: S31, principal component dimension reduction (PCA): find the covariance matrix of the standardized mRNA count matrix, and find the eigenvalues and corresponding eigenvectors of the covariance matrix, arrange the eigenvectors into a matrix from top to bottom according to the corresponding eigenvalues, take the first k rows as the first k features extracted and form a new matrix after dimension reduction; S32, T-stochastic neighbor embedding (tSNE): Based on the matrix after dimensionality reduction in step S3, the similarity between data points is converted into conditional probability. The similarity of data points in the original space is represented by Gaussian joint distribution, and the similarity of data points in the embedded space is represented by Student's t distribution. KL divergence is used as the loss function and optimized with the gradient descent algorithm to form a two-dimensional coordinate matrix of the cells. In step S4, the differentiation trajectory inference includes the following steps: S41. Cell clustering: A density-based clustering method was used to estimate the mixed Gaussian distribution model for the matrix data after dimensionality reduction using the expectation maximization algorithm, and the cell clusters were determined by combining the two-dimensional kernel density estimation. Each cluster was refitted using the minimum variance determination algorithm. S42, statistical model fitting: using the minimum covariance decision algorithm; S43. Transition cell prediction: based on the fitted model for each cluster: Among them, P c , d1 , P c , d2 is: the probability that cell c belongs to the d1, d2 cluster, Csu m ,Cdif f is the classification threshold; Cells that satisfy the above fitting model are transitional cells; S44, connection condition determination: when the number of transitional cells exceeds the percentage threshold of the total number of cells in the corresponding cell group, it is determined that the corresponding cell group has a differentiation relationship; S45. Trajectory generation: For any two cell populations that can be connected, the principal component curve is: f(s)=E(Ysf(y)=s); Y=(Y1, Y2) Where f(s) is the index s of all mappings in the probability distribution Y f (y) is the expected value of the point s; Then iterate until convergence: Among them, sf Dn (y) is the mapping index of the point of the principal component curve passing through the cell cluster D, and n is the total number of principal component curves passing through the cell cluster; In step S5, the pseudo time prediction comprises the following steps: S51, determining the initial cell differentiation population: manually setting the initial cell population; S52, assign pseudo time: based on cell distance and performed by the following formula: Among them, N D is the total number of cell types D, m is the total number of cell types, C m is the cell c in category m, and d(p,q) is the Euclidean distance between cell p and cell q.
