Compute per-cell quality control metrics from a CRISPR guide count matrix.
Given a feature-by-cell guide count matrix, this class computes several QC metrics:
- The total sum of counts for each cell. Low counts indicate that the cell was not successfully transfected with a construct, or that library preparation and sequencing failed. In either case, the cell is considered to be of low quality.
- The number of detected guides per cell. In theory, this should be 1, as each cell should express no more than one guide construct. However, ambient contamination may introduce non-zero counts for multiple guides, without necessarily interfering with downstream analyses. As such, this metric is less useful for guide data, though we compute it anyway.
- The proportion of counts in the most abundant guide construct. Low values indicate that the cell was transfected with multiple guides. The identity of the most abundant guide is also reported.
Under the hood, this class is just a pre-configured wrapper around PerCellQcMetrics
. with some careful division of the maximum count.