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

Buffers for compute_rna_qc_metrics(). More...

#include <rna_quality_control.hpp>

Public Attributes

Sum_sum = NULL
 
Detected_detected = NULL
 
std::vector< Proportion_ * > subset_proportion
 

Detailed Description

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

Buffers for compute_rna_qc_metrics().

Template Parameters
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.

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 counts in each cell. This is analogous to ComputeRnaQcMetricsResults::sum.

◆ detected

Pointer to an array of length equal to the number of cells, to store the number of detected genes in each cell. This is analogous to ComputeRnaQcMetricsResults::detected.

◆ subset_proportion

template<typename Sum_ = double, typename Detected_ = int, typename Proportion_ = double>
std::vector<Proportion_*> scran_qc::ComputeRnaQcMetricsBuffers< Sum_, Detected_, Proportion_ >::subset_proportion

Vector of pointers of length equal to the number of feature subsets. Each entry should point to an array of length equal to the number of cells, to store the subset proportion in each cell. This is analogous to ComputeRnaQcMetricsResults::subset_proportion.


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