scran_qc
Simple quality control on single-cell data
Loading...
Searching...
No Matches
scran_qc::ComputeCrisprQcMetricsBuffers< Sum_, Detected_, Value_, Index_ > Struct Template Reference

Buffers for compute_crispr_qc_metrics(). More...

#include <crispr_quality_control.hpp>

Public Attributes

Sum_ * sum
 
Detected_ * detected
 
Value_ * max_value
 
Index_ * max_index
 

Detailed Description

template<typename Sum_ = double, typename Detected_ = int, typename Value_ = double, typename Index_ = int>
struct scran_qc::ComputeCrisprQcMetricsBuffers< Sum_, Detected_, Value_, Index_ >

Buffers for compute_crispr_qc_metrics().

Template Parameters
Sum_Numeric type of the sums, usually floating-point. If integer, this should be large enough to avoid overflow.
Detected_Integer type of the number of detected cells. This should be large enough to avoid integer overflow, typically set to the same type as Index_.
Value_Type of matrix value.
Index_Type of the matrix indices.

Note that, unlike PerCellQcMetricsBuffers, all pointers are expected to be non-NULL here.

Member Data Documentation

◆ sum

template<typename Sum_ = double, typename Detected_ = int, typename Value_ = double, typename Index_ = int>
Sum_* scran_qc::ComputeCrisprQcMetricsBuffers< Sum_, Detected_, Value_, Index_ >::sum

Pointer to an array of length equal to the number of cells, to store the sum of CRISPR counts per cell. This is analogous to ComputeCrisprQcMetricsResults::sum.

◆ detected

template<typename Sum_ = double, typename Detected_ = int, typename Value_ = double, typename Index_ = int>
Detected_* scran_qc::ComputeCrisprQcMetricsBuffers< Sum_, Detected_, Value_, Index_ >::detected

Pointer to an array of length equal to the number of cells, to store the number of detected guides per cell. This is analogous to ComputeCrisprQcMetricsResults::detected.

◆ max_value

template<typename Sum_ = double, typename Detected_ = int, typename Value_ = double, typename Index_ = int>
Value_* scran_qc::ComputeCrisprQcMetricsBuffers< Sum_, Detected_, Value_, Index_ >::max_value

Pointer to an array of length equal to the number of cells, to store the maximum count for each cell. This is analogous to ComputeCrisprQcMetricsResults::max_value.

◆ max_index

template<typename Sum_ = double, typename Detected_ = int, typename Value_ = double, typename Index_ = int>
Index_* scran_qc::ComputeCrisprQcMetricsBuffers< Sum_, Detected_, Value_, Index_ >::max_index

Pointer to an array of length equal to the number of cells, to store the index of the most abundant guide for each cell. This is analogous to ComputeCrisprQcMetricsResults::max_index.


The documentation for this struct was generated from the following file: