scran_qc
Simple quality control on single-cell data
|
Filter for high-quality cells using CRISPR-based metrics. More...
#include <crispr_quality_control.hpp>
Public Member Functions | |
Float_ | get_max_value () const |
Float_ & | get_max_value () |
template<typename Sum_ , typename Detected_ , typename Value_ , typename Index_ , typename Output_ > | |
void | filter (size_t num, const ComputeCrisprQcMetricsBuffers< Sum_, Detected_, Value_, Index_ > &metrics, Output_ *output) const |
template<typename Sum_ , typename Detected_ , typename Value_ , typename Index_ , typename Output_ > | |
void | filter (const ComputeCrisprQcMetricsResults< Sum_, Detected_, Value_, Index_ > &metrics, Output_ *output) const |
template<typename Output_ = uint8_t, typename Sum_ = double, typename Detected_ = int, typename Value_ = double, typename Index_ = int> | |
std::vector< Output_ > | filter (const ComputeCrisprQcMetricsResults< Sum_, Detected_, Value_, Index_ > &metrics) const |
Filter for high-quality cells using CRISPR-based metrics.
Float_ | Floating-point type for filter thresholds. |
Instances of this class are typically created by compute_crispr_qc_filters()
.
|
inline |
|
inline |
|
inline |
Sum_ | Numeric type to store the summed expression. |
Detected_ | Integer type to store the number of cells. |
Value_ | Type of matrix value. |
Index_ | Type of the matrix indices. |
Output_ | Boolean type to store the high quality flags. |
num | Number of cells. | |
metrics | A collection of arrays containing CRISPR-based QC metrics, filled by compute_crispr_qc_metrics() . | |
[out] | output | Pointer to an array of length num . On output, this is truthy for cells considered to be of high quality, and false otherwise. |
|
inline |
Sum_ | Numeric type to store the summed expression. |
Detected_ | Integer type to store the number of cells. |
Value_ | Type of matrix value. |
Index_ | Type of the matrix indices. |
Output_ | Boolean type to store the high quality flags. |
metrics | CRISPR-based QC metrics returned by compute_crispr_qc_metrics() . | |
[out] | output | Pointer to an array of length num . On output, this is truthy for cells considered to be of high quality, and false otherwise. |
|
inline |
Output_ | Boolean type to store the high quality flags. |
Sum_ | Numeric type to store the summed expression. |
Detected_ | Integer type to store the number of cells. |
Value_ | Type of matrix value. |
Index_ | Type of the matrix indices. |
metrics | CRISPR-based QC metrics returned by compute_crispr_qc_metrics() . |
num
, containing the high-quality calls.