Skip to main content
BMC Bioinformatics logoLink to BMC Bioinformatics
. 2015 Oct 5;16:320. doi: 10.1186/s12859-015-0757-z

SCExV: a webtool for the analysis and visualisation of single cell qRT-PCR data

Stefan Lang 1,2, Amol Ugale 1,2, Eva Erlandsson 1,2, Göran Karlsson 1,2, David Bryder 1,2, Shamit Soneji 1,2,
PMCID: PMC4595270  PMID: 26437766

Abstract

Background

Single cell gene expression assays have become a powerful tool with which to dissect heterogeneous populations. While methods and software exist to interrogate such data, what has been lacking is a unified solution combining analysis and visualisation which is also accessible and intuitive for use by non-bioinformaticians, as well as bioinformaticians.

Results

We present the Single cell expression visualiser (SCExV), a webtool developed to expedite the analysis of single cell qRT-PCR data. SCExV is able to take any data matrix of Ct values as an input, but can handle files exported by the Fluidigm Biomark platform directly. In addition, SCExV also accepts and automatically integrates cell surface marker intensity values which are measured during index sorting. This allows the user to directly visualise relationships between a single cell gene expression profile and the immunophenotype of the interrogated cell.

Conclusions

SCExV is a freely available webtool created to import, filter, analyse, and visualise single cell gene expression data whilst being able to simultaneously consider cellular immunophenotype. SCExV is designed to be intuitive to use whilst maintaining advanced functionality and flexibility in how analyses are performed.

Keywords: Gene expression, Single cells, qRT-PCR, Webtool, FACS, Index sorting, Visualisation

Background

The evaluation of gene expression at the single cell level can be used for a variety of applications in cell biology, including gene network reconstruction [1, 2] and the study of cell populations too rare to assay using bulk-population based approaches [3]. However, one of the most effective uses of such approaches has been to dissect cellular populations initially thought to be homogeneous, thereby revealing subgroups of cells with different functional properties [4]. The most common approach is to perform qRT-PCR on defined panels of genes, and in this respect the Biomark Fluidigm is currently the most used platform where typically 96 genes can be probed simultaneously within an individual cell. We have produced the Single Cell expression Visualiser (SCExV) a webtool specifically designed to enable non-bioinformaticians to analyse single cell gene expression data in an easy and intuitive manner. SCExV also allows the import of index cell sorting data which are the intensities of surface marker expression that are recording during the sorting process. In this way, subgroups found within a cohort of cells can be directly related back to their immunophenotype in an unbiased manner. This has great utility, for instance when the objective of the experiment is to define new cell sorting strategies or confirm existing ones.

Implementation

SCExV is implemented using the Perl Catalyst framework and Javascript. Calculation and plots are generated using R and Bioconductor packages and called by Perl. Rotatable 3D plots are implemented in WebGL. The challenge while developing SCExV was to maintain usability whilst also providing flexibility in how analyses are performed and displayed. Therfore, some of the functions native to R/Bioconductor had to be modified to ensure cross-compatibility with each other, namely the heatmap.2 and vioplot functions.

SCExV has two main modules 1) data upload, quality control, and normalisation, and 2) analysis and visualisation. SCExV will import data from the Biomark Fluidigm platform when exported in either table or heatmap format, as well as index cell sorting data (if available) in tab-delimited text. For other platforms, SCExV accepts a simple N cells by G genes matrix of Ct values in tab-delimited text format. In order to link the two data types, SCExV uses the well ID is used as a common identifier to mark the same cell in both files. SCExV can take multiple runs and automatically concatenate them to form a single experiment.

QC, filtering, and normalisation

At the first stage of an analysis the user has the option to remove problematic cells. This is done by choose a panel of positive control genes which SCExV will histogram. Super-imposed on these are density plots for individual chips, allowing the user to determine whether any replicates are technical outliers worthy of further scrutiny or removal. Cells are removed from the experiment if they do not fulfil user-defined criteria; for example, if control genes are expressed below user-defined threshold levels. Once initial filtering has been done, SCExV inverts the data so that for a given expression value v, vinverted=LODv,where LOD is the limit of detection representing the maximum number of PCR cycles run. Expression profiles are subsequently z-transformed [5]. The normalisation of single cell expression data is still a contentious issue as house-keeping genes are not a reliable baseline at the single cell level, regardless, we have provided several options including one that scales the Ct value of all genes within a cell to the median of a panel of house-keeping genes defined by the user. These can be used at the user’s discretion.

Analysis

