Summary
A major challenge in single-cell gene expression analysis is to discern meaningful cellular heterogeneity from technical or biological noise. To address this challenge, we present entropy sorting (ES), a mathematical framework that distinguishes genes indicative of cell identity. ES achieves this in an unsupervised manner by quantifying if observed correlations between features are more likely to have occurred due to random chance versus a dependent relationship, without the need for any user-defined significance threshold. On synthetic data, we demonstrate the removal of noisy signals to reveal a higher resolution of gene expression patterns than commonly used feature selection methods. We then apply ES to human pre-implantation embryo single-cell RNA sequencing (scRNA-seq) data. Previous studies failed to unambiguously identify early inner cell mass (ICM), suggesting that the human embryo may diverge from the mouse paradigm. In contrast, ES resolves the ICM and reveals sequential lineage bifurcations as in the classical model. ES thus provides a powerful approach for maximizing information extraction from high-dimensional datasets such as scRNA-seq data.
Keywords: single-cell RNA sequencing, feature selection, human embryo inner cell mass
Graphical abstract
Highlights
-
•
Entropy sorting (ES), a computational framework for denoising high-dimensional data
-
•
ES outperforms popular feature selection and imputation methods on synthetic data
-
•
ES unveils an inner cell mass population in human embryo scRNA-sequencing data
In this work, Radley and colleagues present entropy sorting, a mathematical framework developed to mitigate noise in scRNA-seq analysis. On both synthetic data and human embryo scRNA-seq data, entropy sorting enables higher resolution of gene expression dynamics than other available methods. The method reveals a distinct inner cell mass signature in the human blastocyst, preceding pluripotent epiblast and hypoblast.
Introduction
Single-cell RNA sequencing (scRNA-seq) (Tang et al., 2009) is a powerful technique for studying cell identity and heterogeneity by capturing transcriptome-wide RNA expression at single-cell resolution. As such, scRNA-seq yields an unbiased dataset, rather than being restricted to a pre-defined subset of genes of interest. However, the cost of this information-rich data is a practical limitation known as the curse of dimensionality (CoD) (Bellman 1967). This phenomenon arises when analyzing datasets with increasingly large dimensions: the number of features or variables. In the context of scRNA-seq, we typically refer to each gene as a feature and each cell as sample. As the number of features increases, our ability to discern patterns between samples and/or features decreases (Altman and Krzywinski 2018). Thus, by sequencing tens of thousands of genes, we may reduce our ability to identify differential gene expression patterns. The challenge is exacerbated by technical artifacts introduced during data collection, such as batch effects and false negative dropouts (Kiselev et al., 2019), which weaken the correlations between cells and genes.
The antidote to this challenge is the blessing of dimensionality (Zimek et al., 2012): if the features within a dataset are highly structured, so their values correlate strongly, the presence of additional correlated features will increase our ability to separate distinct samples. This implies that the CoD may be viewed as the presence of a large number of features whose values are random in relation to groups of similar samples. In scRNA-seq, such features correspond to genes that do not inform cell state, such as housekeeping genes. It has been estimated that of the tens of thousands of distinct transcripts captured in a typical scRNA-seq assay, only 3,000–5,000 of them relate to cell-type-specific expression patterns (Ramskö Ld et al., 2009).
To overcome the high dimensionality of scRNA-seq data, several methodologies have been developed (Kiselev et al., 2019; Wu and Zhang 2020). The most commonly used are feature extraction and highly variable gene (HVG) selection. Feature extraction methods such as principal component analysis and uniform manifold approximation and projection (UMAP) (McInnes et al., 2018) attempt to compress a high-dimensional dataset into a smaller set of highly informative features. HVG selection seeks to identify a subset of genes more predictive of distinct cell types than randomly expressed genes. While it is a widely used pre-processing strategy, HVG selection can struggle to account for important but lowly expressed genes or genes present in only a small fraction of cells (Källberg et al., 2021). Furthermore, evaluation of various HVG methods found that different techniques show poor overlap in HVGs suggested from the same datasets and that highly expressed genes were often incorrectly flagged as HVGs (Yip et al., 2018). This poor consistency may arise because gene selection is carried out in a univariate manner based on a weak mechanistic assumption that genes with high expression variance correspond to different cell types.
In this work, we introduce a mathematical framework termed entropy sorting (ES). ES allows us to simultaneously measure the correlations between features while quantifying the likelihood that these correlations have been weakened due to the introduction of technical error, such as dropouts. We encode ES in an algorithm called FFAVES: functional feature amplification via entropy sorting. We use FFAVES to amplify the signal of groups of co-regulating genes in an unsupervised, multivariate manner. By amplifying the signal of genes with correlated expression, while filtering out genes that are randomly expressed, we can identify a subset of genes more predictive of different cell types. The output of FFAVES can then be used in our second algorithm, entropy sort feature weighting (ESFW), to create a ranked list of genes that are most likely to pertain to distinct sub-populations of cells in an scRNA-seq dataset. Unlike HVG selection, ESFW performs gene selection in a multivariate manner that specifically seeks to identify genes with consistent expression patterns, indicative of a distinct cellular identity.
Results
Entropy sorting
Pairwise feature correlations
The foundation of ES is to create a correlation metric analogous to metrics such as Pearson’s correlation or mutual information to define a common structure between the discrete states of two features. To do so, we re-imagine conditional entropy (CE) as a sorting problem between features whose samples can display two states, e.g., a gene being functionally active or inactive. As such, discretization of continuous data is a requirement for ES (supplemental information section 1). Given two features, CE ∈ [0, 1] quantifies the information needed to predict the state of one feature for a given sample when conditioned on the other feature. For example, CE = 0 indicates that the observed state of the conditioned feature is entirely determined upon observing the state of the second feature.
To develop CE into a sorting problem, we consider a toy example to guide the theoretical exposition (Figure 1A) in which 30 samples (cells) display discrete states for two features (genes). We hypothesize that partitioning all samples by the observed states of one feature will perfectly sort the states of the other. We designate the partitioning feature as the reference feature (RF). We then seek to quantify to what degree the RF sorts the states of the second feature, the query feature (QF). We calculate CE for the RF/QF pair via the entropy sort equation (ESE, Figure 1B). A detailed derivation of the ESE is provided in supplemental information section 2. Partitioning samples according to the RF form two groups (GI , i = 1, 2, Figure 1A). We can calculate the entropy of each group as a function of the number of QF minority states in G1: QFm,G1 (hereafter denoted as x).
The ESE defines a smooth parabolic function for calculating CE(x). We plot the ESE parabola for our toy example in Figure 1C and highlight four points of interest on the curve. Points (1) and (4) are the boundaries of the ESE, since x ≥ 0 (1) and x ≤ G1 (4). Point (2) corresponds to the maximum CE, the point at which the RF/QF pair is independent. Point (3) is CE of the observed samples in Figure 1A. The ESE parabola represents a common structure for any RF/QF pair that we use to define our correlation metric, which is important for two reasons. It demonstrates that any RF/QF pair, regardless of sample number or minority/majority state cardinality, has a quantifiable common structure. Further, it defines a mathematical framework that can be used to calculate the relationship between two features under the assumption that the features are dependent upon one another. Later we consider the assumption of feature independence, to quantify which of the two hypotheses is more likely.
The ES correlation metric can be broken down into three parts: sort direction (SD), sort weight (SW), and sort gain (SG).
SD describes whether the value of x corresponds to an enrichment of QF minority states in G1 or G2, such that
(Equation 1) |
where xmaximum is the value of x at the maximum of the parabola. If SD = 1, the system is sorting toward the global minimum, since the minimum when x > xmaximum always has a lower CE than when SD = −1. SW is the maximum amount of entropy that would be removed from the system if it existed at either minimum. Hence, it is dependent on SD:
(Equation 2) |
where MaxEnt, MinEntlocal and MinEntglobal are the maximum, local and global minimums defined by the ESE parabola.
Lastly, SG is similar to a well-established metric from information theory: information gain (IG) (Quinlan 1986). IG refers to the decrease in entropy from the scenario in which QF and RF are independent to when QF is dependent on RF. SG is the same decrease in entropy, but as a fraction of the total entropy that would be removed at the relevant minimum. Formally,
(Equation 3) |
where ObsEnt is the observed entropy for a given RF/QF pair (point (3) in Figure 1C).
The entropy sort score (ESS) is the product of these values for any RF/QF pair:
(Equation 4) |
where SD = ±1, 0 ≤ SG ≤ 1 and 0 ≤ SW ≤ 1. Hence, for any RF/QF pair, ESS ∈ [−1, 1], similar to other correlation metrics.
Divergence
The ESE parabola describes how CE changes for an RF/QF system with fixed minority/majority state proportions but varying RF/QF dependencies. To quantify to what degree observed RF/QF samples appear to be in the wrong state, we introduce divergence: a measure of how far away the observed states of an RF/QF pair are from an optimally dependent system.
(Equation 5) |
To demonstrate the concept of divergence, we consider three toy examples (Figures 2Ai–2Aiii). Example (i) represents the ground truth, where a strong but imperfect dependent relationship exists between the observed states of the RF/QF pair. Here we observe the maximum number of minority state RF/QF sample overlap, indicated by the samples that have blue and green expression states (x = 10). Accordingly, CE is equal to the global minimum of the ESE parabola. In (ii) we introduce an error such that one of the minority state QF samples is incorrectly observed as a majority state (marked “X"). This changes the parameters of the ESE, causing the parabola to shift (blue to orange). Since the error occurs in the non-overlapping region of the RF/QF minority states (the green minority state where the dropout occurred does not overlap with a blue minority state in the ground truth), the observed system still exists on the global minimum, and no divergence has been observed. In example (iii), we introduce an erroneous data point in the overlapping minority state samples. This does not alter the parameters of the ESE, so the parabola is unchanged (orange), but the observed CE is greater than the global minimum. This movement away from the global/local minimum (SD = 1/− 1) is the divergence, calculated by Equation 5.
The simple examples in Figure 2A introduce scenarios where error can be observed through divergence. We have identified eight distinct scenarios in which error in an RF/QF system may be observed through divergence (Figure S1). Distinguishing between these scenarios is important for the implementation of ES, as discussed later.
ES hypothesis testing
We use the concept of divergence to perform hypothesis testing. We test both the hypothesis that the features are dependent, so observed divergence is due to technical noise/error, and the null hypothesis that the features are independent.
Under the assumption of dependence, the ESE quantifies the distance an observed RF/QF pair is from optimal dependence. We consider each divergent state, a state that moves the observed system away from the local/global minimum. We assign a proportion of the total divergence to each cell showing a divergent state, as the divergence per cell (DPC),
(Equation 6) |
When SD = 1, divergent cells are those where an RF minority state overlaps with a QF majority state (Figures 2Aiii and 2Biv). When SD = −1, divergent cells occur when an RF minority state overlaps with a QF minority state. We visualize the DPC for example (iv) in Figure 2Biv as the gradient between the global minimum and the observed entropy (green line).
Under the null hypothesis, we assume RF/QF is independent and the observed minority state overlap (x) has occurred by chance. Therefore, after a sufficient number of re-samplings of observed states from both RF and QF, we would expect on average that x and CE would equal their values at the maximum of the ESE parabola. Hence, under the null hypothesis,
(Equation 7) |
In Figure 2B, DPCIndependent is the gradient of the orange line.
We combine DPCDependent and DPCIndependent to define our final metric, the error potential (EP). EP allows us to compare whether observed divergence is more likely due to the hypothesis that RF and QF are dependent and error has been introduced to the system, or instead that the features are independent:
(Equation 8) |
EP > 0 indicates that hypothesis of dependence holds, while EP < 0 indicates that the null hypothesis holds. In our software, we use EP to minimize the presence of erroneous data points and, in turn, amplify the signal of features that have dependent relationships. For information regarding how to identify which feature is the RF and QF for any pair, please see supplemental information section 3.
FFAVES and ESFW
The metrics defined by ES are encoded in two algorithms. The first, FFAVES, uses ES to identify data points in a discrete matrix that are statistically likely to be displaying the wrong state. By correcting these data points, we aim to amplify the signal of feature correlations. The second algorithm, ESFW, assigns an importance weight to each feature in the data. Higher weights indicate that a feature is more likely to belong to a set of dependent features, while lower weights pertain to features that are randomly expressed throughout the data.
FFAVES and ESFW encode the mathematical framework of ES to perform multivariate expression state correction and feature importance weighting, respectively. EP is the cornerstone of both software, enabling unsupervised analysis while identifying combinatorial gene expression patterns. EP implicitly identifies whether the relationship between any two features is more likely to have occurred by chance or due to some functional relationship, without any need to define a threshold for this decision. This simultaneously allows the software to ignore uninformative pairs of genes in a manner that directly addresses the CoD. To the authors’ knowledge, there are no alternative unsupervised multivariate feature selection techniques available that are specialized for bioinformatics (Saeys et al., 2007).
Figure 3 provides a workflow for FFAVES and ESFW, while detailed descriptions of each software are found in supplemental information sections 4 and 5. We emphasize that the aim of FFAVES and ESFW is to identify genes that are consistently co-expressed within a scRNA-seq dataset. This does not necessarily constitute all genes that have unique expression patterns within distinct cell populations. Some genes may be missing due to technical limitations or poor discretization. Rather, by filtering to ES selected genes, we amplify the predominant expression structure in the data. Subsequently, users should consider how other genes may relate to the refined resolution of cell populations. This is illustrated below, in our analysis of human pre-implantation embryo data.
Synthetic data
We curated a simple synthetic dataset with known ground truth to quantify the performance of FFAVES and ESFW (Figure 4A, with further detail in supplemental information section 7). Briefly, we define five synthetic cell types according to sets of ∼200 “highly structured" genes that are tightly and uniquely co-expressed (Figure 4E, bottom panel). Subsequently, we introduce random dropouts to these cells to mimic technical error (Figure 4E, top panel). We include an additional 500 randomly expressed genes that are designated as “uninformative" genes, as well as “leaky gene expression," which refers to false positive (FP) expression of highly structured genes outside of a gene’s specific cell type. We introduce 50 multi-modal genes that have a “medium" expression level in one cell type and “high" in a second. Finally, we created a set of multiple cells (20% of all cells) by randomly combining expression profiles from the five synthetic cell types.
We use this relatively simple representation of scRNA-seq data to dissect the performance and limitations of FFAVES and ESFW, as it facilitates a level of detailed analysis that could not be obtained from a dataset generated by stochastic simulation. To demonstrate the generalizability of ES we further apply ES to synthetic data generated by the Dyngen scRNA-seq simulation software (Cannoodt et al., 2021), as shown in Figures S2, S3, and S4.
FFAVES accurately identifies FN and FP data points
We apply FFAVES to our first synthetic dataset to illustrate how the algorithm amplifies co-regulatory patterns of the 969 structured genes in an unsupervised, multivariate manner. First, to discretize the data, we sampled a discretization threshold from an N (4, 0.2) distribution for each gene. Since the mean expression for each gene is 5, these thresholds increase the probability that a cell in which the gene has nonzero expression (Figure 4A) will display that gene as inactive in the discrete matrix. This producedFNs caused by sub-optimal discretization strategies, which we introduce intentionally to demonstrate that FFAVES can automatically account for such problems.
After eight cycles of FFAVES, the system converges on a set of suggested FN/FP data points (Figure 4B). We can then compare the discrete expression matrix output by FFAVES with the ground truth matrix (Figure S4A). FFAVES performs well, with precision and recall scores of 94.1% and 83.1%, respectively, for the identification of FNs, and 63.6% and 63.2% for FPs (Figures 4C and 4D). We verified that these precision and recall scores are robust across repeated stochastically generated synthetic datasets (Figure S5).
The majority of FNs that FFAVES fails to identify occur in genes active in very few cells, even in the ground truth data with no intentional FNs. This represents a limit of sensitivity where genes expressed in roughly 20 or fewer samples are difficult for FFAVES to repair (supplemental information section 6). Although there is a drop in performance for FP identification, FFAVES is designed to be intentionally conservative when suggesting FP data points to maximize the accuracy of FN identification (supplemental information section 4). Furthermore, the authors are unaware of an existing methodology that can discriminate between FN and FP data points. We also find that FFAVES does not suggest that any of the 500 randomly expressed genes contained FNs or FPs. This is because ES hypothesis testing can discriminate between overlapping minority states between independent and dependent features.
In Figure 4E, we show the ESS (Equation 4) for all gene pairs to illustrate the recovery of gene co-expression relationships. We compare the synthetic data with dropouts (top) with after the application of FFAVES (middle) and the ground truth (bottom). Figure 4F corroborates Figure 4E, showing that the silhouette scores for the seven main gene expression groups are corrected to values close to those of the ground truth. The small groups of genes with high negative scores (Figure 4F, middle) are the same genes as previously highlighted, which are expressed in a small number of cells, so FFAVES struggles to recover ground truth co-expression patterns. These genes have negative silhouette scores because their expression profiles are now more similar to randomly expressed genes than the repaired highly correlated genes. Hence the negative scores of genes in clusters 2–6 indicate that they should be part of randomly expressed genes cluster (pink), rather than their ground truth cluster.
Finally, Figure 4G demonstrates the ability of FFAVES to automatically account for sub-optimal discretization thresholds. Controlled identification of such FNs is equivalent to correcting the discretization threshold. Since we know which FNs resulted from the sub-optimal discretization process, we can quantify the proportion that were corrected by FFAVES. For our synthetic dataset, FFAVES correctly identified 83.1% of these FNs. Once again, a large proportion of the 16.9% FNs not identified correspond to genes for which the number of cells with active expression was below the sensitivity of FFAVES (Figure 4G, dark or red markers).
FFAVES facilitates accurate FN imputation
To compare against other tools designed to repair FN data points, we used the FNs suggested by FFAVES to perform imputation. To focus on quantifying correctly identified FNs, we chose a simple method for estimating the values of suggested FNs, the impute.IterativeImputer function from the sklearn Python package. This yields an imputed gene expression matrix for comparison with other scRNA-seq imputation software: MAGIC (Dijk et al., 2018), ALRA (Linderman et al., 2022), and SAVER (Huang et al., 2018). These tools were chosen as top-ranking examples of software that cover the three main classes of imputation methods (Hou et al., 2020): smoothing (MAGIC), low-rank matrix-based approximation (ALRA), and probabilistic modeling (SAVER).
Figure 5A uses UMAPs to visualize how well each imputation method repairs the synthetic data with dropouts and batch effects. Qualitatively, FFAVES performs best, yielding an embedding most similar to the ground truth. The most notable difference in the MAGIC and ALRA embeddings is the amplification of batch effects, observed as tight groups of the same cell types separated by batch (yellow and black clusters). When the ground truth is known, identification of spurious imputations such as batch effect amplification is easy. However, without a ground truth, identifying spurious imputation becomes more difficult. This can lead to clusters of cells that are computational artifacts, rather than true biological signals (Hou et al., 2020; Andrews and Martin, 2019). SAVER performs better than MAGIC and ALRA in mitigating noise due to batch effects. However, SAVER recovers a lower resolution of cell type heterogeneity compared with FFAVES, MAGIC, and ALRA, indicated by looser connectivity between local cell populations.
In Figure 5B, we use silhouette scores for six cell type clusters to quantitatively assess imputation performance. Imputation via FFAVES recovers cell clusters that closely resemble the ground truth. The silhouette scores after MAGIC imputation suggest data overfitting: samples appear considerably more similar to each other than in the ground truth. Such overfitting is an example of how metrics such as the silhouette score can be misleading without a ground truth for context. Higher silhouette scores can be incorrectly assumed to be synonymous with better imputation. The ALRA silhouette scores are similar to FFAVES and the ground truth, albeit with some slight overfitting. Finally, the SAVER silhouette scores are worse than the dropout + batch effect synthetic data. In particular, some cells have negative silhouette scores, indicating that they no longer cluster with their original cell type labels.
ESFW accurately discriminates informative features
The ESFW algorithm is designed to weight features using an unsupervised process that identifies combinatorial gene expression patterns. Higher weights indicate those that are more likely to be informative for sample identities/clusters. For a detailed description of ESFW see supplemental information section 5. We used ESFW to calculate the feature weights for our dropout + batch effect synthetic data before/after FFAVES, as well as for the ground truth data. Even without applying FFAVES, a bimodal distribution of weights emerges (Figure 5C, top). Those genes with feature weights close to or equal to zero are the uninformative genes. The second group with feature weights around 0.001 comprise over 97% of the 969 highly structured informative genes. However, as expected, these highly structured genes in the dropout + batch effect synthetic data have feature weights lower than that of the ground truth data. After applying FFAVES, we find that a large proportion of the informative genes have feature weights that closely resemble those of the ground truth (Figure 5C, bottom), further demonstrating that FFAVES accurately re-captures feature dependencies. The small fraction of informative genes that retain feature weights of around 0.001 comprise the same genes previously suggested to have ground truth minority state cardinalities too low for FFAVES to identify and repair.
Since ESFW provides a score for each feature with regard to sample structure, we can form a ranked list of gene importance. We can use ranked gene lists from ESFW and other feature selection software to compare their ability to distinguish between the highly structured cell-type-specific genes and the uninformative genes in our synthetic data. Because feature selection is a common and important step in workflows for analyzing scRNA-seq data, several implementations have been developed. We selected three unsupervised and popular tools (Yip et al., 2018) for comparison: Scran (Lun et al., 2016), Seurat (Hao et al., 2021), and scry (Townes et al., 2019).
Figure 5D presents the precision/recall curves from applying each tool to our synthetic data. For all plots except the results obtained after applying FFAVES to the dropout synthetic data (orange dashed line), feature selection was performed on the synthetic data with dropouts + batch effects. The ESFW precision/recall curves show high discrimination between structured and randomly expressed features, up to a recall of 0.97. Conversely, Seurat, Scran, and scry show a considerable drop in precision at recall values less than 0.1, indicating that these methods struggle to differentiate between the informative and uninformative genes. Precision scores below the red dashed line are those where a higher fraction of uninformative genes are inspected than would on average be observed under random sampling of genes.
FFAVES and ESFW reveal a high-resolution scRNA-seq embedding of the human pre-implantation embryo
To test the utility of ES for examination of real biological systems, we considered human pre-implantation embryo scRNA-seq data containing 1,751 cells and 34,054 genes, compiled by Meistermann et al. (2021). Using FFAVES and ESFW, we identified a set of 3,700 highly informative genes. Restricting the expression matrix to these genes, we generated UMAPs that identify distinct cell type populations along the developmental time course (Figure 6A). Thus, the embryonic day (E) labels progress chronologically from the bottom right to the top left of the UMAP. Importantly, we generated this high-resolution embedding without any augmentation of the original expression matrix: no data transformations, batch correction, smoothing, or imputation. This gives confidence that any cell similarities or gene expression signatures identified are likely to be biologically significant rather than introduced during computational pre-processing.
An initial comparison of our UMAP embedding with the labels identified by the Meistermann et al. (2021) analysis indicates generally good agreement with their supervised analysis (Figure S6A). However, there are discrepancies among proposed epiblast (Epi) and hypoblast (Hyp) populations, and in contrast to Meistermann, our study identifies a distinct early inner cell mass (ICM) population. Identification of the ICM in human embryos has been a subject of debate that has provoked alternative models of early lineage segregation (Weltner and Lanner 2021).
Independent validation of our UMAP embedding
To examine and validate the UMAP embedding, we compare it against previous analyses of human and primate pre-implantation embryos. Stirparo et al. (2018) analyzed the Petropoulos et al. (2016) dataset (which accounts for 85% of the data in Meistermann et al. 2021) and proposed cell type annotations based on known gene expression signatures and unsupervised clustering. Overlaying Stirparo’s annotations onto our embedding, we find distinct groups of cells, indicating that the UMAP identifies cell clusters with specific gene expression signatures (Figure 6A). The increased clustering performance when using the 3,700 ES selected genes compared with the 4,484 HVG genes selected by Meistermann et al. (2021) can at least partially be explained by the ES genes further distinguishing cell type clusters (quantified by silhouette scores) for the ground truth cell types proposed by Stirparo et al. (2018) (Figure S7). Thus, our unsupervised feature selection approach is in better agreement with the supervised analysis of Stirparo et al. (2018) than HVG selection. Overlaying the UMAP with gene expression profiles of canonical Epi, Hyp, and trophectoderm (TE) markers (Stirparo et al., 2018; Amrani et al., 2019) shows consistency with the proposed cell labels (Figures 6B and S8).
To demonstrate that the structure in our UMAP is conserved in independent datasets, we created two sets of cell type classifiers from (1) human pre-implantation embryo cells from Yanagida et al. (2021) and (2) cynomolgus monkeys (Macaca fascicularis) pre-implantation embryo cells from Nakamura et al. (2016). We used the scANVI machine learning package (Gayoso et al., 2022) to train cell type classifiers on the cell labels allocated to the reference cells from Yanagida et al. or Nakamura et al. We then applied the classifiers to our UMAP embedding to predict cell types based on gene expression signatures. These analyses showed good agreement with the clusters identified in our embedding, with each cell type classifier scoring cells most highly in the expected regions of the UMAP (Figures 6C and S6B).
Together, the cell type labels from Stirparo et al. (2018), the cell-type-specific gene expression profiles, and the cell type classifiers created from independent human or Macaca pre-implantation embryo datasets provide four independent validations of our UMAP embedding. We conclude that FFAVES and ESFW have provided a higher resolution of cell type/gene expression dynamics than achieved by previous analyses of these data.
Defining the human pre-implantation embryo inner cell mass
There are two prevailing hypotheses regarding the establishment of the Epi, Hyp, and TE lineages during human pre-implantation development. Petropoulos et al. (2016) concluded from scRNA-seq analysis that the three lineages may emerge simultaneously. However, mouse experimental embryology studies have established a two-step model, with the first cell fate decision segregating TE from ICM at the late morula stage (Chazaud and Yamanaka 2016), after which the ICM differentiates into Epi and Hyp in the blastocyst. More recently, Meistermann et al. (2021) analyzed human and mouse pre-implantation embryo scRNA-seq data with an aim to resolve which model is operative. Although Meistermann et al. (2021) found supporting evidence for the two-step model in human development, they were unable to confidently identify an ICM population. In the absence of a clear ICM population, Meistermann et al. (2021) surmised that Hyp cells may emerge from the Epi.
In the FFAVES/ESFW UMAP embedding, divergence into either TE or ICM populations is apparent at E5 (Figures 6A and 6C). Proceeding from E5 to E6/7, the ICM cells differentiate into Epi and Hyp. As mentioned before, the proposed E5 ICM population has been previously suggested by Stirparo et al. (2018) but could not be resolved through dimensionality reduction techniques. The existence of the ICM is further supported by our classifier analysis utilizing independently generated ICM gene expression signatures (Figures 6C and S6B). Furthermore, by nearest neighbor analysis (inspecting the 10 most similar cells based on gene expression for the suggested ICM, Epi, and Hyp cells), we find that the Epi and Hyp cells are each connected to the ICM population, but they have very little connectivity to each other (Figures 6D and S6C). The lack of connectivity between the Epi and Hyp cells supports the hypothesis that both differentiate from the ICM, rather than Hyp emerging from Epi.
Identification of a distinct ICM population enables us to suggest gene markers for future studies. We sought to identify genes whose expression was localized to the human ICM cells in our UMAP embedding. In our GitHub repository (see experimental procedures), we describe how these markers were identified and list more potential ICM markers. For validation, we examined their expression in an independent tSNE embedding from Yanagida et al. (2021) (Figures 7A and S9). We present two broad types of ICM markers. Those such as FGF1 and PRSS3 display expression specifically in the ICM-labeled cells in both embeddings. The second set exhibit upregulated expression at E4 in addition to E5 ICM, and they are markedly downregulated in the Epi, Hyp, and TE populations. Examples of this group are BHMT and SPIC. We note that previous studies have proposed SPIC and PRSS3 as human ICM markers (Singh et al., 2019).
Immunostaining validates LAMA4 as an ICM marker that is extinguished in epiblast
To test whether markers identified from our UMAP embedding localize to the ICM, we performed immunostaining of LAMA4 on embryonic days 5–7 (E5–E7) human embryos. We selected LAMA4 as a cell surface protein with relatively high expression levels (>log210) within the ICM cells (Figure 7A) and with an available antibody reagent. At E5 (mid-blastocyst), LAMA4 is clearly localized to the cell surface of the ICM cells (Figure 7B). Co-expression of OCT4 and SOX17 confirms that hypoblast and epiblast lineages are not yet specified (Niakan and Eggan 2013). By E6/7 (late blastocyst), LAMA4 expression is downregulated, while OCT4+ and SOX17+ cells are segregated to epiblast and hypoblast fates respectively. These results provide validation that our embedding can identify the ICM population and specific markers prior to epiblast and hypoblast specification.
Discussion
Over the last decade, the advancement of next-generation sequencing (NGS) techniques has markedly increased the types and quantity of data that can be obtained on genome control of cell behavior (Anaparthy et al., 2019). While this increase in molecular information is exciting, it also presents new challenges around how best to analyze large, high-dimensional datasets to generate biological insight (Angerer et al., 2017). In this work we present entropy sorting, a mathematical framework that quantifies the correlations between features (genes) in a high dimensional dataset as a sorting problem. The theory of ES is encoded in two algorithms: FFAVES and ESFW. Together, these provide unsupervised pre-processing to increase the resolution of information extracted from scRNA-seq data, and high-dimensional data in general.
To demonstrate the effectiveness of ES, we applied our software to both synthetic and experimental scRNA-seq datasets. On synthetic data with known ground truth, we demonstrate that FFAVES and ESFW perform markedly better than popular HVG identification software at discriminating highly correlated and randomly expressed genes. When compared with other popular imputation software we show that FFAVES can identify FNs and FPs with high accuracy, and it facilitates imputation such that ground truth cell-cell similarities are recovered. Furthermore, ESFW was shown to outperform current popular methods in performing feature selection to distinguish cell-type-specific genes from randomly expressed genes.
Applied to scRNA-seq data from human pre-implantation embryos (Meistermann et al., 2021), FFAVES and ESFW identified a subset of 3,700 genes that were highly predictive of cell state. Filtering to these highly structured genes yielded UMAP embeddings with a higher resolution of gene expression dynamics during pre-implantation development than previously observed. Crucially, this was achieved by unsupervised filtering, without changing any values in the original gene expression matrix. Notably, FFAVES/ESFW revealed a distinct ICM population that precedes both the epiblast and hypoblast lineages. These analyses provide evidence for the two-step model of pre-implantation lineage segregation, which is well established in mouse development but has been disputed in human embryos due to failure of previous analyses to discriminate a distinct ICM population (Petropoulos et al., 2016; Meistermann et al., 2021; Stirparo et al., 2018). Immunostaining for LAMA4 shows ICM-specific expression at E5 with downregulation in epiblast and hypoblast at E6/E7. This result substantiates the reliability of our embedding and demonstrates the potential to identify new lineage-specific markers for analysis of early human development.
FFAVES and ESFW should be viewed as pre-processing steps that help to maximize the signal of highly structured features. We chose not to apply any batch correction, imputation, or feature extraction methods (other than UMAPs for visualization) to the human embryo data. In doing so we show that ES is able to address the CoD in a manner that elucidates hidden structure in scRNA-seq data simply by removing spurious/uninformative features, rather than needing to augment or smooth the data. However, it may be possible to gain an even higher resolution of gene expression dynamics by applying other scRNA-seq analysis tools (Wu and Zhang 2020), after application of FFAVES/ESFW.
ES has the potential to be useful in other domains. Within the scope of NGS techniques, ES should be straightforward to apply to methods such as single-cell Assay for Transposase-Accessible Chromatin sequencing (ATAC-seq) and Bisulfite sequencing (BS-seq). Furthermore, the requirement to provide ES with discrete data may be advantageous for multi-omics single-cell analyses (Anaparthy et al., 2019), which provide simultaneous readouts for multiple NGS techniques. Each technique can produce very different types of numerical outputs, so combining them into a single dataset/readout is non-trivial. ES has the potential to overcome this challenge by discretizing the data and framing the problem as the identification of functional relationships between the presence/absence of mRNA, chromatin accessibility/inaccessibility, or sequence methylation/non-methylation. Therefore, ES offers the possibility of combining different types of data for coherent analysis. Finally, beyond NGS techniques, ES should be a powerful tool for reducing the complexity of a wide variety of high-dimensional datasets, such as medical diagnostic or marketing data, in an efficient and unsupervised manner.
Experimental procedures
Human embryos
Supernumerary frozen human embryos were donated with informed consent by couples undergoing in vitro fertility treatment. Use of human embryos in this research is approved by the Multi-Centre Research Ethics Committee, approval O4/MRE03/44, and licensed by the Human Embryology Fertilization Authority of the United Kingdom, research license R0178.
Detailed descriptions of embryo preparation and embryo staining experimental procedures can be found in the supplemental experimental procedures.
Author contributions
Conceptualization: A.R., S-J.D., and A.S.; data curation: A.R., E.C-S., and J.N.; formal analysis: A.R.; funding acquisition: S-J.D. and A.S.; investigation: A.R., E.C-S., and J.N.; methodology: A.R.; project administration: S-J.D. and A.S.; resources: S-J.D., A.S., and J.N.; software: A.R.; supervision: S-J.D. and A.S.; validation: A.R., E.C-S., and J.N.; visualization: A.R. and E.C-S.; writing – original draft: A.R.; writing – review & editing: S-J.D. and A.S.
Acknowledgments
This research was supported by the Biotechnology and Biological Sciences Research Council (BBSRC, grant number BB/P021573/1). A.R. was funded by a BBSRC PhD studentship (1943266) with co-funding from the Microsoft Research PhD scholarship program. J.N. and E.C.-S. were funded by the BBSRC grant number BB/T007044/2. A.S. is a Medical Research Council Professor (G1100526/1). We are grateful to Lawrence Bates for assistance with human embryo thawing.
Conflict of interests
Sara-Jane Dunn was an employee at Microsoft Research during this study and is currently employed at DeepMind. Microsoft Research provided co-funding for Arthur Radley’s research council studentship and access to computational resources. Neither Microsoft Research nor DeepMind have directed any aspect of the study nor exerted any commercial rights over the results.
Published: October 13, 2022
Footnotes
Supplemental information can be found online at https://doi.org/10.1016/j.stemcr.2022.09.007.
Contributor Information
Austin Smith, Email: austin.smith@exeter.ac.uk.
Sara-Jane Dunn, Email: sjdunn@deepmind.com.
Supplemental information
Data and code availability
Computational workflows and data used for the generation of results in this article are available through the following sources.
The human pre-implantation embryo data may be found in a permanent Mendeley Data repository (Mendely Data: https://doi.org/10.17632/689pm8s7jc.1). This repository also contains detailed workflows to reproduce our results.
The data used to create our UMAP embedding are a combination of raw counts scRNA-seq data from Yan et al. (2013), Petropoulos et al. (2016), Fogarty et al. (2017), and Meistermann et al. (2021), which were compiled into a single gene expression matrix kindly provided by Meistermann et al. (2021). For information regarding data processing, please refer to their manuscript.
The Yanagida et al. (2021) human embryo data analyzed in this paper are available via GEO accession number GSE171820. The tSNE used in this paper for visualizing the data was kindly provided by the authors.
The Nakamura et al. (2016) Macaca embryo data analyzed in this paper are available via GEO accession number GSE74767.
Instructions to install FFAVES and ESFW can be found at https://github.com/aradley/FFAVES. This repository also contains the synthetic data and workflows to reproduce the synthetic data results in this article.
References
- Altman N., Krzywinski M. The curse(s) of dimensionality. 2018;15:399–400. doi: 10.1038/s41592-018-0019-x. [DOI] [PubMed] [Google Scholar]
- Amrani K.E., Alanis-Lobato G., Mah N., Kurtz A., Andrade-Navarro M.A. Detection of condition-specific marker genes from RNA-seq data with MGFR. PeerJ. 2019;7:e6970. doi: 10.7717/peerj.6970. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Anaparthy N., Ho Y.J., Martelotto L., Hammell M., Hicks J. Single-cell applications of next-generation sequencing. Cold Spring Harb. Perspect. Med. 2019;9 doi: 10.1101/CSHPERSPECT.A026898. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Andrews T.S., Martin H. False signals induced by single-cell imputation. F1000Res. 2019:1740. doi: 10.12688/f1000research.16613.2. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Angerer P., Simon L., Tritschler S., Wolf F.A., Fischer D., Theis F.J. Single cells make big data: new challenges and opportunities in transcriptomics. Curr. Opin. Syst. Biol. 2017;4:85–91. doi: 10.1016/J.COISB.2017.07.004. [DOI] [Google Scholar]
- Bellman R. Dynamic programming. Math. Sci. Eng. 1967;40:101–137. doi: 10.1016/S0076-5392(08)61063-2. [DOI] [Google Scholar]
- Cannoodt R., Saelens W., Deconinck L., Saeys Y. Spearheading future omics analyses using dyngen, a multi-modal simulator of single cells. Nat. Commun. 2021;12:1–9. doi: 10.1038/s41467-021-24152-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Chazaud C., Yamanaka Y. Lineage specification in the mouse preimplantation embryo. Development. 2016;143:1063–1074. doi: 10.1242/dev.128314. [DOI] [PubMed] [Google Scholar]
- van Dijk D., Sharma R., Nainys J., Yim K., Kathail P., Carr A.J., Burdziak C., Moon K.R., Chaffer C.L., Pattabiraman D., et al. Recovering gene interactions from single-cell data using data diffusion. Cell. 2018;174:716–729.e27. doi: 10.1016/j.cell.2018.05.061. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Fogarty N.M.E., McCarthy A., Snijders K.E., Powell B.E., Kubikova N., Blakeley P., Lea R., Elder K., Wamaitha S.E., Kim D., et al. Genome editing reveals a role for OCT4 in human embryogenesis. Nature. 2017;550:67–73. doi: 10.1038/nature24033. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Gayoso A., Lopez R., Xing G., Boyeau P., Valiollah Pour Amiri V., Hong J., Wu K., Jayasuriya M., Mehlman E., Langevin M., et al. A Python library for probabilistic analysis of single-cell omics data. Nat. Biotechnol. 2022;40:163–166. doi: 10.1038/s41587-021-01206-w. [DOI] [PubMed] [Google Scholar]
- Hao Y., Hao S., Andersen-Nissen E., Mauck W.M., 3rd, Zheng S., Butler A., Lee M.J., Wilk A.J., Darby C., Zager M., et al. Integrated analysis of multimodal single-cell data. Cell. 2021;184:3573–3587.e29. doi: 10.1016/j.cell.2021.04.048. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Hou W., Ji Z., Ji H., Hicks S.C. A systematic evaluation of single-cell RNA-sequencing imputation methods. Genome Biol. 2020;21:218. doi: 10.1186/s13059-020-02132-x. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Huang M., Wang J., Torre E., Dueck H., Shaffer S., Bonasio R., Murray J.I., Raj A., Li M., Zhang N.R. SAVER: gene expression recovery for single-cell RNA sequencing. Nat. Methods. 2018;15:539–542. doi: 10.1038/s41592-018-0033-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Källberg D., Vidman L., Rydén P. Comparison of methods for feature selection in clustering of high-dimensional RNA-sequencing data to identify cancer subtypes. Front. Genet. 2021;12:217. doi: 10.3389/fgene.2021.632620. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Kiselev V.Y., Andrews T.S., Hemberg M. Challenges in unsupervised clustering of single-cell RNA-seq data. Nat. Rev. Genet. 2019;20:273–282. doi: 10.1038/s41576-018-0088-9. [DOI] [PubMed] [Google Scholar]
- Linderman G.C., Zhao J., Roulis M., Bielecki P., Flavell R.A., Nadler B., Kluger Y. Zero-preserving imputation of single-cell RNA-seq data. Nat. Commun. 2022;13 doi: 10.1038/s41467-021-27729-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Lun A.T.L., McCarthy D.J., Marioni J.C. A step-by-step workflow for low-level analysis of single- cell RNA-seq data with Bioconductor. F1000Res. 2016;5 doi: 10.12688/F1000RESEARCH.9501.1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- McInnes L., Healy J., Saul N., GroBberger L. UMAP: Uniform Manifold approximation and projection. J. Open Source Softw. 2018;3.29:861. doi: 10.21105/JOSS.00861. [DOI] [Google Scholar]
- Meistermann D., Bruneau A., Loubersac S., Reignier A., Firmin J., Francois-Campion V., Kilens S., Lelievre Y., Lammers J., Feyeux M., et al. Integrated pseudotime analysis of human pre-implantation embryo single-cell transcrip- tomes reveals the dynamics of lineage specification. Cell Stem Cell. 2021;28:1625–1640.e6. doi: 10.1016/j.stem.2021.04.027. [DOI] [PubMed] [Google Scholar]
- Nakamura T., Okamoto I., Sasaki K., Yabuta Y., Iwatani C., Tsuchiya H., Seita Y., Nakamura S., Yamamoto T., Saitou M. A developmental coordinate of pluripotency among mice, monkeys and humans. Nature. 2016 doi: 10.1038/nature19096. [DOI] [PubMed] [Google Scholar]
- Niakan K.K., Eggan K. Analysis of human embryos from zygote to blastocyst reveals distinct geneexpression patterns relative to the mouse. Dev. Biol. 2013;375:54–64. doi: 10.1016/j.ydbio.2012.12.008. [DOI] [PubMed] [Google Scholar]
- Petropoulos S., Edsgard D., Reinius B., Deng Q., Panula S., Codeluppi S., Plaza Reyes A., Linnarsson S., Sandberg R., Lanner F. Single-cell RNA-seq reveals lineage and X chromosome dynamics in human preimplan- tation embryos. Cell. 2016;165:1012–1026. doi: 10.1016/J.CELL.2016.03.023. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Quinlan J.R. Induction of decision trees. Mach. Learn. 1986;1:81–106. doi: 10.1007/bf00116251. [DOI] [Google Scholar]
- Ramskö Ld D., Wang E.T., Burge C.B., Sandberg R. An abundance of ubiquitously expressed genes revealed by tissue transcriptome sequence data. PLoS Comput. Biol. 2009;5:1000598. doi: 10.1371/journal.pcbi.1000598. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Singh M., Widmann T.J., Bansal V., Cortes J.L., Schumann G.G., Wunderlich S., Martin U., Garcia-Canadas M., Garcia-Perez J.L., Hurst L.D., Izsvák Z. The selection arena in early human blastocysts resolves the pluripotent inner cell mass. bioRxiv. 2019:318329. doi: 10.1101/318329. Preprint at. [DOI] [Google Scholar]
- Stirparo G.G., Boroviak T., Guo G., Nichols J., Smith A., Bertone P. Integrated analysis of single-cell embryo data yields a unified transcriptome signature for the human pre-implantation epiblast. Development. 2018;145 doi: 10.1242/dev.158501. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Tang F., Barbacioru C., Wang Y., Nordman E., Lee C., Xu N., Wang X., Bodeau J., Tuch B.B., Siddiqui A., et al. mRNA-Seq whole-transcriptome analysis of a single cell. Nat. Methods. 2009;6:377–382. doi: 10.1038/nmeth.1315. [DOI] [PubMed] [Google Scholar]
- Townes F.W., Hicks S.C., Aryee M.J., Irizarry R.A. Feature selection and dimension reduction for single-cell RNA-Seq based on a multinomial model. Genome Biol. 2019;20:295. doi: 10.1186/S13059-019-1861-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Weltner J., Lanner F. Refined transcriptional blueprint of human preimplantation embryos. Cell Stem Cell. 2021;28:1503–1504. doi: 10.1016/J.STEM.2021.08.011. [DOI] [PubMed] [Google Scholar]
- Wu Y., Zhang K. Tools for the analysis of high-dimensional single-cell RNA sequencing data. Nat. Rev. Nephrol. 2020 doi: 10.1038/s41581-020-0262-0. [DOI] [PubMed] [Google Scholar]
- Saeys Y., Inza I., Larrañaga P. A review of feature selection techniques in bioinformatics. Bioinformatics. 2007;23:2507–2517. doi: 10.1093/BIOINFORMATICS/BTM344. [DOI] [PubMed] [Google Scholar]
- Yan L., Yang M., Guo H., Yang L., Wu J., Li R., Liu P., Lian Y., Zheng X., Yan J., et al. Single-cell RNA-Seq profiling of human preimplantation embryos and embryonic stem cells. Nat. Struct. Mol. Biol. 2013;20:1131–1139. doi: 10.1038/nsmb.2660. [DOI] [PubMed] [Google Scholar]
- Yanagida A., Spindlow D., Nichols J., Dattani A., Smith A., Guo G. Naive stem cell blastocyst model captures human embryo lineage segregation. Cell Stem Cell. 2021;28:1016–1022.e4. doi: 10.1016/j.stem.2021.04.031. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Yip S.H., Sham P.C., Wang J. Evaluation of tools for highly variable gene discovery from single-cell RNA-seq data. Brief. Bioinform. 2018;20:1583–1589. doi: 10.1093/bib/bby011. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Zimek A., Schubert E., Kriegel H.P. A survey on unsupervised outlier detection in high-dimensional numerical data. Stat. Anal. Data Min. 2012;5:363–387. doi: 10.1002/sam.11161. [DOI] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
Computational workflows and data used for the generation of results in this article are available through the following sources.
The human pre-implantation embryo data may be found in a permanent Mendeley Data repository (Mendely Data: https://doi.org/10.17632/689pm8s7jc.1). This repository also contains detailed workflows to reproduce our results.
The data used to create our UMAP embedding are a combination of raw counts scRNA-seq data from Yan et al. (2013), Petropoulos et al. (2016), Fogarty et al. (2017), and Meistermann et al. (2021), which were compiled into a single gene expression matrix kindly provided by Meistermann et al. (2021). For information regarding data processing, please refer to their manuscript.
The Yanagida et al. (2021) human embryo data analyzed in this paper are available via GEO accession number GSE171820. The tSNE used in this paper for visualizing the data was kindly provided by the authors.
The Nakamura et al. (2016) Macaca embryo data analyzed in this paper are available via GEO accession number GSE74767.
Instructions to install FFAVES and ESFW can be found at https://github.com/aradley/FFAVES. This repository also contains the synthetic data and workflows to reproduce the synthetic data results in this article.