Summary
In single-cell RNA sequencing (scRNA-seq) studies, cell types and their marker genes are often identified by clustering and differentially expressed gene (DEG) analysis. A common practice is to select genes using surrogate criteria such as variance and deviance, then cluster them using selected genes and detect markers by DEG analysis assuming known cell types. The surrogate criteria can miss important genes or select unimportant genes, while DEG analysis has the selection-bias problem. We present Festem, a statistical method for the direct selection of cell-type markers for downstream clustering. Festem distinguishes marker genes with heterogeneous distribution across cells that are cluster informative. Simulation and scRNA-seq applications demonstrate that Festem can sensitively select markers with high precision and enables the identification of cell types often missed by other methods. In a large intrahepatic cholangiocarcinoma dataset, we identify diverse CD8+ T cell types and potential prognostic marker genes.
Keywords: feature screening, high-dimension data, mixture model, highly variable gene, double dipping, clustering analysis, marker gene identification, heterogeneity test, terminally differentiated effector memory T cell, terminal exhausted T cell
Graphical abstract

Highlights
-
•
Festem enables direct selection of cluster-informative marker genes from scRNA-seq
-
•
Festem effectively controls false discovery rates for marker identification
-
•
Festem improves clustering and identifies often-missed cell types
-
•
Festem is applied to analyze immune cell subsets in intrahepatic cholangiocarcinoma
Motivation
A fundamental problem in single-cell RNA sequencing (scRNA-seq) studies is identifying cell types and their associated marker genes using clustering and differential expression analysis between clusters. Many sequenced genes are cell-type irrelevant and significantly influence cell-type identification. Ideally, one should select marker genes for the best cell-type identification. However, because cell types are unknown, directly selecting marker genes seems impractical, and surrogate criteria, such as variance, deviance, and zero proportions, are used for gene selection. The surrogate criteria can miss important genes or select unimportant genes, leaving potentially relevant cell types unidentified. We aim to develop a method that can directly select marker genes with high accuracy and significantly improve cell-type identification.
Chen et al. develop Festem (feature selection by expectation maximization test), a method that enables direct cell-type marker gene selection for downstream clustering of scRNA-seq data. Festem outperforms existing methods in marker gene identification and improves clustering accuracy. Application to intrahepatic cholangiocarcinoma scRNA-seq data identifies potential prognostic biomarkers.
Introduction
Single-cell RNA sequencing (scRNA-seq) technologies have been widely used in many different areas to study the cellular states, transcriptomic dynamic changes, and intercellular communications in healthy or diseased tissues.1,2,3,4 One of the fundamental problems in scRNA-seq analysis is to identify cell types and their associated marker genes. In a standard protocol, cell types are first identified by clustering single cells based on a set of pre-selected genes. Then, assuming that the cell types derived from clustering are known, marker genes are detected by performing differentially expressed gene (DEG) analysis between the cell types. Although widely used, this protocol has two important issues to be resolved.
The first issue involves the selection of genes for clustering analysis. Current scRNA-seq technologies can profile ∼10,000 or more genes for thousands of single cells in one experiment. However, not all profiled genes contain information about cell types. Many genes have the same or very similar expressions in different cell types. Inclusion of these uninformative genes in the clustering can seriously influence the clustering accuracy and unnecessarily increase the computational burden. Currently, genes used for clustering are often chosen as the highly variable genes (HVGs) selected by methods such as HVGvst.5 However, HVGs are not always clustering informative (Figure S1A), and vice versa, clustering-informative genes may not be HVGs (Figure S1B). Important cell types can thus be difficult distinguish by the HVGs. Other gene selection methods6,7,8 have been developed. However, similar to HVGs, instead of directly selecting clustering-informative genes, they all use surrogate metrics and thus have the similar problem as HVGs.
The second issue is the so-called “double-dipping”9,10 or “selection-bias”11 problem. The expression data are first used for clustering and then reused for DEG detection to find marker genes of the obtained clusters using available methods such as DESeq212 and EdgeR.13 The uncertainty in the clustering is often ignored in the DEG detection step. However, single cells can be misclustered, especially for cell types with similar expression patterns. The noisy cluster labels can lead to decreased precision and increased false discoveries in marker gene detection.14 Recently, a few novel tools, such as the truncated normal (TN) test11 and singleCellHaystack,14 have been developed to address this problem. However, partly because these methods are often ad hoc and lack statistical theories for their statistical significance assessment, they still tend to report many false discoveries.
To address these two computational issues, we propose Festem (feature selection by expectation maximization [EM] test) that can accurately select clustering-informative genes before the clustering analysis and identify marker genes. We observe that the gene selection and marker gene detection problems are closely related. Ideally, a gene selection procedure should select all marker genes for downstream clustering analyses because marker genes are cluster informative and non-marker genes are not, and selecting marker genes should give the most accurate clustering and cell-type identification. Marker genes follow different distributions in different cell types (heterogeneous distribution) and are clustering informative. Non-marker genes follow the same distribution among different cell types (homogeneous distribution) and are clustering irrelevant. Festem selects the clustering-informative marker genes by performing a statistical test to determine if a gene is homogenously or heterogeneously distributed. Mathematical analysis shows that the homogeneity test asymptotically follows a distribution that can be bounded by a chi-squared distribution,15 which thus allows Festem to effectively control the false discovery rate (FDR) for marker gene detections. Extensive simulation and real data analyses reveal that clustering can be significantly improved based on Festem-selected genes, and Festem can sensitively detect marker genes with high precision. Finally, in an application to a large scRNA-seq dataset (122,329 cells) of intrahepatic cholangiocarcinoma (iCCA), Festem identifies two subtypes of CD8 T cells and their associated marker genes that may serve as important prognostic biomarkers of patients with iCCA.
Results
The Festem model and algorithm
For each gene, Festem performs a statistical test to determine if its expression is homogenously distributed (not a marker gene) or heterogeneously distributed (a marker gene) and assigns a p value based on the chi-squared distribution (Figure 1). The p values are adjusted for multiple comparisons using the Benjamini-Hochberg procedure.16 Genes are ordered by the adjusted p values, and the top genes are selected for clustering analysis. Users can then use these genes to cluster the single cells with available methods such as kmeans17 or the Louvain algorithm.18 Genes with significant adjusted p values are reported as marker genes. Given cluster labels, Festem then assigns the reported genes to the clusters as their markers by the Scott-Knott test19 (Figure 1).
Figure 1.
Overview of Festem
Single-cells are first roughly clustered to obtain a prior for the cell type compositions (optional). Then, Festem performs a hypothesis test to determine if genes are clustering informative and assigns p-values to genes based on the chi-square distribution (bottom panel). Priors can be incorporated in the EM-test. Genes are ordered by the adjusted p-values and top genes are selected as DEGs and used for clustering analysis. After clustering, Festem assigns DEGs to clusters as their markers by the Scott-Knott test. See also Figure S1.
Since the cell-type labels are unknown, we cannot directly compare the distributions of gene expression in different cell types to test whether a gene is homogenously distributed. However, if a gene is homogenously distributed, then its expression distributions in different cell types are the same and identical to its marginal distribution. On the other hand, if a gene is heterogeneously distributed, then it will have different distributions in at least two cell types, and its marginal distribution will be a mixture distribution (Figure 1). Therefore, homogeneity can be tested by testing whether the distribution is a mixture distribution.
We model the expression of a gene in a cell type following a negative binomial distribution.20 Thus, if a gene is homogenously distributed, then its marginal distribution is also a negative binomial distribution. If a gene is heterogeneously distributed, then its marginal distribution is a mixture of negative binomial distributions (Figure 1). Festem tests the homogeneity using an EM test for negative binomial distributions (STAR Methods), which can be viewed as a generalized version of the EM test for normal distributions.21 The EM test is very similar to log likelihood ratio tests, but it avoids the pathogenicity of log likelihood ratio tests for the mixture models.21 We develop a computational efficient algorithm to calculate the EM test statistic (STAR Methods). It can be proved mathematically that the EM test statistic is asymptotically less than a random variable15 (STAR Methods). Thus, the p value obtained from is conservative (i.e., the type I error can be effectively controlled), which is also validated by our simulation and real data analyses. Festem can also incorporate prior information, which is useful for down-weighting heterogeneously distributed genes due to factors other than cell types, such as cell cycles.22 The prior information can be very rough and may be chosen as the clustering based on the HVGs.
Festem enables accurate clustering and marker gene detection in simulation
We used simulation to evaluate the performance of Festem. In the simulation, we considered 4 different scenarios, including 2 different numbers of cell types (2 and 5 types) in the datasets and 2 different noise levels (low and high). For each scenario, we generated 20 simulation datasets, each of which had 3,000 cells and 20,000 genes (STAR Methods). We also varied the tuning parameter (the number of components in the mixture distribution) to study its influence on the performance of Festem.
We first compared the clustering accuracies based on genes selected by Festem and other widely used methods including HVGvst,5 HVGdisp,23 DUBStepR,24 devianceFS,8 and TrendVar.7 For all methods, we first selected their top 500 genes and computed the first 10 principle components, then used the Louvain algorithm18 to cluster the single cells. The adjusted Rand index and the silhouette index were calculated to evaluate the clustering results given by different algorithms. Festem performed very well compared with other methods (Figures 2A–2D and S2A–S2D), especially in the 5-cell-type and high-noise case (Figures 2A–2D). The reason for this was that the available methods used surrogate metrics such as variances or deviances to select clustering-informative genes. When the noise in the data is high, many genes selected by these methods just had high variances or deviances and did not contain clustering information. In comparison, Festem directly evaluated the clustering information contained in the genes, and the clustering-relevant genes were always more likely to be selected, regardless of the noise level.
Figure 2.
Performance of Festem on clustering and DEG analyses in simulation
Top and bottom images correspond to simulations with low noise (400 DEGs) and high noise (200 DEGs), respectively.
(A and B) Typical UMAP plots based on genes selected by feature selection method. Colors represent different cell types.
(C and D) Adjusted Rand indices (ARIs) and silhouette indices (Sis) of the clustering results based on genes selected by different feature selection methods.
(E and F) The precision and recall of DEG detection methods. The red lines are the nominal FDR level, 0.05. The gray dashed lines are the contour lines with constant F1-scores, and the numbers next to the gray lines in (E) are the corresponding F1-scores.
See also Figures S2 and S3.
Then, we assessed the performance of Festem on marker gene detection and compared it with several popular and top-performing DEG methods in previous benchmark studies,25,26 including DESeq2,12 EdgeR,13 MAST,27 the Wilcoxon rank-sum test,28 ROSeq,29 singleCellHaystack,14 and the TN test.11 Festem and singleCellHaystack could detect marker genes without pre-clustering of the single cells. For other methods, we first pre-clustered the single cells based on HVGs and provided the clustering results to these methods for DEG detection. Festem was able to effectively control the FDR (1 - precision) and achieved reasonably good sensitivity (Figures 2E, 2F, S2E, S2F, and S3A–S3H). Due to the double-dipping problem, most other methods could not control the FDR, and their FDRs were often much larger than the nominal level, 0.05 (the target FDR level). Although singleCellHaystack was clustering independent, it could not effectively control the FDR, possibly because of its ad hoc method of assessing statistical significance. ROSeq was largely able to control the FDR but had lower power than Festem. We also generated datasets based on scDesign230 and scDesign3,31 two popular scRNA-seq simulators, and found that Festem achieved consistently good performance, including scenarios with continuous trajectories (Figures S2G–S2M).
Finally, we investigated the robustness and computational efficiency of Festem (Figure S3). Overall, Festem was robust to the choice of the parameter . Different choices of gave very similar performances for both clustering (Figures S3I, S3J, S3M, and S3N) and marker gene detection (Figures S3A, S3B, S3E, and S3F). In terms of computational efficiency, Festem was computationally less efficient than many gene selection methods (Figures S3K, S3L, S3O, and S3P) because these methods only need to calculate simple statistics such as variance and deviance, while Festem need to use the EM algorithm to calculate the EM test statistic. However, compared with the DEG methods, Festem was often computationally more efficient, especially in terms of memory usage (Figures S3C, S3D, S3G, and S3H). Considering that Festem could simultaneously perform gene selection and report marker genes, we concluded that Festem was comparable with other methods in computational efficiency.
Festem had a high precision and recall in marker gene detection
We evaluated the performance of Festem on marker gene detection using four scRNA-seq datasets, a human peripheral blood mononuclear cell (PBMC) dataset (the PBMC3K dataset, 2,622 cells), an immune cells dataset from eight patients with lupus32 (the Kang dataset, 6,410 cells) and two batches of PBMCs profiled using 3′ or 5′ 10× Genomics protocols33 (the Zheng datasets, 8,381 and 7,726 cells, respectively). To compare different algorithms, we first constructed silver standards of marker genes and non-marker genes. Since housekeeping genes were usually expected to have similar expression levels in different cell types,34,35 we defined true non-marker genes as housekeeping genes with small Moran’s indices in the 2-dimensional uniform maniform approximation and projection (UMAP) embedding and true marker genes as non-housekeeping genes with large Moran’s indices (STAR Methods).
With these silver standards, we assessed the precision and recall of different marker gene detection methods (Figure 3A). Compared with other methods, Festem could achieve high precision (low FDR) and high recall, thus having high overall F1-scores. Festem was also robust to the choice of the cluster number G (Figure S4A). In comparison, most other methods either had low precision (high FDRs) or low recall. Visual inspection showed that their reported false marker genes (housekeeping genes in the silver standard) indeed had no expression preference toward any cluster on the UMAP plot (Figures S4B and S4C). With its default settings, the popular DEG method EdgeR had high precision but low recall. If we turned off its ad hoc filters and only used corrected p values for DEG detection, then EdgeR’s recall achieved 1, but its precision became much smaller (Figure S4A). The other popular method DESeq2 tended to be conservative and failed due to a memory limit in the two batches of Zheng data. Because of the inaccurate clustering, the classical non-parametric Wilcoxon’s test also had low precision. Since singleCellHaystack did not depend on clustering, singleCellHaystack performed better than other available methods. Note that the way that we built our silver standards was similar to the way that singleCellHaystack detected marker genes. Both methods relied on analyzing gene expression patterns in the 2-dimensional UMAP embedding. Thus, the evaluation might be in favor of singleCellHaystack. Methods like ROSeq, TN test, and MAST had very high recall levels but low precision levels. Moreover, we also assessed precision and recall based on marker genes from CellMarker2.0.36 Festem also achieves the largest average F1-score (Figure S5).
Figure 3.
Performance of Festem on clustering and DEG analyses in real data analyses
(A) Precision-recall plots of DEGs reported by each method under the nominal FDR level, 0.05 (red dashed lines). The gray dashed lines are the contour lines with constant F1-scores (the numbers in the top-left image). The inset bar plots are the numbers of DEGs reported by each method. DESeq2 failed on the two Zheng datasets due to being out of memory and thus is not shown. ROSeq reported no DEGs for the Zheng dataset (5′ seq) and thus was excluded from the plot.
(B) Calinski-Harabasz (CH) index and variation of information of feature selection methods. For each dataset, CH indices were computed based on the corresponding UMAP coordinates of each method. The variation of information was computed between the annotation and the clustering result based on the genes selected by each method.
See also Figures S4 and S5.
Festem-selected genes improve clustering
We then compared the clustering results based on Festem-selected genes with genes selected by other available methods. Due to the lack of a gold standard of cell types, we employed the commonly used Calinski-Harabasz (CH) indices37 to compare different clustering results. Larger values of the CH index corresponded to better separated clusters. Besides, we also employed CellTypist38 to annotate each single cell and computed the variation of information39 between the annotation and different clustering results (STAR Methods). A smaller variation of information represents a higher level of consistency with the annotation. Among all methods, Festem gave the largest CH index in three of the four benchmark datasets and the second largest in the other dataset, as well as a relatively small variation of information (Figure 3B), indicating that Festem-selected genes could produce consistently good clustering results compared with other methods. Note that a few cell types presented in the four benchmark datasets were not recorded in CellTypist, so it may underestimate the performance of Festem in terms of the variation of information. DUBStepR was not considered in this comparison because it aimed at selecting the minimum number of non-redundant genes and thus reported much fewer genes than other methods.
We further drew the receiver operating characteristic (ROC) curve of each method based on the silver standards constructed in the previous section and calculated the area under the ROC curve (AUROC) to quantify the quality of the selected genes (Figure S4D). In the four datasets, Festem always had a high AUROC (mean = 0.97), indicating that Festem stably selected most of the markers or clustering-informative genes. In comparison, the AUROCs of other methods either varied greatly among different datasets or were consistently lower than that of Festem. For example, the AUROCs of HVGdisp were slightly larger than those of Festem in two of the four datasets (∼0.98) but much smaller in the other two datasets (<0.89). Similarly, one of devianceFS’s AUROCs was slightly larger than that of Festem, but the other three AUROCs of devianceFS were much smaller. These results suggested that the superior clustering results given by Festem probably resulted from its high-quality marker gene selection.
Festem enabled identification of often-missed fine cell types
We further investigated the cell types identified in the PBMC3K and Kang datasets based on genes selected by Festem and other available gene selection methods. We used the Louvain algorithm18 to cluster the single cells based on genes selected by different methods (STAR Methods).
Using the Festem-selected genes, we identified 10 clusters in the PBMC3K dataset and annotated them based on the expression of canonical markers. The 10 clusters included immune cells such as naive CD4 T cells, memory CD4 T cells, CD8 T cells, CD14 monocytes, FCGR3A monocytes, natural killer (NK) cells, B cells, and dendritic cells (DCs)3,40,41,42 (Figures 4A and S6A). In addition to these common cell types, Festem identified a fine cell type, CD27−CD4+ memory T cells, which were often missed by other methods (Figure 4A).
Figure 4.
Festem identifies fine cell types in the PBMC3K and Kang datasets
(A) The UMAP plot of the PBMC3K dataset constructed from genes selected by Festem. Left: all cell types identified by Festem. Right: the C5 or C9 clusters by different methods (highlighted dots). These clusters are the ones identified by other methods that contain the most cells of the fine cell type (CD27−CD4+ memory T) identified by Festem.
(B) Violin plots of CD27−CD4+ memory T cell markers. The CD27−CD4+ memory T cells identified by Festem and the C9 clusters identified by devianceFS, trendVar, and DUBStepR are shown. The C5 clusters identified by HVGvst and HVGdisp are clearly mainly CD8 T cells, and thus their violin plots are not shown.
(C and D) Sankey plots for the clustering results between Festem and devianceFS or between Festem and HVGvst.
(E) The t-distributed stochastic neighbor embedding (tSNE) plot of the Kang dataset constructed from genes selected by Festem. The two fine cell types often missed by other methods are highlighted in red circles.
(F) Expressions of IFN-related genes in IFNhi CD14+ monocytes and CD14 monocytes identified by Festem.
(G) Expressions of heat shock protein-related genes in different cell types. The annotation is based on the clustering results of Festem.
See also Figures S6–S9.
The CD27−CD4+ memory T cells identified by Festem expressed common marker genes (IL7R and S100A4) of memory T cells but did not express CD27. These cells also had downregulated expression of SELL, CCR7, MAL and LEF1 and upregulated expression of CCL5 (Figure 4B) and thus were the CD27− CD4+ memory T cells in the literature.43 The CD27−CD4+ memory T cells were known to be at a more differentiated state and have stronger antigen-recall responses than their CD27+ counterparts. These results were further validated using another PBMC5K dataset from 10× Genomics (Figure S7).
The other available methods could not correctly cluster the CD27−CD4+ cells. For example, most of the CD27−CD4+ cells of Festem were assigned to the C9 cluster of devianceFS (Figures 4A and 4C). However, many cells in the C9 cluster of devianceFS expressed CD27 and SELL or did not express CCL5 (Figure 4B), implying that these cells were more likely to be naive CD4 T cells or memory CD4 T cells instead of CD27−CD4+ memory T cells (Figures 4C and S6B). Similarly, in the clustering of HVGvst, the CD27−CD4+ memory T cells were not clustered together but rather separately assigned to other cell types such as naive CD4 T cells and CD8 T cells (Figure 4D). One possible reason that these methods did not correctly identify the CD27−CD4+ memory T cells is that some markers, such as CD27 and SELL, were not selected as clustering-informative genes.
For the Kang dataset,32 we obtained 16 cell types based on the Festem-selected genes (Figures 4E and S8A), including two fine cell types that were often missed by other methods. The two cell types were interferon (IFN)hi CD14+ monocytes with high expression of type I IFN-related genes (Figures 4E and 4F) and heat shock protein (HSP)+ CD4 T cells with upregulated HSP-related genes (Figures 4E and 4G). The HSP+ CD4 T cells might result from the cryopreservation and thawing of T cells.44 Except for devianceFS, the other available methods could not identify these HSP+ CD4 T cells (Figure S8B).
It was found that genes in IFN pathways were often upregulated in PBMCs of lupus and associated with the severity of lupus,45 and their upregulation was mainly in monocytes and lymphocytes.46 IFNhi CD14+ monocytes identified by Festem were thus probably the subgroups of monocytes in patients with lupus with upregulated IFN genes. The Kang dataset (the control data) had paired IFN-stimulated single-cell data. In these IFN-stimulated cells, almost all CD14+ monocytes had a high IFN expression score (Figures S8C and S8D). Joint analysis showed that IFNhi CD14+ monocytes from the control and IFN-stimulated groups mixed together (Figures S8E and S8F), indicating that they were the same type of monocytes that responded to type I IFN. DUBStepR and devianceFS could not distinguish the IFNhi CD14+ monocytes, and they mixed these monocytes with other types of monocytes (Figure S8B) that did not express IFN-related genes (Figure S9).
Festem identified prognostic biomarkers for iCCA
We applied Festem to analyze 122,329 cells from 14 patients with iCCA.2 We obtained 21 clusters including several subtypes of T cells, NK cells, macrophages, DCs, B cells, fibroblasts, and endothelial cells (Figures 5A and S10A). Among them, CD8 T cells had the most diverse subtypes, including terminally differentiated effector memory or effector T cells (Temra cells), terminal exhausted T cells (terminal Tex cells), granzyme K-positive (GZMK+) effector memory T cells (GZMK Tem cells), and IFN-stimulated gene (ISG)-positive T-like cells (ISG+ CD8 T-like cells)47 (Figure 5B). In addition to known markers of Temra cells and terminal Tex cells (Figure 5B), Festem also identified several markers of terminal Tex cells in iCCA, such as FAM3C and DUSP4, for which we could not find previous evidence in the literature. Except for devianceFS, all other available methods could not identify Temra and terminal Tex cells simultaneously (Figure S10B). devianceFS was able to identify the two CD8 cell types but also assigned many cells, possibly of other cell types, to the two CD8 cell types (Figure S10C), leading to a decreased fold change of marker genes of these two cell types (Figure S10D).
Figure 5.
Festem identifies clinically relevant markers in the iCCA dataset
(A) The UMAP plot constructed from genes selected by Festem. The Festem-identified cell types are shown in different colors.
(B) Violin plots of Temra and terminal Tex cell markers.
(C) The Kaplan-Meier curves of the four groups of patients defined by the expression of markers of Temra and terminal Tex cells in two independent datasets. p values given by the log-rank test are shown in the plots.
See also Figures S10 and S11.
We observed that the proportions of Temra and terminal Tex cells varied greatly among different patients (Figure S11A) and hypothesized that enrichment of Temra and terminal Tex cells might be predictive of a patient’s survival. We therefore investigated two public iCCA datasets48,49 with bulk RNA-seq data and patients’ outcome data. Using markers of Temra (CX3CR1) and terminal Tex (FAM3C and DUSP4) cells, we grouped the patients into 4 groups, emrahighexlow, emrahighexhigh, emralowexlow, and emralowexhigh (STAR Methods), and found that the overall survival of patients in these groups was highly significantly different for both iCCA datasets (Figure 5C, log-rank test). As expected, the emrahighexlow group had the best survival and the emralowexhigh group had the worst survival in the 4 groups. Furthermore, using spatial transcriptomics data of hepatocellular carcinoma,50 we found that Temra cells tended to be colocalized with fibroblasts in some patients (Figure S11B). Considering that cancer-associated fibroblasts were associated with poor prognosis,51 we sought to study whether the two emrahigh groups could be further decomposed into subgroups with distinct survival. Using the marker gene POSTN of fibroblasts identified by Festem, patients enriched with fibroblasts (POSTNhigh) indeed had significantly worse survival than other patients in both emrahighexlow and emrahighexhigh iCCAs (Figure S11C).
Discussion
Gene selection and marker gene identification are the two most important and commonly used analyses in single-cell studies. The two problems are closely related, and selecting cell-type marker genes should give the most accurate clustering and cell-type identification. However, because cell types are unknown, genes are often selected using criteria that may not be directly related to clustering, and marker genes are identified by DEG analysis, assuming that the cell types are known. This standard protocol could miss important genes, leave important cell types unidentified, and give many false marker genes. In this paper, we present a unified framework, Festem, for gene selection and marker gene identification by investigating whether a gene has a homogeneous or heterogeneous distribution. Extensive simulation and real data analyses demonstrate that Fetem can improve clustering and sensitively detect DEGs with low false discoveries. Further theoretical analyses also guarantee that Festem can correctly select clustering-informative genes and control the FDR of marker gene detection.15
Festem has a tuning parameter, the number of components in the mixture distribution. In practice, the true number of cell types, , is usually unknown, so this parameter serves as a “working” cell-type number. However, does not need to be equal to Theoretically, p values given by Festem are always valid (that is, type I error can be effectively controlled) even if is different from 15 Different choices of only influence the power of Festem. Choosing a smaller than could make Festem more conservative (smaller power), and choosing a larger than has little influence on the power. Further, our empirical studies show that Festem is largely robust to the choice of (Figures S3 and S4A). In practice, we often can have a rough estimate of and could choose to be slightly larger than the rough estimate.
In the benchmarking analyses using real scRNA-seq data, the FDRs of Festem are slightly larger than the target level (Figure 3). The reason is that Festem detected genes that are unrelated to cell types but to other factors such as cell cycles. For example, HMGB2, MAP1LC3B, and NDUFA2 were non-marker genes in our silver standard (Figure S6C) but were reported as marker genes by Festem. HMGB2 was associated with the G2M phase,52 and its expression was significantly different in different cell cycle stages (Figure S6C), and MAP1LC3B and NDUFA2 were identified as differentially expressed between different cell cycle stages by Seurat’s53 function CellCycleScoring. Marginally, these genes were also heterogeneously distributed, but the latent clusters were not cell types but cell cycle stages. Although we used pre-clustering priors to down-weight heterogeneously distributed genes unrelated to cell types, some still had highly significant p values and were reported as marker genes. These false positives could be removed by comparing them with a prior gene list that contains known genes related to cell cycles.
In the real data benchmarking studies, singleCellHaystack performed very well and gave the highest F1-scores in some cases. This might be attributed to the similarity between our approach to constructing silver standards and singleCellHaystack’s method for marker gene detection. singleCellHaystack first conducts dimension reduction using genes selected by HVGvst and subsequently identifies marker genes by investigating the Kullback-Leibler divergence between the distributions of cells and gene expressions in the low-dimensional space. In the construction of silver standards, we also utilized the low-dimensional embedding based on HVGvst-selected genes as a filtering criterion. Thus, even though singleCellHaystack performed very well as measured using these silver standards, it could not identify the CD27−CD4+ memory T cells, even when using a larger resolution of the Louvain clustering algorithm (Figure S6D). On the other hand, singleCellHaystack reported almost twice as many marker genes as Festem in the four benchmarking datasets (Figure S4A), some of which were clearly false positives (Figures S4B and S4C). Its potential high false positive rate might make fine cell types such as the CD27−CD4+ memory T cells more difficult to detect. Our simulation studies also demonstrated that singleCellHaystack had high false positive rates. Moreover, singleCellHaystack highly relies on the input dimension reduction, while Festem is robust to different pre-clustering labels (Figure S4A).
In the analysis of the PBMC3K dataset, we found an often-missed fine cell type, CD27−CD4+ memory T cells. This finding was validated with another PBMC5K dataset from 10× Genomics (Figure S7). Besides, we identified two markers of the CD27−CD4+ memory T cells, NKG7 and S100A11, for which we could not find previous evidence in the literature. They show significant upregulated and downregulated patterns in the CD27−CD4+ memory T cells in both PBMC3K and PBMC5K datasets. Recent studies suggest that NKG7 is essential for the activation and proinflammatory responses of CD4+ T cells,54 and S100A11 was highly expressed in older CD4 T cells than their younger counterparts.55 Hence, our newly found marker may help further characterize the CD27−CD4+ memory T cells.
By analyzing a large iCCA scRNA-seq dataset, we identified two groups of important T cells, Temra and terminal Tex cells. The former exhibits high killing activity, while the latter has reduced cytotoxicity.56 We found that their marker genes, CX3CR1, FAM3C, and DUSP4, were predictive of survival in patients with iCCA. These genes have been previously reported as biomarkers in several other cancer types,57,58,59 further supporting their prognostic values. On the other hand, it is worth noting that these markers may not only express in Temra and terminal Tex cells. For example, CX3CR1 and DUSP4 are reported to be expressed in some NK cells.60,61 Hence, the prognostic values of these genes might be an aggregated effect of several immune cell types involved in cancer responses. In addition, this iCCA dataset contains over 120,000 cells. Festem was able to finish the analyses in 27 min with 20 cores, demonstrating that Festem scales well to very large datasets.
Limitations of the study
One limitation of Festem is that although it can efficiently find out whether a gene is a marker gene, it cannot attribute the detected markers to specific cell types. So, after clustering with the selected marker genes, we have to assign these markers to different clusters as cluster markers. This step does not involve testing whether a gene is a marker but just assigns the cluster markers. In this step, by default, we used the Scott-Knott test, a clustering algorithm originally proposed as a post hoc procedure in ANOVA for grouping the means in ANOVA. Here, the data reuse could inflate the p values of the statistical tests in the Scott-Knott test, resulting in homogeneous clusters not being grouped together. This might lead to false negative assignments of the markers (a marker should have been assigned to a cluster but was not assigned) but does not affect the statistical validity that the gene is a marker. Thus, in terms of overall maker gene discovery, Festem avoids double-dipping or selection bias. On the other hand, the traditional cluster and DEG detection methods cannot guarantee FDR control in marker gene discovery due to double-dipping. In addition, the Scott-Knott test is not the only way to assign markers. For example, we may simply assign markers to the clusters exhibiting the highest expression.
Another limitation is that Festem costs more computational time compared with many gene selection methods due to the use of the EM iterations. However, on the other hand, Festem is comparable or faster than many popular DEG identification methods, such as DESeq2, edgeR, MAST, and the Wilcoxon rank-sum test. Since Festem can simultaneously perform gene selection and report cell-type markers, we believe that the computational time Festem needs is largely acceptable.
STAR★Methods
Key resources table
Resource availability
Lead contact
Further information and requests for resources and reagents should be directed to and will be fulfilled by the lead contact, Ruibin Xi (ruibinxi@math.pku.edu.cn).
Materials availability
This study did not generate new materials.
Data and code availability
-
•
This paper analyzes existing, publicly available data. The housekeeping gene list is downloaded from http://www.housekeeping.unicamp.br/. The PBMC3K dataset is downloaded from https://support.10xgenomics.com/single-cell-gene-expression/datasets/1.1.0/pbmc3k/. The Zheng datasets are downloaded from https://hub.docker.com/r/jinmiaochenlab/batch-effect-removal-benchmarking. The Kang dataset is downloaded from Gene Expression Omnibus (GEO) under accession number GSE96583. The iCCA dataset is available in Genome Sequence Archive in National Genomics Data Center under the accession number HRA000863. The spatial transcriptomics data of hepatocellular carcinoma is downloaded from http://lifeome.net/supp/livercancer-st/data.htm. All datasets used in this study are also available at https://doi.org/10.5281/zenodo.8185811.
-
•
The R package is available at Github: https://github.com/XiDsLab/Festem and at Zenodo: https://doi.org/10.5281/zenodo.11331165. Codes to reproduce the analyses in this manuscript are available at GitHub: https://github.com/XiDsLab/Festem_paper and at Zenodo: https://doi.org/10.5281/zenodo.11331165.
-
•
Any additional information required to reanalyze the data reported in this paper is available from the lead contact upon request.
Method details
Festem Algorithm
Statistical model
Let be the observed expression of gene in cell (). We assume that the expression has been normalized to account for the library size by the TMM factor.66 If gene has different expression patterns in different cell-types, it is clustering informative; Otherwise, it is clustering irrelevant. Given that cell belong to cell-type , assume that expression of gene follows the distribution . Since the cell-type is unknown, the expression of gene should follow the mixture distribution , where is the proportion of the cell-type in the sequenced cells (). With this mixture model, if gene is clustering-informative, there are at least two and () such that . If gene is clustering-irrelevant, we have .
Studies have shown that the negative binomial distribution is a suitable model for most scRNA-seq count data, especially for the mostly widely used unique molecular identifier (UMI) data.20,67,68,69 Hence, we assume that is a negative binomial distribution. Then, the probability mass function (p.m.f.) of is
| (Equation 1) |
where is the p.m.f. of the negative binomial distribution with mean and size , and . Previous study has shown that the mixture of negative binomial distributions in 1 is identifiable.70 Under model (1), if the gene is clustering-irrelevant, we have ; Otherwise, if gene is clustering-informative, we have for some . Hence, determining whether the gene is clustering informative, we can consider the following hypothesis testing problem
| (Equation 2) |
We call the null hypothesis the homogeneity model and the alternative hypothesis the heterogeneity model.
Testing the heterogeneity via the EM-test
We introduce the statistical test for the hypothesis testing problem Equation 2. Since we perform the test for each gene individually, for notation simplicity, we leave out the subscript in this section. Thus, stands for the expression of a gene in cell . To quantify the evidence of heterogeneity, it is natural to use the log likelihood ratio between the alternative and the null hypothesis as the testing statistic. However, when one of equals to zero, the Fisher’s information matrix of model Equation 1 is not finite, leading to the failure of the log likelihood ratio test.21 To avoid this, following Li and Chen (2009),21 we consider the following penalized likelihood:
| (Equation 3) |
where
| (Equation 4) |
and is a parameter. The penalty function is to encourage the proportions to stay away from zero. We always set in all simulation and real data analyses. We used such a small value due to concerns that a large penalty may over-penalize α, resulting in missing some features relevant to small clusters. We have demonstrated that the choice of C had little influence on the overall performance.15
Largely speaking, the EM-test statistic is the difference of the maximum penalized log likelihoods (3) under the heterogeneity model and the homogeneity model . We denote and define be the maximum likelihood estimation of under , where
Noting that under the homogeneity model , the likelihood (1) does not depend on the proportion parameter , then, maximizes the penalized log likelihood (3) under the homogeneity model .
Under the heterogeneity model , it is difficult to directly maximize the penalized likelihood (3), and we use the expectation maximization (EM) algorithm. We choose the initial value of the EM algorithm for as . Given an initial value for the proportion parameter , suppose that after EM updates, we obtain the estimates and define the difference of the penalized log likelihood with the initial value as
Given a set of initial values for the mixture proportions , the EM-test statistic is defined as
| (Equation 5) |
Here, we always assume that one of ’s is . It can be shown that the limiting distribution of this EM-test statistic under the homogeneity model is stochastically smaller than the chi-square distribution with 3° of freedom (Methods). Hence, we assign p-values using the chi-square distribution . By default, Festem uses . We always set . Other ’s are randomly sampled from the -dimensional simplex. If a pre-clustering of single-cells is available, we use as the proportion of different cell-types in the pre-clustering.
The EM algorithm
We use the EM algorithm to optimize the penalized log likelihood (3). Suppose we already have the EM estimation after steps, and . We use the following E-step and M-step to update the parameter estimates.
-
•
E step: calculate the weights ()
| (Equation 6) |
-
•
M step:
| (Equation 7) |
| (Equation 8) |
In the M-step, we optimize Equation 7 with the Newton-Raphson method.
We observe that genes selected based on the EM-test statistic Equation 5 could include genes that are related with other factors such that cell cycle or protein synthesis but unlikely to be related with cell-types. Notice that in Equation 6 can be viewed as the probability of cell belonging to group . Therefore, to prioritize the genes related with cell-types, we use a prior to reweight . The prior is obtained by pre-clustering single-cells using HVGs. Based on the prior, we replace by , where
| (Equation 9) |
and is called the weight of the prior (by default = 0.05). Then, we can similarly define an EM-test statistic . Mathematical analysis (Methods) shows that we can still use to get a valid p-value (that is, we can still effectively control the type I error).
It is worth noticing that although the weights can be viewed as the probability of cell belonging to group , we do not use these weights to define a cell’s cell type. Instead, after selecting the marker genes, we use Seurat to cluster the single-cells based on the selected marker genes and then manually annotate the cell types of the obtained clusters by comparing their markers with markers of known cell types. We do not use to define cell types because these weights are marginally estimated and they are not accurate estimate of the probability that cell belong to group .
DEG reporting and gene ranking
DEGs are reported based on the p-values and the EM statistics of the genes. More specifically, we first perform the EM-test with a very weak prior (by default ) and obtain a p-value for each gene. The prior is obtained by pre-clustering of single-cells using HVGs. Then, we adjust the p-values using the Benjamini-Hochberg Procedure. Denote the adjusted p-value for gene as . Since the prior at this step is weak, the genes with small adjusted p-values may still contain genes related with other factors but not with cell-types. We further perform the EM-test with a strong prior (). Let be the EM-test statistic of gene with the strong prior. Given an FDR level , genes with and are called high confidence markers and are reported as DEGs. Genes are first ranked by the confidence of genes, and within high or low confidence gene categories, genes are ranked by the p-values . Top genes are selected for downstream clustering and dimension reduction analyses.
Data preprocessing
Before applying the EM-test, we preprocess the data to remove outliers and adjust for the library size. To remove the outliers, we applied the following winsorization71 procedure.
Let be the observed UMI or read count of gene in cell (). For each gene , we first select cells with the largest top 5% expression . Let and be the 0.25th and 0.75th quantile of over these selected single-cells. Denote as the interquartile range. If any () is larger than , we consider it as an outlier. We replace the expression of the outliers with the mean of ’s over the selected single-cells whose expressions are smaller than .
After removing the outliers, we normalize the library size with the TMM factor.66 For each cell, we calculate its TMM factor by the calcNormFactors function in package edgeR. Then, we divide the count of each gene in this cell by its TMM factor and using the result as the mean of the Poisson distribution to sample a new count. Then, we apply the outlier removal procedure again to the new counts and using this count matrix to detect DEGs.
Assignment of DEGs to cell clusters
Note that testing hypothesis (2) does not indicate in which clusters a DEG highly expresses. After reporting the DEG list, we further use the Scott-Knott test19 to assign each DEG to a cluster or clusters as its or their marker based on the mean expression within each cluster. The Scott-Knott test is originally proposed as a post-hoc procedure in ANOVA for grouping the means in ANOVA. In our scenario, given a marker gene, it groups cell clusters into several homogeneous groups with similar mean expressions of the marker. Specifically, for a given clustering result, which can be derived from the DEGs reported by Festem, we first estimate the mean expression of a DEG in each cluster. Then, we use the SK function in R package ScottKnott62 with significant level 0.05 to classify these means into several expression levels, from the highest to the lowest. Finally, we call this gene the marker of a cluster if its mean is in the highest two expression levels.
Derivation of EM iterations
In this section, we will give details of the derivation of Equations 6, 7, and 8 in the previous section. The assumptions and notations used here were the same as in the previous section. Remember we assume that the probability mass function (p.m.f.) of the observed expression of gene in cell is
Since we perform the test for each gene individually, for notation simplicity, we leave out the subscript in this section. Thus, stands for the expression of a gene in cell with p.m.f.
where and As explained in the Methods section, we aim to use the standard EM algorithm72 to optimize the penalized log likelihood (3), that is
| (Equation 10) |
where Now, we introduce hidden variables and define . Then, with p.m.f.
and has p.m.f.
So, the first term in the penalized log likelihood Equation 10 is actually the marginal distribution of . Hence, Equation 10 can be viewed as the penalized marginal log likelihood, whereas the penalized full log likelihood is
Using the Bayes formula, we know that the distribution of conditioning on is
Therefore, we know that with
and are independent.
Hence, suppose we already have the EM estimation after iterations, and . Then, in the next E-step, we need to compute
| (Equation 11) |
where
Hence, the E-step is equivalent to computing the weights (. Then, in the M-step, we need to maximize Equation 11 with respect to . We note that in (S2), and are decoupled, so we can optimize them separately:
To conclude, the EM update runs as follows:
E step: calculate the weights ()
M step:
| (Equation 12) |
| (Equation 13) |
In the M-step, we optimize Equation 12 with the Newton-Raphson method.
Proof for the bound of limiting distribution of the EM-test statistic under null hypothesis
Let be the shrunk version of EM-test statistic, and represent the non-shrunk version. Recall that the difference of the penalized log likelihood with the initial value is defined as
where is the non-shrunk version parameter estimates, and is the maximum likelihood estimation of under with
Given a set of initial values for the mixture proportions , the non-shrunk version EM-test statistic is defined as
Without loss of generality, we assume that . Then, the non-shrunk version EM-test statistic can be simplified as
Likewise, the shrunk version EM-test statistic can be expressed as
where is the shrunk version parameter estimates. Then, we define the mixing version parameter estimates as follows:
Next, we define the mixing version EM-test statistic as
Clearly, we have
Using Lemma 19, 20 and the proof of Theorem 4 in Wang et al. (2023),15 we can conclude that is stochastically less than . Consequently, is also stochastically less than .
Benchmarking on simulated datasets
Generation of simulated datasets
In the simulation, we generated data with 3000 cells and 20,000 genes from four different settings, with varying number of cell-types and marker genes. Specifically, the four settings are: (1) 2 cell-types with 400 marker genes (low-noise), (2) 2 cell-types with 200 marker genes (high-noise), (3) 5 cell-types with 400 marker genes (low-noise) and (4) 5 cell-types with 200 marker genes (high-noise). The marker genes were set as the first (200 or 400) genes. We set the marker genes only upregulated in one cell-type and had the same expression distributions in other cell-types. For example, in the simulation with 2 cell-types and 400 marker genes, the first 200 marker genes were set as upregulated in the first cell-type and had the same distribution in the other cell-type; the second 200 marker genes were set as upregulated in the second cell-type and had had the same distribution in the other cell-type; all other genes had the same distribution in all cells.
To make simulation data more similar to the real ones, for each gene in each cell-type of the PBMC3K dataset, we first estimated the mean and size parameter of a negative binomial distribution from the count data of the gene in the cells of the cell-type. The cell-type annotation was chosen as the annotation of the PBMC3K dataset given in the Seurat tutorial (https://satijalab.org/seurat/articles/pbmc3k_tutorial.html#assigning-cell-type-identity-to-clusters-1). Then, we used these estimated mean and size parameters to generate simulation data. For each gene, we first randomly sampled a pair of mean and size parameters from the estimated parameters. If a gene was a non-marker gene, we just independently generated count data for each cell from the negative binomial distribution with the sampled parameters . If a gene was a marker gene, we further sampled a log2-foldchange from the uniform distribution in [1.5, 2.5]. For cells with the gene upregulated, we generated their expressions of the gene from the negative binomial distribution with mean and . The expressions of the gene in other cells were generated from the negative binomial distribution with mean and .
Benchmarking on marker gene detection
We benchmarked Festem on marker genes detection and compared with DEG detection algorithms DESeq2,12 EdgeR,13 MAST,27 Wilcoxon rank-sum test,28 ROSeq,29 singleCellHaystack14 and TN test.11 For methods requiring a clustering result, we used the following procedure to detect DEGs. In the simulation study, we first selected 1000 HVGs using HVGvst and then performed principal component analysis (PCA) dimension reduction. We then used the first 10 principle components (PCs) to construct a nearest-neighbor graph by Seurat’s53 FindNeighbors function, and clustered the cells with the Louvain algorithm18 by the FindClusters function. In order to get the desired number of clusters, we applied the Louvain algorithm starting with the resolution 0.01 and gradually increased the resolution (step size 0.01). When Louvain first reported a cluster number that were the same as the true number of clusters, we stopped this process and used the corresponding cluster result. For real data analyses, we used 2000 HVGs and selected PC numbers based on the elbow plot. Clustering was performed similarly and the resolution was chosen such that the obtained cluster number was the same as the original study of the data.
For Festem, we used the prior as the pre-clustering results based on HVGs (1000 HVGs in simulations and 8000 HVGs in real analyses). singleCellHaystack does not require a clustering result but requires a dimensional reduction result. For singleCellHaystack, we first performed UMAP dimensional reduction using Seurat’s RunUMAP function on the 10 PC representation of the data. Then, singleCellHaystack was used to detect marker genes on both the 2D UMAP and top PC representations of the data. In simulations, we used the top 10 PCs, and in real data analyses, we selected the PC numbers based on elbow plots.
For DESeq2, we ran with default parameters and recorded adjusted p-values with and without the independent filtering step. For EdgeR, we used its quasi-likelihood test setting with default parameters. p-values both with and without the filtering step were recorded. MAST and ROSeq were also run with their default settings. The Wilcoxon rank-sum test was performed using wilcox.test function from the R language. For TN test, we first normalized the counts and split the dataset into two parts. According to TN test, one dataset was used for clustering and training of the separating hyperplanes between clusters. The clustering was performed using the same procedure described above. The other dataset was used for marker gene detection based on the obtained hyperplanes.
Wilcoxon rank-sum test and ROSeq can only compare two groups of cells. When there were multiple groups, we first used these methods to do “one-versus-the-rest” comparison for each cluster and then combine the derived p-values with the Bonferroni method.73 For all methods, we adjust the derived p-values with the Benjamini-Hochberg method16 and reported genes with adjusted p-values smaller than 0.05 as marker genes.
Benchmarking feature selection
We compared Festem with 5 feature selection methods HVGvst,5 HVGdisp,23 DUBStepR,24 devianceFS8 and TrendVar.7 We used the FindVariableFeatures function in Seurat for HVGvst and HVGdisp. DUBStepR, devianceFS and TrendVar were run with the DUBStepR, scry and scran packages, respectively. For simulations, we selected the top 500 genes reported by each method for downstream analyses. For PBMC3K, Kang and Zheng datasets, we used the top 1000, 2500, and 3000 genes, respectively. Then, we used the first 10 PCs of the selected genes for clustering. Louvain was used for clustering and the resolution was selected as in the previous section. ARIs were calculated between the clustering results and the known cell-type labels (for simulation study). UMAP dimension reduction was further performed using the 10 PC data, and SIs of known cell-type labels were calculated on the UMAP coordinates by the silhouette function in the cluster package.
Construction of marker genes silver standards
For each dataset, we selected its top 2000 HVGs, performed PCA analyses and obtained UMAP embeddings of the single-cells using the top 10 PCs. Then, we calculated each gene’s Moran index in the 2-dimensional UMAP-embedding space. The non-marker genes were taken as the housekeeping genes with absolute values of Moran’s indices smaller than a threshold and with p-values larger than 0.05. For PBMC3K and Kang dataset, was set to be 0.02, and for Zheng dataset, was set to be 0.005. was set to ensure that the expressions of genes in the non-marker gene list were not visually aggregated on the UMAP plot. The marker genes were taken as non-housekeeping genes that had Moran’s indices larger than 0.1 and had non-zero expression in at least 5% cells. We did not consider genes with negative Moran’s indices as markers because Moran’s indices of all genes are larger than −0.02 and those with negative Moran’s indices do not have any expression preference on the UMAP plots. We also visually checked that these genes do show expression preference toward certain cell-types on the UMAP plots.
Comparison of feature selection methods
To annotate single-cells, we applied CellTypist (v1.6.2) under the “probabilistic match” mode based on the available “Immune_All_Low” model (v2, containing 98 immune cell-types). Then, we compute that variation of information between the annotated cells and their clustering results. Formally, given two sets of clustering results and , we denote the label categories in them as and , and define and for all Then, the variation of information is defined as the sum of two conditional entropies:
where is defined as:
We computed the variation of information using the vi.dist function in R package mclust (v6.0.0). The Calinski–Harabasz (CH) index characterizes the extent of between-cluster separation compared with the within-cluster dispersion. We computed the CH index of each method based on their top principle components with the calinhara function in R package fpc (v2.2-9).
Survival analysis of public iCCA datasets
We grouped samples into emrahigh and emralow groups based on the average expression of CX3CR1. If the expression of CX3CR1 of a sample is higher than the average expression, then this sample belongs to the emrahigh group; otherwise, it belongs to the emralow group. Similarly, we further divided these two groups based on the average total expression of FAM3C and DUSP4. As a result, we got four groups of samples, emrahighexlow, emrahighexhigh, emralowexlow and emralowexhigh. Kaplan-Meier curves and log rank tests were carried out with R functions survfit and ggsurvplot in packages survival and survminer. Batch removal were performed using harmony.63
Quantification and statistical analysis
All details regarding the method are fully explained in the section Method Details. Here we provide a brief summary of certain analyses, parameters, and software that were used. The section of Method Details entitled “Festem Algorithm” uses base R v.4.0.5. To assign DEGs to cell clusters, we use ScottKnott v.1.3–1 with significant level 0.05. In Figures 2 and 3, DEGs are identified using nomial FDR level 0.05. In Figure 5C, Kaplan-Meier curves and log rank tests were carried out with R packages survival and survminer.64,65
Acknowledgments
This work was supported by the National Key R&D Program of China (2020YFE0204200 to R.X.), the National Natural Science Foundation of China (12371286 and 11971039 to R.X.), the Foundation of Shuanghu Laboratory (SH-2024JK10 to R.X.), and the Sino-Russian Mathematics Center. Part of the analysis was performed on the high-performance computing platform of the Center for Life Sciences (Peking University).
Author contributions
Conceptualization, R.X. and C.W.; methodology, C.W. and Z.C.; software, Z.C. and C.W.; formal analysis, Z.C., C.W., and S.H.; resources, Y.S.; writing, Z.C. and R.X.; funding acquisition, R.X.; supervision, R.X.
Declaration of interests
R.X. holds stock in GeneX Health Co., Ltd. Y.S. is a shareholder of BeiGene (Beijing) Co., Ltd.
Published: July 8, 2024
Footnotes
Supplemental information can be found online at https://doi.org/10.1016/j.crmeth.2024.100810.
Supplemental information
References
- 1.Heming M., Li X., Räuber S., Mausberg A.K., Börsch A.-L., Hartlehnert M., Singhal A., Lu I.-N., Fleischer M., Szepanowski F., et al. Neurological manifestations of COVID-19 feature T cell exhaustion and dedifferentiated monocytes in cerebrospinal fluid. Immunity. 2021;54:164–175.e166. doi: 10.1016/j.immuni.2020.12.011. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 2.Song G., Shi Y., Meng L., Ma J., Huang S., Zhang J., Wu Y., Li J., Lin Y., Yang S. Single-cell transcriptomic analysis suggests two molecularly subtypes of intrahepatic cholangiocarcinoma. Nat. Commun. 2022;13:1–15. doi: 10.1038/s41467-022-29164-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Zheng C., Zheng L., Yoo J.-K., Guo H., Zhang Y., Guo X., Kang B., Hu R., Huang J.Y., Zhang Q., et al. Landscape of infiltrating T cells in liver cancer revealed by single-cell sequencing. Cell. 2017;169:1342–1356.e16. doi: 10.1016/j.cell.2017.05.035. [DOI] [PubMed] [Google Scholar]
- 4.Jin Z., Huang W., Shen N., Li J., Wang X., Dong J., Park P.J., Xi R. Single-cell gene fusion detection by scFusion. Nat. Commun. 2022;13:1084. doi: 10.1038/s41467-022-28661-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Butler A., Hoffman P., Smibert P., Papalexi E., Satija R. Integrating single-cell transcriptomic data across different conditions, technologies, and species. Nat. Biotechnol. 2018;36:411–420. doi: 10.1038/nbt.4096. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6.Andrews T.S., Hemberg M. M3Drop: dropout-based feature selection for scRNASeq. Bioinformatics. 2019;35:2865–2867. doi: 10.1093/bioinformatics/bty1044. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Lun A.T., McCarthy D.J., Marioni J.C. A step-by-step workflow for low-level analysis of single-cell RNA-seq data with Bioconductor [version 2; peer review: 3 approved, 2 approved with reservations] F1000Res. 2016;5:2122. doi: 10.12688/f1000research.9501.2. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.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]
- 9.Taylor J., Tibshirani R.J. Statistical learning and selective inference. Proc. Natl. Acad. Sci. USA. 2015;112:7629–7634. doi: 10.1073/pnas.1507583112. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Gao L.L., Bien J., Witten D. Selective inference for hierarchical clustering. J. Am. Stat. Assoc. 2022;119:332–342. doi: 10.1080/01621459.2022.2116331. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Zhang J.M., Kamath G.M., Tse D.N. Valid post-clustering differential analysis for single-cell RNA-seq. Cell Syst. 2019;9:383–392.e6. doi: 10.1016/j.cels.2019.07.012. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Love M.I., Huber W., Anders S. Moderated estimation of fold change and dispersion for RNA-seq data with DESeq2. Genome Biol. 2014;15:550. doi: 10.1186/s13059-014-0550-8. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13.Robinson M.D., McCarthy D.J., Smyth G.K. edgeR: a Bioconductor package for differential expression analysis of digital gene expression data. Bioinformatics. 2010;26:139–140. doi: 10.1093/bioinformatics/btp616. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.Vandenbon A., Diez D. A clustering-independent method for finding differentially expressed genes in single-cell transcriptome data. Nat. Commun. 2020;11:4318. doi: 10.1038/s41467-020-17900-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Wang C., Chen Z., Xi R. Feature screening for clustering analysis. arXiv. 2023 doi: 10.48550/arXiv.2306.12671. Preprint at. [DOI] [Google Scholar]
- 16.Benjamini Y., Hochberg Y. Controlling the false discovery rate: a practical and powerful approach to multiple testing. J. Roy. Stat. Soc. B. 1995;57:289–300. doi: 10.1111/j.2517-6161.1995.tb02031.x. [DOI] [Google Scholar]
- 17.Hartigan J.A., Wong M.A. Algorithm AS 136: A K-Means Clustering Algorithm. J. Roy. Stat. Soc. Ser. C. (Appl. Stat.) 1979;28:100–108. doi: 10.2307/2346830. [DOI] [Google Scholar]
- 18.Waltman L., Van Eck N.J. A smart local moving algorithm for large-scale modularity-based community detection. Eur. Phys. J. B. 2013;86:471. doi: 10.1140/epjb/e2013-40829-0. [DOI] [Google Scholar]
- 19.Scott A.J., Knott M. A cluster analysis method for grouping means in the analysis of variance. Biometrics. 1974;30:507–512. doi: 10.2307/2529204. [DOI] [Google Scholar]
- 20.Chen W., Li Y., Easton J., Finkelstein D., Wu G., Chen X. UMI-count modeling and differential expression analysis for single-cell RNA sequencing. Genome Biol. 2018;19:70. doi: 10.1186/s13059-018-1438-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21.Li P., Chen J., Marriott P. Non-finite fisher information and homogeneity: an EM approach. Biometrika. 2009;96:411–426. doi: 10.1093/biomet/asp011. [DOI] [Google Scholar]
- 22.Cho R.J., Huang M., Campbell M.J., Dong H., Steinmetz L., Sapinoso L., Hampton G., Elledge S.J., Davis R.W., Lockhart D.J. Transcriptional regulation and function during the human cell cycle. Nat. Genet. 2001;27:48–54. doi: 10.1038/83751. [DOI] [PubMed] [Google Scholar]
- 23.Satija R., Farrell J.A., Gennert D., Schier A.F., Regev A. Spatial reconstruction of single-cell gene expression data. Nat. Biotechnol. 2015;33:495–502. doi: 10.1038/nbt.3192. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24.Ranjan B., Sun W., Park J., Mishra K., Schmidt F., Xie R., Alipour F., Singhal V., Joanito I., Honardoost M.A., et al. DUBStepR is a scalable correlation-based feature selection method for accurately clustering single-cell data. Nat. Commun. 2021;12:5849. doi: 10.1038/s41467-021-26085-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Soneson C., Robinson M.D. Bias, robustness and scalability in single-cell differential expression analysis. Nat. Methods. 2018;15:255–261. doi: 10.1038/nmeth.4612. [DOI] [PubMed] [Google Scholar]
- 26.Wang T., Li B., Nelson C.E., Nabavi S. Comparative analysis of differential gene expression analysis tools for single-cell RNA sequencing data. BMC Bioinf. 2019;20:40. doi: 10.1186/s12859-019-2599-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.Finak G., McDavid A., Yajima M., Deng J., Gersuk V., Shalek A.K., Slichter C.K., Miller H.W., McElrath M.J., Prlic M., et al. MAST: a flexible statistical framework for assessing transcriptional changes and characterizing heterogeneity in single-cell RNA sequencing data. Genome Biol. 2015;16:278. doi: 10.1186/s13059-015-0844-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28.Wilcoxon F. Individual comparisons by ranking methods. Biometrics Bulletin. 1945;1:80–202. doi: 10.2307/3001968. [DOI] [Google Scholar]
- 29.Gupta K., Lalit M., Biswas A., Sanada C.D., Greene C., Hukari K., Maulik U., Bandyopadhyay S., Ramalingam N., Ahuja G., et al. Modeling expression ranks for noise-tolerant differential expression analysis of scRNA-seq data. Genome Res. 2021;31:689–697. doi: 10.1101/gr.267070.120. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Sun T., Song D., Li W.V., Li J.J. scDesign2: a transparent simulator that generates high-fidelity single-cell gene expression count data with gene correlations captured. Genome Biol. 2021;22:163. doi: 10.1186/s13059-021-02367-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Song D., Wang Q., Yan G., Liu T., Sun T., Li J.J. scDesign3 generates realistic in silico data for multimodal single-cell and spatial omics. Nat. Biotechnol. 2024;42:247–252. doi: 10.1038/s41587-023-01772-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 32.Kang H.M., Subramaniam M., Targ S., Nguyen M., Maliskova L., McCarthy E., Wan E., Wong S., Byrnes L., Lanata C.M., et al. Multiplexed droplet single-cell RNA-sequencing using natural genetic variation. Nat. Biotechnol. 2018;36:89–94. doi: 10.1038/nbt.4042. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33.Zheng G.X.Y., Terry J.M., Belgrader P., Ryvkin P., Bent Z.W., Wilson R., Ziraldo S.B., Wheeler T.D., McDermott G.P., Zhu J., et al. Massively parallel digital transcriptional profiling of single cells. Nat. Commun. 2017;8 doi: 10.1038/ncomms14049. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34.Eisenberg E., Levanon E.Y. Human housekeeping genes, revisited. Trends Genet. 2013;29:569–574. doi: 10.1016/j.tig.2013.05.010. [DOI] [PubMed] [Google Scholar]
- 35.Hounkpe B.W., Chenou F., de Lima F., De Paula E.V. HRT Atlas v1. 0 database: redefining human and mouse housekeeping genes and candidate reference transcripts by mining massive RNA-seq datasets. Nucleic Acids Res. 2021;49:D947–D955. doi: 10.1093/nar/gkaa609. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36.Hu C., Li T., Xu Y., Zhang X., Li F., Bai J., Chen J., Jiang W., Yang K., Ou Q., et al. CellMarker 2.0: an updated database of manually curated cell markers in human/mouse and web tools based on scRNA-seq data. Nucleic Acids Res. 2023;51:D870–D876. doi: 10.1093/nar/gkac947. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37.Caliński T., Harabasz J. A dendrite method for cluster analysis. Commun. Stat. Theor. Methods. 1974;3:1–27. doi: 10.1080/03610927408827101. [DOI] [Google Scholar]
- 38.Domínguez Conde C., Xu C., Jarvis L., Rainbow D., Wells S., Gomes T., Howlett S., Suchanek O., Polanski K., King H. Cross-tissue immune cell analysis reveals tissue-specific features in humans. Science. 2022;376 doi: 10.1126/science.abl5197. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 39.Meilă M. Comparing clusterings—an information based distance. J. Multivariate Anal. 2007;98:873–895. doi: 10.1016/j.jmva.2006.11.013. [DOI] [Google Scholar]
- 40.Hu Y., Hu Y., Xiao Y., Wen F., Zhang S., Liang D., Su L., Deng Y., Luo J., Ou J., et al. Genetic landscape and autoimmunity of monocytes in developing Vogt–Koyanagi–Harada disease. Proc. Natl. Acad. Sci. USA. 2020;117:25712–25721. doi: 10.1073/pnas.2002476117. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 41.Schelker M., Feau S., Du J., Ranu N., Klipp E., MacBeath G., Schoeberl B., Raue A. Estimation of immune cell content in tumour tissue using single-cell RNA-seq data. Nat. Commun. 2017;8:2032. doi: 10.1038/s41467-017-02289-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 42.Sinha D., Kumar A., Kumar H., Bandyopadhyay S., Sengupta D. dropClust: efficient clustering of ultra-large scRNA-seq data. Nucleic Acids Res. 2018;46:e36. doi: 10.1093/nar/gky007. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 43.Schiött Å., Lindstedt M., Johansson-Lindbom B., Roggen E., Borrebaeck C.A.K. CD27− CD4+ memory T cells define a differentiated memory population at both the functional and transcriptional levels. Immunology. 2004;113:363–370. doi: 10.1111/j.1365-2567.2004.01974.x. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 44.Lee J.S., Yi K., Ju Y.S., Shin E.-C. Effects of cryopreservation and thawing on single-cell transcriptomes of human T cells. Immune Netw. 2020;20:e34. doi: 10.4110/in.2020.20.e34. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 45.Baechler E.C., Batliwalla F.M., Karypis G., Gaffney P.M., Ortmann W.A., Espe K.J., Shark K.B., Grande W.J., Hughes K.M., Kapur V., et al. Interferon-inducible gene expression signature in peripheral blood cells of patients with severe lupus. Proc. Natl. Acad. Sci. USA. 2003;100:2610–2615. doi: 10.1073/pnas.0337679100. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 46.Bennett L., Palucka A.K., Arce E., Cantrell V., Borvák J., Banchereau J., Pascual V. Interferon and granulopoiesis signatures in systemic lupus erythematosus blood. J. Exp. Med. 2003;197:711–723. doi: 10.1084/jem.20021553. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 47.Zheng L., Qin S., Si W., Wang A., Xing B., Gao R., Ren X., Wang L., Wu X., Zhang J., et al. Pan-cancer single-cell landscape of tumor-infiltrating T cells. Science. 2021;374 doi: 10.1126/science.abe6474. [DOI] [PubMed] [Google Scholar]
- 48.Dong L., Lu D., Chen R., Lin Y., Zhu H., Zhang Z., Cai S., Cui P., Song G., Rao D., et al. Proteogenomic characterization identifies clinically relevant subgroups of intrahepatic cholangiocarcinoma. Cancer Cell. 2022;40:70–87.e15. doi: 10.1016/j.ccell.2021.12.006. [DOI] [PubMed] [Google Scholar]
- 49.Jusakul A., Cutcutache I., Yong C.H., Lim J.Q., Huang M.N., Padmanabhan N., Nellore V., Kongpetch S., Ng A.W.T., Ng L.-M., et al. Whole-genome and epigenomic landscapes of etiologically distinct subtypes of cholangiocarcinoma. Cancer Discov. 2017;7:1116–1135. doi: 10.1158/2159-8290.CD-17-0368. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 50.Wu R., Guo W., Qiu X., Wang S., Sui C., Lian Q., Wu J., Shan Y., Yang Z., Yang S., et al. Comprehensive analysis of spatial architecture in primary liver cancer. Sci. Adv. 2021;7 doi: 10.1126/sciadv.abg3750. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 51.Utispan K., Thuwajit P., Abiko Y., Charngkaew K., Paupairoj A., Chau-in S., Thuwajit C. Gene expression profiling of cholangiocarcinoma-derived fibroblast reveals alterations related to tumor progression and indicates periostin as a poor prognostic marker. Mol. Cancer. 2010;9:13. doi: 10.1186/1476-4598-9-13. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 52.Tirosh I., Izar B., Prakadan S.M., Wadsworth M.H., Treacy D., Trombetta J.J., Rotem A., Rodman C., Lian C., Murphy G., et al. Dissecting the multicellular ecosystem of metastatic melanoma by single-cell RNA-seq. Science. 2016;352:189–196. doi: 10.1126/science.aad0501. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 53.Hao Y., Hao S., Andersen-Nissen E., Mauck W.M., 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]
- 54.Malarkannan S. NKG7 makes a better killer. Nat. Immunol. 2020;21:1139–1140. doi: 10.1038/s41590-020-0767-5. [DOI] [PubMed] [Google Scholar]
- 55.Elyahu Y., Hekselman I., Eizenberg-Magar I., Berner O., Strominger I., Schiller M., Mittal K., Nemirovsky A., Eremenko E., Vital A., et al. Aging promotes reorganization of the CD4 T cell landscape toward extreme regulatory and effector phenotypes. Sci. Adv. 2019;5 doi: 10.1126/sciadv.aaw8330. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 56.Watowich M.B., Gilbert M.R., Larion M. T cell exhaustion in malignant gliomas. Trends Cancer. 2023;9:270–292. doi: 10.1016/j.trecan.2022.12.008. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 57.Trinh T., Adams W.A., Calescibetta A., Tu N., Dalton R., So T., Wei M., Ward G., Kostenko E., Christiansen S., et al. CX3CR1 deficiency-induced TIL tumor restriction as a novel addition for CAR-T design in solid malignancies. iScience. 2023;26 doi: 10.1016/j.isci.2023.106443. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 58.Yang W., Feng B., Meng Y., Wang J., Geng B., Cui Q., Zhang H., Yang Y., Yang J. FAM3C-YY1 axis is essential for TGFβ-promoted proliferation and migration of human breast cancer MDA-MB-231 cells via the activation of HSF1. J. Cell Mol. Med. 2019;23:3464–3475. doi: 10.1111/jcmm.14243. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 59.Zhou L., Yao N., Yang L., Liu K., Qiao Y., Huang C., Du R., Yeung Y.T., Liu W., Cheng D., et al. DUSP4 promotes esophageal squamous cell carcinoma progression by dephosphorylating HSP90β. Cell Rep. 2023;42 doi: 10.1016/j.celrep.2023.112445. [DOI] [PubMed] [Google Scholar]
- 60.Hamann I., Unterwalder N., Cardona A.E., Meisel C., Zipp F., Ransohoff R.M., Infante-Duarte C. Analyses of phenotypic and functional characteristics of CX3CR1-expressing natural killer cells. Immunology. 2011;133:62–73. doi: 10.1111/j.1365-2567.2011.03409.x. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 61.Jeffrey K.L., Camps M., Rommel C., Mackay C.R. Targeting dual-specificity phosphatases: manipulating MAP kinase signalling and immune responses. Nat. Rev. Drug Discov. 2007;6:391–403. doi: 10.1038/nrd2289. [DOI] [PubMed] [Google Scholar]
- 62.Jelihovschi E., Faria J.C., Allaman I.B. ScottKnott: a package for performing the Scott-Knott clustering algorithm in R. TeMA. 2014;15:3–17. doi: 10.5540/tema.2014.015.01.0003. [DOI] [Google Scholar]
- 63.Korsunsky I., Millard N., Fan J., Slowikowski K., Zhang F., Wei K., Baglaenko Y., Brenner M., Loh P.-r., Raychaudhuri S. Fast, sensitive and accurate integration of single-cell data with Harmony. Nat. Methods. 2019;16:1289–1296. doi: 10.1038/s41592-019-0619-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 64.Qiu X., Mao Q., Tang Y., Wang L., Chawla R., Pliner H.A., Trapnell C. Reversed graph embedding resolves complex single-cell trajectories. Nat. Methods. 2017;14:979–982. doi: 10.1038/nmeth.4402. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 65.Street K., Risso D., Fletcher R.B., Das D., Ngai J., Yosef N., Purdom E., Dudoit S. Slingshot: cell lineage and pseudotime inference for single-cell transcriptomics. BMC Genom. 2018;19:477. doi: 10.1186/s12864-018-4772-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 66.Robinson M.D., Oshlack A. A scaling normalization method for differential expression analysis of RNA-seq data. Genome Biol. 2010;11:R25–R29. doi: 10.1186/gb-2010-11-3-r25. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 67.Choi K., Chen Y., Skelly D.A., Churchill G.A. Bayesian model selection reveals biological origins of zero inflation in single-cell transcriptomics. Genome Biol. 2020;21:183. doi: 10.1186/s13059-020-02103-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 68.See P., Lum J., Chen J., Ginhoux F. A single-cell sequencing guide for immunologists. Front. Immunol. 2018;9:2425. doi: 10.3389/fimmu.2018.02425. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 69.Svensson V., Vento-Tormo R., Teichmann S.A. Exponential scaling of single-cell RNA-seq in the past decade. Nat. Protoc. 2018;13:599–604. doi: 10.1038/nprot.2017.149. [DOI] [PubMed] [Google Scholar]
- 70.Yakowitz S.J., Spragins J.D. On the identifiability of finite mixtures. Ann. Math. Stat. 1968;39:209–214. doi: 10.1214/aoms/1177698520. [DOI] [Google Scholar]
- 71.Dixon W.J. Simplified estimation from censored normal samples. Ann. Math. Stat. 1960;31:385–391. doi: 10.1214/aoms/1177705900. [DOI] [Google Scholar]
- 72.Dempster A.P., Laird N.M., Rubin D.B. Maximum likelihood from incomplete data via the EM algorithm. J. Roy. Stat. Soc. B. 1977;39:1–22. [Google Scholar]
- 73.Vovk V., Wang R. Combining p-values via averaging. Biometrika. 2020;107:791–808. doi: 10.1093/biomet/asaa027. [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
-
•
This paper analyzes existing, publicly available data. The housekeeping gene list is downloaded from http://www.housekeeping.unicamp.br/. The PBMC3K dataset is downloaded from https://support.10xgenomics.com/single-cell-gene-expression/datasets/1.1.0/pbmc3k/. The Zheng datasets are downloaded from https://hub.docker.com/r/jinmiaochenlab/batch-effect-removal-benchmarking. The Kang dataset is downloaded from Gene Expression Omnibus (GEO) under accession number GSE96583. The iCCA dataset is available in Genome Sequence Archive in National Genomics Data Center under the accession number HRA000863. The spatial transcriptomics data of hepatocellular carcinoma is downloaded from http://lifeome.net/supp/livercancer-st/data.htm. All datasets used in this study are also available at https://doi.org/10.5281/zenodo.8185811.
-
•
The R package is available at Github: https://github.com/XiDsLab/Festem and at Zenodo: https://doi.org/10.5281/zenodo.11331165. Codes to reproduce the analyses in this manuscript are available at GitHub: https://github.com/XiDsLab/Festem_paper and at Zenodo: https://doi.org/10.5281/zenodo.11331165.
-
•
Any additional information required to reanalyze the data reported in this paper is available from the lead contact upon request.





