Literature DB >> 32207520

Automatic identification of relevant genes from low-dimensional embeddings of single-cell RNA-seq data.

Philipp Angerer1,2, David S Fischer1,2, Fabian J Theis1, Antonio Scialdone1,3,4, Carsten Marr1.   

Abstract

MOTIVATION: Dimensionality reduction is a key step in the analysis of single-cell RNA-sequencing data. It produces a low-dimensional embedding for visualization and as a calculation base for downstream analysis. Nonlinear techniques are most suitable to handle the intrinsic complexity of large, heterogeneous single-cell data. However, with no linear relation between gene and embedding coordinate, there is no way to extract the identity of genes driving any cell's position in the low-dimensional embedding, making it difficult to characterize the underlying biological processes.
RESULTS: In this article, we introduce the concepts of local and global gene relevance to compute an equivalent of principal component analysis loadings for non-linear low-dimensional embeddings. Global gene relevance identifies drivers of the overall embedding, while local gene relevance identifies those of a defined sub-region. We apply our method to single-cell RNA-seq datasets from different experimental protocols and to different low-dimensional embedding techniques. This shows our method's versatility to identify key genes for a variety of biological processes.
AVAILABILITY AND IMPLEMENTATION: To ensure reproducibility and ease of use, our method is released as part of destiny 3.0, a popular R package for building diffusion maps from single-cell transcriptomic data. It is readily available through Bioconductor. SUPPLEMENTARY INFORMATION: Supplementary data are available at Bioinformatics online.
© The Author(s) 2020. Published by Oxford University Press.

Entities:  

Year:  2020        PMID: 32207520      PMCID: PMC7520047          DOI: 10.1093/bioinformatics/btaa198

Source DB:  PubMed          Journal:  Bioinformatics        ISSN: 1367-4803            Impact factor:   6.937


1 Introduction

Single-cell RNA-sequencing (scRNA-seq) has massively improved the resolution developmental trajectories Baron and allowed unprecedented insights into the heterogeneity of complex tissues Tritschler and Vento-Tormo . On the flip side, new challenges have arisen due to the amount of data that needs to be processed Angerer , higher levels of technical and biological noise Yuan , and identification and interpretation of known and novel cell types Pliner . To exploit the new opportunities and deal with the new challenges, a large number of algorithms and tools have been developed Zappia . Dimension reduction methods create a low-dimensional embedding of the high-dimensional gene expression space. Those embeddings are widely used for two applications: They (i) serve as a visual overview of the data on which gene expression profiles and per-cell or per-cluster statistics can be compared. They (ii) serve as inputs for further downstream computational analysis. For example, principal component analysis (PCA) is a popular technique to identify orthogonal linear combinations of genes that explain variance in the data. PCA loadings quantify the contribution of genes to each principal component and help understand the genetic drivers of the underlying molecular processes. However, linear methods are often not able to capture the complexity of high-dimensional datasets (Haghverdi ), which is why nonlinear dimension reduction methods have become the standard for scRNA-seq data analysis [see e.g. t-SNE (t-Stochastic Neighborhood Embedding) Husnain , diffusion maps; Coifman , Haghverdi and Husnain ; UMAP (Uniform Manifold Approximation and Projection) Becht and McInnes ; and graph-based methods Islam ]. However, no intrinsic measure of individual genes’ contribution to each embedding dimension exists for non-linear embeddings. Without such a measure, the identification of genes that drive the variability in the data requires tedious manual inspection and prior knowledge about possible target genes. Here, we introduce gene relevance, a measure for a gene’s contribution to variance in low-dimensional embeddings, and present a method to infer a local as well as a global gene relevance score from any kind of low-dimensional embedding. To demonstrate the utility of the method, we apply gene relevance to several datasets prepared with different droplet- and plate-based protocols (see Supplementary Table S1). Gene relevance is available as part of the R package destinyAngerer .

2 Materials and methods

We define gene relevance as a measure of how much a gene contributes to the cell-to-cell variability in a low-dimensional embedding of a scRNA-seq dataset (see Fig. 1). It can be interpreted as a generalization of PCA loadings to non-linear dimensionality reduction techniques. Note that PCA loadings are constant with respect to the PC space while feature importance in a non-linear embedding is naturally a non-constant function of the embedding coordinates. A ranking of genes based on their relevance is built for every cell of the embedding. These rankings can be combined to obtain a measurement of the local or global relevance of each gene (see Fig. 1e–f), which highlight genes relevant in defined sub-regions of the embedding and all cells, respectively. To explore and visualize the results further, the method also provides a gene relevance map, where the locally most relevant genes are displayed along with their corresponding neighborhoods in the embedding (see Fig. 1g). Below, we describe in details every step in the estimation of global and local gene relevance.
Fig. 1.

