scran_qc
Simple quality control on single-cell data
Loading...
Searching...
No Matches
Public Attributes | List of all members
scran_qc::ComputeAdtQcMetricsBuffers< Sum_, Detected_ > Struct Template Reference

Buffers for compute_adt_qc_metrics(). More...

#include <adt_quality_control.hpp>

Public Attributes

Sum_sum
 
Detected_detected
 
std::vector< Sum_ * > subset_sum
 

Detailed Description

template<typename Sum_ = double, typename Detected_ = int>
struct scran_qc::ComputeAdtQcMetricsBuffers< Sum_, Detected_ >

Buffers for compute_adt_qc_metrics().

Template Parameters
Sum_Numeric type to store the summed expression.
Detected_Integer type to store the number of cells.

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

Member Data Documentation

◆ sum

Pointer to an array of length equal to the number of cells, to store the sum of ADT counts for each cell. This is analogous to ComputeAdtQcMetricsResults::sum.

◆ detected

Pointer to an array of length equal to the number of cells, to store the number of detected ADTs for each cell. This is analogous to ComputeAdtQcMetricsResults::detected.

◆ subset_sum

template<typename Sum_ = double, typename Detected_ = int>
std::vector<Sum_*> scran_qc::ComputeAdtQcMetricsBuffers< Sum_, Detected_ >::subset_sum

Vector of pointers of length equal to the number of feature subsets, to store the sum of counts for each ADT subset in each cell. Each entry should point to an array of length equal to the number of cells. This is analogous to ComputeAdtQcMetricsResults::subset_sum.


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