scran
C++ library for basic single-cell RNA-seq analyses
Loading...
Searching...
No Matches
Public Attributes | List of all members
scran::AggregateAcrossCells::Results< Sum, Detected > Struct Template Reference

Container for the aggregation results. More...

#include <AggregateAcrossCells.hpp>

Public Attributes

std::vector< std::vector< Sum > > sums
 
std::vector< std::vector< Detected > > detected
 

Detailed Description

template<typename Sum, typename Detected>
struct scran::AggregateAcrossCells::Results< Sum, Detected >

Container for the aggregation results.

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

Member Data Documentation

◆ sums

template<typename Sum , typename Detected >
std::vector<std::vector<Sum> > scran::AggregateAcrossCells::Results< Sum, Detected >::sums

Vector of length equal to the number of factor levels. Each inner vector is of length equal to the number of genes. Each entry contains the summed expression across all cells in the corresponding level for the corresponding gene.

If compute_sums() was set to false, this vector is empty.

◆ detected

template<typename Sum , typename Detected >
std::vector<std::vector<Detected> > scran::AggregateAcrossCells::Results< Sum, Detected >::detected

Vector of length equal to the number of factor levels. Each inner vector is of length equal to the number of genes. Each entry contains the number of cells in the corresponding level with detected expression for the corresponding gene.

If computed_detected() was set to false, this vector is empty.


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