The gene relevance concept. (a) A gene expression matrix from a scRNA-seq experiment is (b) reduced to a low-dimensional embedding s, with each dot representing a cell, and the color representing the expression x of gene in cell c. (c) Expression changes are calculated from estimates of partial derivatives with respect to the embedding, which results in one value per cell×gene×dimension combination. (d) We score the relevance of each gene in each cell according to the partial derivatives’ euclidean norm. This score indicates how relevant each gene is within its neighborhood. (e) For local gene relevance scores, we subdivide the embedding into bins and determine the fraction of cells per bin for which a given gene is among the (e.g. 10) most relevant genes (indicated by ‘%top rank’ in the figure legend). We color bins of the embedded cells according to their local gene relevance score, and fade them according to the number of cells they contain (indicated by ‘#cells’ in the legend). (f) For the global gene relevance score, we determine local relevance for all cells instead of a bin. In our illustrative example, Gene B has been ranked among the top 10 genes in 5.4% of all cells. (g) A gene relevance map indicates all cells where a given gene has the largest norm of partial derivatives (with or without a smoothing step—see Section 2). Such cells mark the areas where that gene has high local relevance

The gene relevance concept. (a) A gene expression matrix from a scRNA-seq experiment is (b) reduced to a low-dimensional embedding s, with each dot representing a cell, and the color representing the expression x of gene in cell c. (c) Expression changes are calculated from estimates of partial derivatives with respect to the embedding, which results in one value per cell×gene×dimension combination. (d) We score the relevance of each gene in each cell according to the partial derivatives’ euclidean norm. This score indicates how relevant each gene is within its neighborhood. (e) For local gene relevance scores, we subdivide the embedding into bins and determine the fraction of cells per bin for which a given gene is among the (e.g. 10) most relevant genes (indicated by ‘%top rank’ in the figure legend). We color bins of the embedded cells according to their local gene relevance score, and fade them according to the number of cells they contain (indicated by ‘#cells’ in the legend). (f) For the global gene relevance score, we determine local relevance for all cells instead of a bin. In our illustrative example, Gene B has been ranked among the top 10 genes in 5.4% of all cells. (g) A gene relevance map indicates all cells where a given gene has the largest norm of partial derivatives (with or without a smoothing step—see Section 2). Such cells mark the areas where that gene has high local relevance

2.1 Neighborhoods

If a k nearest neighbor (kNN) search has been performed as part of the embedding, it can be efficiently used for estimating the gene relevance. To perform the kNN search, destiny offers the choice between euclidean distance, cosine distance, and spearman rank correlation distance. The latter was used in all analyses performed for this article.

2.2 Gene expression changes

The differential d of gene g in cell c describes the change in gene expression x along a change in embedding coordinates s, where is the embedding dimension and d corresponds to the partial derivatives of the gene expression with respect to each embedding coordinate: We estimated d from the cells’ neighborhood in gene expression space using finite differences. To address the high dropout rate present in scRNA-seq data, we do not define d for x = 0.

2.3 Local gene relevance

The basis of local and global gene relevance is the score of gene in cell , defined as the euclidean norm of the differential d: In each cell c, genes can be ranked according to their score , from most to least relevant. Given the ranks of gene g and a rank cutoff , we define the local gene relevance of a gene for a set of cells as: with the Iverson bracket notation In our analyses, we used the default . The method is robust against the cutoff used, with the most relevant genes stable even for higher cutoffs >100 (see Supplementary Fig. S7).

2.4 Global gene relevance

The global relevance can simply be defined as the local gene relevance for the set of all cells .

2.5 Local gene relevance plots

The local gene relevance of genes can be visualized by evenly dividing the embedding space into bins and calculating for the set of cells falling into each bin . This visualization is shown in Figures 1e and 2d.
Fig. 2.

Gene relevance automatically detects drivers of embryonic blood development. (a) Diffusion map of 271 single hematopoietic progenitor cells from mostly Day 7.5 and 7.75 mouse embryos, profiled in Scialdone . (b) Global gene relevance identifies Hbb-bh1 and Hba-x as genes that change most dramatically during hematopoietic development. (c) A gene relevance map identifies the contribution of relevant genes in specific regions of the process and the corresponding code to create it. The genes corresponding to each color are shown in panel (b). (d) A local gene relevance plot details the areas where the contribution of genes is highest. Alox5ap shows a high local relevance in the top region of the diffusion map and has been implicated with early blood development Ibarra-Soria

Gene relevance automatically detects drivers of embryonic blood development. (a) Diffusion map of 271 single hematopoietic progenitor cells from mostly Day 7.5 and 7.75 mouse embryos, profiled in Scialdone . (b) Global gene relevance identifies Hbb-bh1 and Hba-x as genes that change most dramatically during hematopoietic development. (c) A gene relevance map identifies the contribution of relevant genes in specific regions of the process and the corresponding code to create it. The genes corresponding to each color are shown in panel (b). (d) A local gene relevance plot details the areas where the contribution of genes is highest. Alox5ap shows a high local relevance in the top region of the diffusion map and has been implicated with early blood development Ibarra-Soria

2.6 Gene relevance maps

For a set of genes of interest (which can be chosen, e.g. among those with highest global relevance) and each cell c, we define the locally most relevant gene after a number of smoothing steps m: During a smoothing iteration, we replace the local gene relevance score of cell c and gene g with the fraction of neighbors that have g as the most relevant gene. The amount of smoothing is controlled by the smoothing parameter m. Decreasing m will result in more locality and more genes with a high relevance in a small region will appear on the map, while genes with a medium relevance in more or larger regions will vanish. When determining the locally most relevant gene using the globally most relevant genes as , the aforementioned parameter can be used as a sensitivity parameter, with higher values resulting in more genes being selected as relevant. Finding the globally most relevant genes are robust to both parameters (see Supplementary Fig. S7), while locally relevant genes are affected to a larger extent. Importantly, due to the short computation time of gene relevance maps, one can explore several combinations of parameters. For cell sizes in the range of few hundreds, the running time is less than one to a few seconds with 40 000 cell×gene combinations per second processed. For cell sizes in the thousands 20 000 cell×gene combinations per second are processed, resulting in run times of a few minutes (run times have been measured on a single 3.6 GHz CPU core).

2.7 scRNA-seq data

We demonstrate our method on four datasets (see Section 3 and Supplementary Table S1 for details). In the mouse gastrulation data from Scialdone , we used count data from 271 cells mostly of the neural plate (embryonic Day 7.5) and head fold (embryonic Day 7.75) development stages of mouse embryos. There, the libraries were constructed using the Smart-seq2 protocol, read counts were obtained via HTseq-count. The 271 cells we used correspond to the clusters annotated as ‘blood progenitor’ and ‘primitive erythroid’ in the original publication. We selected highly variable genes using the method of Brennecke because of its stable performance Yip , and embedded the log-transformed data using the diffusion map implementation destiny Angerer . For the two human cell datasets, we applied the same analysis steps, starting from the highly variable gene selection (see Supplementary Fig. S3). The human endocrine cell data from Veres was sequenced using the inDrops platform, while the human brain organoid data from Gray Camp used the SMARTer Ultra Low RNA Kit in combination with an Illumina sequencer. The data from Kolodziejczyk used Nextera kits together with an Illumina sequencer. For further details about the pre-processing of these data, please refer to the individual publications.

3 Results

We demonstrate our method on a scRNA-seq dataset of blood progenitors and blood cells from mouse embryos Scialdone ; see Fig. 2a). In the original publication, these data were used to reconstruct a trajectory representing primitive erythropoiesis, along which blood marker expression increases and other markers (such as endothelial cells) decrease. There, an ad hoc method was devised to find important genes in the 2D diffusion map embedding of the data. Here, we show how our method can be used ‘out of the box’ to rank genes based on their local and global relevance. First, we ranked all highly variable genes according to their global gene relevance (see Fig. 2b). As expected, the high-ranking genes are mostly associated with blood development, including the hemoglobin genes Hba-a1, Hba-x, Hbb-bh1 and the erythrocyte membrane genes Gypa and Cited4 Yahata . The genes Cyr61 and Hapln1 are involved in extracellular matrix and important for development of the cardiovascular system Latinkić . The top of the list has a good overlap with the ad hoc method in Scialdone : 4 genes are shared between the top 10 of both lists, and we find a Rank-Biased Overlap of RBO = 0.48, where we used p = 0.9, which assigns ∼86% of the weight to the first 10 genes Webber . Second, we created a gene relevance map (Fig. 2c). Five out of the six locally most relevant genes (see Fig. 2c) are among the ten most globally relevant ones. Interestingly, Alox5ap is included only in the gene relevance map, because its contribution is confined to a small region of the diffusion space (bottom right panel in Fig. 2d) and hard to detect at the level of gene expression (see Supplementary Fig. S1). This gene was not discovered by the ad hoc method of Scialdone , but it has been recently found to be important in early blood development Ibarra-Soria . Locally and globally relevant genes can also be inferred in other embeddings such as t-SNE van der Maaten and Hinton (2008) and UMAP Becht , with a stable recovery of the most relevant genes between comparable embeddings (see Supplementary Fig. S2). Applied to other scRNA-seq datasets, we showcase versatility and ease of application of our method. In droplet-sequenced data of human endocrine cells Veres , gene relevance maps detect genes driving the separation of sub-regions of the embedding (see Supplementary Fig. S3a), in accordance to the markers identified in the original paper. In human brain organoid cells Gray Camp , we detect relevant genes different from the markers specified in the article because of a low-density region between mesenchymal cells and neurons/neural progenitors (see Supplemetnary Fig. S3b). The genes therefore seem to be selected for driving the difference between progenitors and neurons: TXNRD1 plays a vital role for neuron progenitor cells Soerensen , the selenoprotein SELT protects neurons against oxidative stress in mouse models Boukhzar , and CRABP1 modulates the neuronal cell cycle in mice Lin . Finally, we applied gene relevance to mouse embryonic stem cells grown in three different pluripotency retaining media Kolodziejczyk . As expected for cells in a relatively homogenous pluripotent steady state, the relevant genes for diffusion map embedding of all three media were enriched for housekeeping, metabolic and proliferation pathways (see Supplementary Fig. S5).

4 Discussion

We presented a method that is able to reliably detect relevant genes from low-dimensional embeddings of scRNA-seq data. More specifically, our method computes both a local and a global gene relevance score: local gene relevance identifies the main drivers of the cell-to-cell variability in defined sub-regions of the embedding, while global gene relevance identifies those of the whole embedding. In addition to a gene ranking based on global relevance, the method also provides graphic tools to visualize the local gene relevance (see Fig. 1e) and the changes in gene expression levels within the embedding (see Fig. 1c and Supplementary Fig. S1). It can be used for any single-cell dataset and any dimensionality reduction technique. We applied our method to three datasets, including one from mouse embryonic blood progenitors, where we show that it performs comparably to a technique custom-made for the dataset. Interestingly, our method identifies Alox5ap (Fig. 2), a gene that was recently shown to be important for blood development in a later publication Ibarra-Soria . In two other examples, we used human cells, endocrine Veres and from brain organoids Gray Camp , showing that the method works robustly in varied conditions. When compared with the classical method of looking at PCA loadings, gene relevance provides a generalization not tied to this dimension reduction method, as it is also suited for non-linear dimension reduction methods. It can therefore be used to explore the differences in the embeddings obtained by different dimension reduction methods (see Supplementary Fig. S2). Applied to a PCA embedding, gene relevance recovers a similar list of genes to those with the highest PC loadings (see Supplementary Fig. S8). Other methods to identify important genes specifically from scRNA-seq data exist, but most of them aim to find marker genes that can best distinguish different cell types Delaney . Conversely, the method we presented is unsupervised and does not rely on cell type annotation. Recently, two computational methods have been developed to identify variable genes in spatial RNA-seq datasets, trendsceek and SpatialDE Edsgärd and Svensson . Although these methods were designed to find patterns in spatial transcriptomic datasets, they can also be used to identify relevant genes in low-dimensional embeddings of scRNA-seq datasets [see Supplementary Fig. S6 in Edsgärd ]. We compared our approach to trendsceek and found similar genes (see Supplementary Fig. S6) in a considerably shorter running time: our method took 6.5 s, whereas trendsceek needed 1080 s (run times measured on a single 2.0 GHz CPU core). SpatialDE returned a perfect score for too many genes, making gene ranking impossible. This is probably related to both methods being optimized toward identifying spatial patterns. Moreover, neither method allows estimation of local gene relevance. To summarize, our gene relevance method is a fast and versatile exploratory tool that can help identify the biological processes and reveal the presence and driving genes of potentially rare cell sub-populations. It is available online, easily applicable and faster than model fitting approaches. Although we focused our discussion on scRNA-seq datasets, our method can be applied to virtually any kind of dataset where low-dimensional embeddings are obtained, including, for instance, single-cell epigenomic Shema and mass cytometry data Spitzer and Nolan (2016). Gene relevance has been developed as part of the Bioconductor package destiny: bioconductor.org/packages/destiny. API documentation for analysis and plotting and are available at is at https://theislab.github.io/destiny/ The datasets analyzed within this publication are available from their original publications as described in Supplementary Table S1 Click here for additional data file.
  27 in total

1.  Diffusion maps for high-dimensional single-cell analysis of differentiation data.

Authors:  Laleh Haghverdi; Florian Buettner; Fabian J Theis
Journal:  Bioinformatics       Date:  2015-05-21       Impact factor: 6.937

2.  Cellular Retinoic Acid-Binding Protein 1 Modulates Stem Cell Proliferation to Affect Learning and Memory in Male Mice.

Authors:  Yu-Lung Lin; Shawna D Persaud; Jennifer Nhieu; Li-Na Wei
Journal:  Endocrinology       Date:  2017-09-01       Impact factor: 4.736

Review 3.  Evaluation of tools for highly variable gene discovery from single-cell RNA-seq data.

Authors:  Shun H Yip; Pak Chung Sham; Junwen Wang
Journal:  Brief Bioinform       Date:  2019-07-19       Impact factor: 11.622

4.  A Single-Cell Transcriptomic Map of the Human and Mouse Pancreas Reveals Inter- and Intra-cell Population Structure.

Authors:  Maayan Baron; Adrian Veres; Samuel L Wolock; Aubrey L Faust; Renaud Gaujoux; Amedeo Vetere; Jennifer Hyoje Ryu; Bridget K Wagner; Shai S Shen-Orr; Allon M Klein; Douglas A Melton; Itai Yanai
Journal:  Cell Syst       Date:  2016-09-22       Impact factor: 10.304

5.  Geometric diffusions as a tool for harmonic analysis and structure definition of data: diffusion maps.

Authors:  R R Coifman; S Lafon; A B Lee; M Maggioni; B Nadler; F Warner; S W Zucker
Journal:  Proc Natl Acad Sci U S A       Date:  2005-05-17       Impact factor: 12.779

6.  Single-cell reconstruction of the early maternal-fetal interface in humans.

Authors:  Roser Vento-Tormo; Mirjana Efremova; Muzlifah Haniffa; Ashley Moffett; Sarah A Teichmann; Rachel A Botting; Margherita Y Turco; Miquel Vento-Tormo; Kerstin B Meyer; Jong-Eun Park; Emily Stephenson; Krzysztof Polański; Angela Goncalves; Lucy Gardner; Staffan Holmqvist; Johan Henriksson; Angela Zou; Andrew M Sharkey; Ben Millar; Barbara Innes; Laura Wood; Anna Wilbrey-Clark; Rebecca P Payne; Martin A Ivarsson; Steve Lisgo; Andrew Filby; David H Rowitch; Judith N Bulmer; Gavin J Wright; Michael J T Stubbington
Journal:  Nature       Date:  2018-11-14       Impact factor: 69.504

Review 7.  Challenges and emerging directions in single-cell analysis.

Authors:  Guo-Cheng Yuan; Long Cai; Michael Elowitz; Tariq Enver; Guoping Fan; Guoji Guo; Rafael Irizarry; Peter Kharchenko; Junhyong Kim; Stuart Orkin; John Quackenbush; Assieh Saadatpour; Timm Schroeder; Ramesh Shivdasani; Itay Tirosh
Journal:  Genome Biol       Date:  2017-05-08       Impact factor: 13.583

Review 8.  Systematic single-cell analysis provides new insights into heterogeneity and plasticity of the pancreas.

Authors:  Sophie Tritschler; Fabian J Theis; Heiko Lickert; Anika Böttcher
Journal:  Mol Metab       Date:  2017-07-20       Impact factor: 7.422

9.  The role of thioredoxin reductases in brain development.

Authors:  Jonna Soerensen; Cemile Jakupoglu; Heike Beck; Heidi Förster; Jörg Schmidt; Wolfgang Schmahl; Ulrich Schweizer; Marcus Conrad; Markus Brielmeier
Journal:  PLoS One       Date:  2008-03-19       Impact factor: 3.240

10.  Identification of spatial expression trends in single-cell gene expression data.

Authors:  Daniel Edsgärd; Per Johnsson; Rickard Sandberg
Journal:  Nat Methods       Date:  2018-03-19       Impact factor: 28.547

View more
  2 in total

1.  XOmiVAE: an interpretable deep learning model for cancer classification using high-dimensional omics data.

Authors:  Eloise Withnell; Xiaoyu Zhang; Kai Sun; Yike Guo
Journal:  Brief Bioinform       Date:  2021-11-05       Impact factor: 11.622

2.  GSEA-SDBE: A gene selection method for breast cancer classification based on GSEA and analyzing differences in performance metrics.

Authors:  Hu Ai
Journal:  PLoS One       Date:  2022-04-26       Impact factor: 3.752

  2 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.