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

Result store for QC metric calculations. More...

#include <per_cell_qc_metrics.hpp>

Public Attributes

std::vector< Sum_sum
 
std::vector< Detected_detected
 
std::vector< Index_max_index
 
std::vector< Value_max_value
 
std::vector< std::vector< Sum_ > > subset_sum
 
std::vector< std::vector< Detected_ > > subset_detected
 

Detailed Description

template<typename Sum_, typename Detected_, typename Value_, typename Index_>
struct scran_qc::PerCellQcMetricsResults< Sum_, Detected_, Value_, Index_ >

Result store for QC metric calculations.

Template Parameters
Sum_Floating point type to store the sums.
Detected_Integer type to store the number of detected cells.
Value_Type of the matrix value.
Index_Integer type to store the gene index.

Meaningful instances of this object should generally be constructed by calling the per_cell_qc_metrics() functions. Empty instances can be default-constructed as placeholders.

Member Data Documentation

◆ sum

Sum of expression values for each cell. Empty if PerCellQcMetricsOptions::compute_sum is false.

◆ detected

Number of detected features in each cell. Empty if PerCellQcMetricsOptions::compute_detected is false.

◆ max_index

Row index of the most-expressed feature in each cell. On ties, the first feature is arbitrarily chosen. Empty if PerCellQcMetricsOptions::compute_max_index is false.

◆ max_value

Maximum value in each cell. Empty if PerCellQcMetricsOptions::compute_max_value is false.

◆ subset_sum

Sum of expression values for each feature subset in each cell. Each inner vector corresponds to a feature subset and is of length equal to the number of cells. Empty if there are no feature subsets or if PerCellQcMetricsOptions::compute_subset_sum is false.

◆ subset_detected

Number of detected features in each feature subset in each cell. Each inner vector corresponds to a feature subset and is of length equal to the number of cells. Empty if there are no feature subsets or if PerCellQcMetricsOptions::compute_subset_detected is false.


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