Interpreting the output of QC for Single Cell

Because the distribution of the QC metrics can be sample-specific, QC for Single Cell runs separately for each sample detected in the input Expression Matrix, producing the following outputs:

Empty droplets filter

Note that for droplet-based protocols, each droplet is assigned one barcode and these terms can be used interchangeably.

If the Empty droplets filter was enabled, the report contains the following information.

The report first shows the barcode rank plot, as seen in figure 5.9.

Image qc-1-rank
Figure 5.9: Barcode rank plot: log-log plot of the total number of reads for each barcode vs the rank of the barcode, in decreasing order of the number of reads. The barcodes are colored according to whether they are empty droplets containing only ambient RNA (Ambient, black) or retained as cells because they contain a high number of reads (Retained, green). When "Identify cells from the remaining droplets" is enabled, remaining barcodes are shown in blue and are tested for being empty droplets (top). Otherwise, these barcodes are shown in red and are removed as empty droplets (bottom).

If the automatic knee detection was used (see Empty droplets filter), this plot can indicate if this was successful or not. If the detected knee is not appropriate, the threshold value for barcodes with a high number of reads can be changed as detailed in Empty droplets filter.

The report then lists various summaries regarding the performed filter and the identified cells, as shown in figure 5.10.

Image qc-2_1-summary
Figure 5.10: Table summarizing the performed empty droplets filter and identified cells. "Sufficient simulations" and "Number of barcodes with significant FDR-corrected p-value" are reported only when "Model barcodes from empty droplets using the ambient RNA" is enabled.

When Model barcodes from empty droplets using the ambient RNA is enabled, the p-values are simulation-based, and their lower bound is determined by the number of simulations [Phipson and Smyth, 2010]. The summary table also indicates if sufficient simulations have been performed. The report then shows the p-value distribution for the barcodes assumed to be empty droplets and only containing ambient RNA. This is expected to be roughly uniformly distributed. Peaks close to 0 indicate that the assumption is invalid and the value for considering barcodes as being empty droplets should be reduced (see Empty droplets filter).

Image qc-2_2-p-values
Figure 5.11: Histogram of the p-values calculated for the barcodes from which the ambient RNA profile is built.

Count-based and extra-chromosomal filters

If the Empty droplets filter was not enabled, the report first shows the barcode rank plot, as seen in figure 5.12.

Image qc-1-rank-no-cell-calling
Figure 5.12: Barcode rank plot: log-log plot of the total number of reads for each barcode vs the rank of the barcode, in decreasing order of the number of reads. The barcodes are colored according to whether they are removed (red) or retained (blue), as determined by the number of reads filter.

The report then lists various summaries regarding the performed Count-based filters and Extra-chromosomal filters, as shown in figure 5.13.

Image qc-3_1-sumary
Figure 5.13: Table summarizing the performed count-based and extra-chromosomal filters.

Following are histograms of all QC metrics, regardless whether they have been used for filtering or not. When filtering was enabled, the histograms indicate the threshold used, see figure 5.14. When this threshold is calculated automatically based on the MAD (see Count-based and extra-chromosomal filters), the histograms can indicate if the threshold is appropriate or not.

Image qc-3_3-features
Figure 5.14: Histogram of the number of expressed features for all barcodes.

When the mitochondria filter is enabled, barcodes with too many reads mapped to the mitochondria are removed. However, high quality cells can be highly metabolically active, leading to the incorrect removal of barcodes. The report shows relations between the number of reads mapped to the mitochondria and the other QC metrics, to help identify such barcodes. Using the MAD approach (see Count-based and extra-chromosomal filters), the report attempts to automatically highlight such barcodes, but it is conservative in doing so. This can be seen in figure 5.15, where only two barcodes with a relatively high number of expressed features are highlighted, due to the shape of the underlying distribution shown in figure 5.14. See Choosing barcodes to retain on how to specify barcodes that should not be removed.

Image qc-3_6_1-reads
Figure 5.15: The number of reads mapped to the mitochondria vs the total number of reads (top) and expressed features (bottom). Barcodes in red have been removed and those in blue have been retained. The thresholds for removing barcodes are shown as horizontal and vertical red lines. Barcodes highlighted in orange have been removed, but might correspond to high quality cells that are highly metabolically active that should be retained.

Doublets filter

If the Doublets filter was enabled, the report contains the following information.

The report first lists a few summaries regarding the performed filter and the identified cells, as shown in figure 5.16.

Image qc-4_1-summary
Figure 5.16: Table summarizing the performed doublets filter and identified cells.

Following is a histogram showing the doublet scores (see figure 5.17), which can indicate if doublet filtering was successful.

Image qc-4_2-histogram
Figure 5.17: Histogram of the doublet score for all barcodes and simulated artificial doublets. The histogram is in dodge format: the width of one bin is given by the sum of the widths of the three types of shown data. The threshold for removing barcodes is shown as a vertical red line.

The report also shows relations between the doublet score and number of reads and expressed features (see figure 5.18). Typically, barcodes with a high number of expressed features and / or number of reads are more likely do be removed as doublets.

Image qc-4_3-4-scatter
Figure 5.18: The doublet score vs the total number of reads (top) and expressed features (bottom). Barcodes in red have been removed and those in blue have been retained. The threshold for removing barcodes is shown as vertical red lines.

These diagnostic plots can serve as a guide in adjusting the options for the doublet filter.