|
scran_qc
Simple quality control on single-cell data
|
Filter for high-quality cells using RNA-based metrics. More...
#include <rna_quality_control.hpp>
Public Member Functions | |
| Float_ | get_sum () const |
| Float_ | get_detected () const |
| const std::vector< Float_ > & | get_subset_proportion () const |
| Float_ & | get_sum () |
| Float_ & | get_detected () |
| std::vector< Float_ > & | get_subset_proportion () |
| template<typename Sum_ , typename Detected_ , typename Proportion_ , typename Output_ > | |
| void | filter (const std::size_t num, const ComputeRnaQcMetricsBuffers< Sum_, Detected_, Proportion_ > &metrics, Output_ *const output) const |
| template<typename Sum_ , typename Detected_ , typename Proportion_ , typename Output_ > | |
| void | filter (const ComputeRnaQcMetricsResults< Sum_, Detected_, Proportion_ > &metrics, Output_ *const output) const |
| template<typename Output_ = unsigned char, typename Sum_ , typename Detected_ , typename Proportion_ > | |
| std::vector< Output_ > | filter (const ComputeRnaQcMetricsResults< Sum_, Detected_, Proportion_ > &metrics) const |
Filter for high-quality cells using RNA-based metrics.
| Float_ | Floating-point type for filter thresholds. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| Sum_ | Numeric type to store the summed expression. |
| Detected_ | Integer type to store the number of cells. |
| Proportion_ | Floating-point type to store the proportions. |
| Output_ | Boolean type to store the high quality flags. |
| num | Number of cells. | |
| metrics | A collection of arrays containing RNA-based QC metrics, filled by compute_rna_qc_metrics(). The feature subsets should be the same as those used in the metrics supplied to compute_rna_qc_filters(). | |
| [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. |
| Proportion_ | Floating-point type to store the proportions. |
| Output_ | Boolean type to store the high quality flags. |
| metrics | RNA-based QC metrics returned by compute_rna_qc_metrics(). The feature subsets should be the same as those used in the metrics supplied to compute_rna_qc_filters(). | |
| [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. |
| Proportion_ | Floating-point type to store the proportions. |
| metrics | RNA-based QC metrics returned by compute_rna_qc_metrics(). The feature subsets should be the same as those used in the metrics supplied to compute_rna_qc_filters(). |
num, containing the high-quality calls.