There were 213 press releases posted in the last 24 hours and 456,340 in the last 365 days.

scFseCluster: a feature selection-enhanced clustering for single-cell RNA-seq data

Data collection and preprocessing

We collected six publicly available scRNA-seq datasets containing cell-type annotations and gene expression values from various scRNA-seq platforms, which can be downloaded from the Gene Expression Omnibus (62) and BioStudies (63). All the datasets are from different species, including mice and humans, and from different organs, such as the brain, pancreas, and embryo. The detailed information on the datasets is summarized in Table 1.

Assume that X is a single cell reads count matrix, where Xij represents the count of jth gene of the ith cell. The same preprocessing process was followed for all datasets. First, the genes that have no counts in any cell will be filtered out. The expression matrix of the single-cell transcriptome was considered more suitable for clustering analysis (64). Therefore, we converted the reads count matrix into the expression matrix by normalization and log2 transform. The current gene expression matrix remains a high-dimensional sparse matrix, and those low-expressed genes have insufficient information to recognize the cell type. Accordingly, we screened the top D HVGs by Scanpy package (65) (default D=2000) and subsequently input the HVG matrix into the feature selection algorithm FSQSSA.

Methodology of scFseCluster

The whole framework of scFseCluster includes three steps (Fig 6). Firstly, HVG selection is implemented on the normalized gene expression matrix. Secondly, FSQSSA is used to select the optimally selected genes based on the HVG expression matrix. Finally, the optimally selected gene expression matrix was input into the clustering module for cell type detection. If the number of clusters (K) is given, K-means algorithm will be called; otherwise, Louvain algorithm (66) will be started and the suitable value of K will be estimated.

Figure 6. Diagram of the proposed scFseCluster framework.

HVG denotes a highly variable gene. OSG means optimally selected gene.

FSQSSA for feature selection

In this section, we introduce the proposed feature selection algorithm FSQSSA (Fig S3), which is inspired by Squirrel Swarm Algorithm (52). Each feature is indicated by a “1” or “0,” which respectively signifies that the feature is selected or unselected. In quantum-based optimization (67), each feature is represented by a quantum bit or Q-bit (q). Q-bit is the superposition of a “0” and “1,” which is expressed in Dirac notation as q=α|0+β|1 (68). The values of α and β correspond to the probability that the value of the Q-bit is “0” and “1,” respectively. They must also obey the formula |α|2+|β|2=1. Because Q-bits are a linear superposition of probabilities, they are able to represent a more versatile population (69). Because the Q-bit uses the Dirac notation and cannot be directly involved in the operation, it is necessary to represent each feature using the angle θ of the Q-bit (70). The symbol θ is related to the probabilities α and β as follows: θ=tan1(α/β), α=cosθ, β=sinθ.

Each position of the flying squirrel represents an individual, which consists of D Q-bits. Here, D represents the total number of features. So, each individual (Qi) can be represented by the following Equation (1):Qi=[qi1,qi2,...,qiD]=[θi1,θi2,...,θiD](1)