The output from the analysis module is split into three main sections. The first pane shows the expression level of any selected gene within groups (e.g. clusters) as a violin plot (Fig. 1a), and the second displays the output from multidimensional scaling (PCA is shown in Fig. 1b). We have provided three viewing options i) the first 2 components ii) rotatable plot of components 1–3, and iii) 3D densities of components 1–3. Below the violin and MDS plots are heatmaps of the qRT-PCR expression data and surface marker intensities from the index sorting (Fig. 1c and 1d). Along with PCA, we have also implemented isomaps and local loop embedding (LLE) as alternatives [6]. We have provided two clustering methods; hierarchical clustering which uses the correlation distance by default (users have the option to choose the agglomeration rule), and kmeans. These can be applied to the expression and index sorting data.

Fig. 1.

Fig. 1

An SCExV session. Single cell qRT-PCR data has been clustered and partitioned into 5 groups (coloured bar in c) which defines the order of the index cell sorting data (d) and the colouring of cells in the PCA plot (b). The violin plot (a) gives an overview of expression within these 5 groups for a gene of interest, here Zfpm1 which shows strong expression in the blue cluster (a and c) which denotes a cluster of cells expressing an erythroid program

Creating/managing cell groups

The colouring scheme within heatmaps/violin/MDS plots denote groups of cells. Initially the groups are defined according to their plate (plate ID). New groups can then be defined, for example, by clustering to create groups of cells with similar expression patterns (see Fig. 1). We have provided two more ways to create groups that we call 1D/2D grouping. In 1D grouping the user has the option to chose a gene, and based on the expression level of that gene, bin the cells into as many partitions as required by providing cut-offs (e.g. low/high expressing). 2D grouping allows the user to select two genes which are plotted against each other, and groups are defined by dragging a box around the required cells (for example high/high, high/low expressing). Once confirmed, the user is returned to the analysis page where the colours in all plots are updated accordingly.

In some cases it is desirable to merge groups, for example, if two or more clusters are very similar, or several groups are composed of cells from the same sorting strategy. We have provided a fast way to do this where the groups that require merging are simply dragged together. At the same time, the order of the groups presented in the heatmaps and violin plots can also be changed. This is particularly useful, for example, where the groups of cells represent some developmental progression and the plots need to be adjusted to reflect time.

Saving analyses

We have implemented a fast and novel method to save results during an SCExV session which we call the “scrapbook”. As figures are generated by SCExV, the user can drag and drop the image into the scrapbook (or using a dedicated button for 3D plots) which opens a new tab in the browser. A dialogue box for free text is presented, inviting the user to annotate the plot. Once confirmed, the plot and annotation is added to the scrapbook for that session. In the interests of reproducibility, we also provide a log in the scrapbook detailing which analysis steps have been executed during the current session. The number of entries to the scrapbook is unlimited for any SCExV session.

The current state of an SCExV session can be downloaded as a zip file which contains all data, the scrapbook, and R scripts used during the analysis process. This zip file can also be uploaded to SCExV to continue a session. No data is saved on the server.

Results

This section presents an example study using data from murine myeloid-erythroid progenitor cells generated specifically to demonstrate the utility of SCExV.

Example analysis of murine blood progenitor cells

282 murine myeloid-erythroid progenitor cells were sorted as Lineage negative/low, cKit positive and Sca1 negative and stained for a further 5 surface markers, the intensities for which were recorded during index sorting for each cell (along with scatter profiles for each cell). Two surface markers CD115 and CD55 were chosen for their potential to mark myeloid and erythroid cells respectively [7]. For each cell the expression level of 96 genes were measured by qRT-PCR using the Fluidigm Biomark platform. Cells not expressing control genes were removed, and the remaining cells were clustered on their gene expression values and partitioned into 5 groups (coloured bar in Fig. 1c). The violin plot (Fig. 1a) shows the expression of a known erythroid regulator Zfpm1 which can be seen to have highest expression in the blue cluster. In the corresponding heatmap of cell surface markers (Fig. 1d) the blue cluster contains cells expressing CD55 but not CD115, confirming CD55 as an erythroid-associated marker. Conversely, CD115 was highly expressed on cells in the red and yellow clusters, which mark myeloid cells that are notably absent for CD55. The PCA plot coloured accordingly shows a clear division between erythroid and myeloid affiliated cells. Megakaryocyte/erythroid cells (MegE) show as a distinct group marked by CD150 (green cluster).

Discussion

