scran_aggregate
Aggregate expression values across cells
Loading...
Searching...
No Matches
Public Attributes | List of all members
scran_aggregate::AggregateAcrossCellsBuffers< Sum_, Detected_ > Struct Template Reference

Buffers for aggregate_across_cells(). More...

#include <aggregate_across_cells.hpp>

Public Attributes

std::vector< Sum_ * > sums
 
std::vector< Detected_ * > detected
 

Detailed Description

template<typename Sum_, typename Detected_>
struct scran_aggregate::AggregateAcrossCellsBuffers< Sum_, Detected_ >

Buffers for aggregate_across_cells().

Template Parameters
Sum_Type of the sum, should be numeric.
Detected_Type for the number of detected cells, usually integer.

Member Data Documentation

◆ sums

template<typename Sum_ , typename Detected_ >
std::vector<Sum_*> scran_aggregate::AggregateAcrossCellsBuffers< Sum_, Detected_ >::sums

Vector of length equal to the number of factor levels. Each element is a pointer to an array of length equal to the number of genes, to be filled with the summed expression across all cells in the corresponding level for each gene.

If this is empty, the sums for each level are not computed.

◆ detected

template<typename Sum_ , typename Detected_ >
std::vector<Detected_*> scran_aggregate::AggregateAcrossCellsBuffers< Sum_, Detected_ >::detected

Vector of length equal to the number of factor levels. Each element is a pointer to an array of length equal to the number of genes, to be filled with the number of cells in the corresponding level with detected expression for each gene.

If this is empty, the number of detected cells for each level is not computed.


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