The state of the jth element in Qi can be derived using Equation (2). xji is equal to 1 denotes the feature included in the feature subset; otherwise, it is not selected.xji={1,if|α|2|β|20,otherwise(2)

The uniform distribution (Equation (3)) is used to assign the initial position of each flying squirrel.Qi=θL+random(0,1)×(θUθL)(3)where θL and θU are the lower and upper bounds of ith flying squirrel in jth dimension. In addition, random(0,1) is a uniformly distributed random number in the range [0,1].

The fitness function in the FSQSSA is an important metric for assessing the strength of individuals in a population. The fitness value reflects the goodness of fit of each candidate solution (optimal feature subset) to the objective problem. As a multi-objective problem, FSQSSA tries simultaneously minimizing the size of a subset of selected features and maximizing the clustering accuracy of a given subset of features. Based on the above basis, the fitness function constructed to achieve a balance between the two objectives for determining the solution, in this case, is defined as shown in Equation (4).Fitness(Si)=w×SC(yi^)+(1w)×(1|Si|D)(4)where Si represents the subset of features obtained by ith squirrel, and for each feature subset, this study uses the K-Means model for clustering, yi^ means the clustering label of the output of the ith subset. The function SC(yi^) denotes the contour coefficient of the potential feature subset, and |Si| indicates the number of selected features. The parameter w is a balance parameter that controls the clustering accuracy and feature selection rate. To ensure that our primary objective of maintaining accuracy is achieved, we set w as 0.9 in our study (53, 71, 72, 73).

As mentioned earlier, three types of trees in the forest represent different food resource classes. To make FSQSSA achieve a better balance between exploration and exploitation, we assume that there are 50 trees in the forest; only 1 tree was top-ranked hickory, 3 second-ranked acorns, and 46 lowest-ranked normal trees. The number of squirrels matches the number of trees in the forest, with only one squirrel per tree.

Squirrels need to constantly search for more advanced resources in the forest to satisfy their requirements. The dynamic foraging process of a flying squirrel leads to three scenarios: (1) a squirrel flies from an acorn tree to a hickory tree; (2) a squirrel flies from a normal tree to an acorn tree; and (3) a squirrel flies from a normal tree directly to a hickory tree. It is hypothesized that in the absence of natural predators, a squirrel glides throughout the forest and effectively searches for food, whereas the presence of natural predators causes it to become alarmed and forced to flee to random locations. Natural enemies give each squirrel room to escape, which makes FSQSSA less likely to fall into a local optimum solution. We define the probability of the presence of a natural enemy as Pdp, which is equal to 0.1 by default. The squirrel’s foraging process can be mathematically modeled as follows.

Case 1

A squirrel flies from an acorn tree (θat) to a hickory tree (θht). In this case, the new location of the squirrel can be obtained as follows:θatt+1={θatt+dg×Gc×(θhttθatt),R1PdpRandomlocation,otherwise(5)where dg is the random glide distance, defaulted between 0.3 and 0.7. R1 is a random number ranging between [0,1]. The t denotes the current iteration. The balance between exploration and exploitation is achieved through the sliding constant Gc in the equation, whose value significantly affects the algorithm’s performance, which uses the default value of 1.9 in the standard Squirrel Search Algorithm.

Case 2

Flying squirrel moves from a normal tree (θnt) to an acorn tree. In this case, the new location of squirrels can be obtained as follows:θntt+1={θntt+dg×Gc×(θattθntt),R2PdpRandomlocation,otherwise(6)where R2 is a random number in the range [0,1].

Case 3

Some of the squirrels in the normal tree fly directly to hickory trees. In this case, the new location of squirrels can be obtained as follows:θntt+1={θntt+dg×Gc×(θhttθntt),R3PdpRandomlocation,otherwise(7)where R3 is a random number in the range [0,1].

Seasonal changes can significantly affect the foraging activity of squirrels (74). They suffer substantial heat loss at low temperatures, and weather conditions force them to be less active in winter than fall (75). Squirrel movements are affected by changes in weather, hence the seasonal monitoring conditions retained in this study. The seasonal monitoring condition prevents FSQSSA from falling into a local optimum solution and enhances the exploratory ability of squirrels. The following steps are involved in modeling the behavior.

Sct=k=1d(θat,ktθht,k)2(8)Where t=1,2,3.

Smin=10E6(365)t/(tm/2.5)(9)Where t and tm are the current and maximum iteration values, respectively. The value Smin affects the exploration and exploitation capabilities of the proposed method. Larger value of Smin promotes exploration, whereas smaller values of Smin enhance the exploitation capability of the algorithm. For any effective metaheuristic, there must be a proper balance between these two phases (76).

  • (c) If seasonal monitoring condition is found to be true, those flying squirrels unable to explore the forest for optimal winter food sources will be randomly relocated. Because the normal trees have the lowest level of food resources, FSQSSA assumes that only squirrels in the normal trees will be forced to migrate randomly in search of better food sources. The random migration of squirrels is given by Equation (10).

θntnew=θL+Le´vy(n)×(θUθL)(10)Lévy flight is a powerful mathematical tool used for improving global exploration capabilities of various metaheuristic algorithms (77). Le´vy flight helps to find new candidate solutions far from the current best solution.

Performance metrics

We aggregate six quality metrics (78) including Rand Index (RI), Adjusted Rand Index (ARI), Normalized Mutual Information (NMI), Adjusted Mutual Information (AMI), Accuracy (ACC), and Fowlkes–Mallows Index (FMI) to access the clustering performance of the scFseCluster model. These metrics are defined as follows:RI=NumberofpairwisecorrectpredictionsTotalnumberofpossiblepairs(11)ARI=NumberofpairwisetruepositivepredictionE[RI]AveragenumberofpairsinsameclusterforactualandpredictedE[RI](12)NMI=MI[H(U)+H(V)]/2(13)AMI=MIE[MI][H(U)+H(V)]/2E[MI](14)ACC=TP+TNTP+FP+TN+FN(15)FMI=TP(TP+FP)×(TP+FN)(16)RI and ARI measure the similarity between the cluster assignments by making pair-wise comparisons (79). NMI and AMI measure the agreement between the cluster assignments (53). H(U) and H(V) denote the entropy of actual and predicted cluster assignments, respectively. NM is equal to i=1|U|j=1|V|P(i,j)log[P(i,j)/P(i)P(j)]. P(i) and P(j) represent the probability of data occurring in Cluster i (actual) and Cluster j (predicted). FMI measures the correctness of the cluster assignments using pairwise precision and recall (53). The definition for TP, TN, FP, and FN is done by counting the number of pairwise samples if they are allocated in the same or different cluster for the predicted and actual labels.

Comparison analysis

To prove the effectiveness, we carried out a comparison analysis from two aspects. In one aspect, we compared FSQSSA with metaheuristic methods, including the standard Squirrel Search Algorithm (Squirrel) (52), Enhanced Salp Swarm Algorithm (Salp) (53), ABC (54), and Genetic Algorithm (GA) (55). All the comparative algorithms share the same fitness function (Equation (4)). In addition, all of them were iterated 100 times, with 50 individuals in each iteration of the population. In particular, it should be noted that the standard Squirrel and ABC can only solve continuous optimization problems, whereas feature selection is typically a discrete optimization problem. For this purpose, we apply the sigmoid function to these two algorithms to obtain the feature subset.

In another aspect, we compared our scFseCluster algorithm with seven SOTA methods for scRNA-seq data clustering, which includes two deep learning approaches scDeepCluster (35) and DESC (33), and five machine learning methods: Seurat (28), CIDR (56), SINCERA (13), SC3 (29), and SIMLR (57). We respect all the steps of other methods without any additional extraneous operations. Table S2 summarizes the details of these methods.

Legal Disclaimer:

EIN Presswire provides this news content "as is" without warranty of any kind. We do not accept any responsibility or liability for the accuracy, content, images, videos, licenses, completeness, legality, or reliability of the information contained in this article. If you have any complaints or copyright issues related to this article, kindly contact the author above.