From the example we present, a potential downstream analysis would be to sort CD55 positive cells with a panel of previously known erythroid affiliated markers. From here one could determine how much overlap CD55 has with these, and indeed whether CD55 could replace two or more of them, thereby freeing channels on the cell sorter that could be used for other purposes. Alternatively, the CD55 positive subset might represent a unique subset of erythroid cells.

Conclusions

SCExV is a user-friendly webtool that allows one to rapidly perform advanced analyses of single cell expression data without the need for programming skills. The ability to concurrently analyse index cell sorting data greatly enhances the utility of SCExV as it enables cell sorting strategies to be designed/confirmed/adjusted, which in turn promotes a faster development of protocols aimed at dissecting cellular heterogeneity.

Availability and requirements

Project name: SCExVProject homepage: http://stemsysbio.bmc.lu.se/SCExV/ where tutorial videos and example data are also provided.Programming language: Perl Catalyst, Javascript, R.Browser requirements: OpenGL enabled browsers. Currently optimised for Chrome and Firefox.License: GPLv3Any restrictions to use by non-academics: No

Acknowledgements

The authors acknowledge Caroline Guibentif, Sofia Adolfsson, Petter Säwén and Christina T Jensen for their constructive feedback during testing of SCExV.

Footnotes

Ethics

Experiments using murine cells were approved by a local ethical commitee at Lund University.

Competing interests

The authors declare that they have no competing interests.

Authors’ contributions

SL and SS conceived the project, SL constructed SCExV. DB designed and provided experimental data generated by AU and EE. GK provided guidance on data pre-processing. SS drafted the paper. All authors read and approved the final manuscript.

Authors’ information

Not Applicable.

Funding

This work was supported by Hemato-Linnè and StemTherapy which are funded by the Swedish Research Council and the Swedish Government respectively, Cancerfonden, and the ERC.

Contributor Information

Stefan Lang, Email: stefan.lang@med.lu.se.

Amol Ugale, Email: amol.ugale@med.lu.se.

Eva Erlandsson, Email: eva.erlandsson@med.lu.se.

Göran Karlsson, Email: goran.karlsson@med.lu.se.

David Bryder, Email: david.bryder@med.lu.se.

Shamit Soneji, Email: shamit.soneji@med.lu.se.

References

  • 1.Wills QF, Livak KJ, Tipping AJ, Enver T, Goldson AJ, Sexton DW, et al. Single-cell gene expression analysis reveals genetic associations masked in whole-tissue experiments. Nat Biotechnol. 2013;31(8):748–52. doi: 10.1038/nbt.2642. [DOI] [PubMed] [Google Scholar]
  • 2.Moignard V, Macaulay IC, Swiers G, Buettner F, Schutte J, Calero-Nieto FJ, et al. Characterization of transcriptional networks in blood stem and progenitor cells using high-throughput single-cell gene expression analysis. Nat Cell Biol. 2013;15(4):363–72. doi: 10.1038/ncb2709. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Karlsson G, Rorby E, Pina C, Soneji S, Reckzeh K, Miharada K, et al. The tetraspanin CD9 affords high-purity capture of all murine hematopoietic stem cells. Cell Rep. 2013;4(4):642–8. doi: 10.1016/j.celrep.2013.07.020. [DOI] [PubMed] [Google Scholar]
  • 4.Levsky JM, Singer RH. Gene expression and the myth of the average cell. Trends Cell Biol. 2003;13(1):4–6. doi: 10.1016/S0962-8924(02)00002-8. [DOI] [PubMed] [Google Scholar]
  • 5.McDavid A, Finak G, Chattopadyay PK, Dominguez M, Lamoreaux L, Ma SS, et al. Data exploration, quality control and testing in single-cell qPCR-based gene expression experiments. Bioinformatics. 2013;29(4):461–7. doi: 10.1093/bioinformatics/bts714. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6.Bartenhagen C. RDRToolbox: A Package for Nonlinear Dimension Reduction with Isomap and LLE. 2012. R package version 1.12.0 (https://www.bioconductor.org/packages/release/bioc/html/RDRToolbox.html).
  • 7.Guo G, Luc S, Marco E, Lin TW, Peng C, Kerenyi MA, et al. Mapping cellular hierarchy by single-cell analysis of the cell surface repertoire. Cell Stem Cell. 2013;13(4):492–505. doi: 10.1016/j.stem.2013.07.017. [DOI] [PMC free article] [PubMed] [Google Scholar]

Articles from BMC Bioinformatics are provided here courtesy of BMC

RESOURCES