Filter on using CRISPR-based QC metrics with blocking.
More...
#include <crispr_quality_control.hpp>
|
| const std::vector< Float_ > & | get_max_value () const |
| |
| std::vector< Float_ > & | get_max_value () |
| |
| template<typename Sum_ , typename Detected_ , typename Value_ , typename Index_ , typename Block_ , typename Output_ > |
| void | filter (const std::size_t num, const ComputeCrisprQcMetricsBuffers< Sum_, Detected_, Value_, Index_ > &metrics, const Block_ *const block, Output_ *const output) const |
| |
| template<typename Sum_ , typename Detected_ , typename Value_ , typename Index_ , typename Block_ , typename Output_ > |
| void | filter (const ComputeCrisprQcMetricsResults< Sum_, Detected_, Value_, Index_ > &metrics, const Block_ *const block, Output_ *const output) const |
| |
| template<typename Output_ = unsigned char, typename Sum_ , typename Detected_ , typename Value_ , typename Index_ , typename Block_ > |
| std::vector< Output_ > | filter (const ComputeCrisprQcMetricsResults< Sum_, Detected_, Value_, Index_ > &metrics, const Block_ *const block) const |
| |
template<typename Float_ = double>
class scran_qc::CrisprQcBlockedFilters< Float_ >
Filter on using CRISPR-based QC metrics with blocking.
- Template Parameters
-
◆ get_max_value() [1/2]
template<typename Float_ = double>
- Returns
- Vector of length equal to the number of blocks, containing the lower threshold on the maximum count in each block.
◆ get_max_value() [2/2]
template<typename Float_ = double>
- Returns
- Vector of length equal to the number of blocks, containing the lower threshold on the maximum count in each block.
◆ filter() [1/3]
template<typename Float_ = double>
template<typename Sum_ , typename Detected_ , typename Value_ , typename Index_ , typename Block_ , typename Output_ >
- Template Parameters
-
| 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. |
| Block_ | Integer type of the block assignment. |
| Output_ | Boolean type to store the high quality flags. |
- Parameters
-
| num | Number of cells. |
| metrics | A collection of arrays containing CRISPR-based QC metrics, filled by compute_crispr_qc_metrics(). |
| [in] | block | Pointer to an array of length num containing block identifiers. Each identifier should correspond to the same blocks used in the constructor. |
| [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. |
◆ filter() [2/3]
template<typename Float_ = double>
template<typename Sum_ , typename Detected_ , typename Value_ , typename Index_ , typename Block_ , typename Output_ >
- Template Parameters
-
| 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. |
| Block_ | Integer type of the block assignment. |
| Output_ | Boolean type to store the high quality flags. |
- Parameters
-
| metrics | CRISPR-based QC metrics computed by compute_crispr_qc_metrics(). |
| [in] | block | Pointer to an array of length num containing block identifiers. Each identifier should correspond to the same blocks used in the constructor. |
| [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. |
◆ filter() [3/3]
template<typename Float_ = double>
template<typename Output_ = unsigned char, typename Sum_ , typename Detected_ , typename Value_ , typename Index_ , typename Block_ >
- Template Parameters
-
| 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. |
| Block_ | Integer type of the block assignment. |
- Parameters
-
| metrics | CRISPR-based QC metrics computed by compute_crispr_qc_metrics(). |
| [in] | block | Pointer to an array of length num containing block identifiers. Each identifier should correspond to the same blocks used in the constructor. |
- Returns
- Vector of length
num, containing the high-quality calls.
The documentation for this class was generated from the following file: