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

Unique combinations of factors. More...

#include <AggregateAcrossCells.hpp>

Public Attributes

std::vector< std::vector< Factor > > factors
 
std::vector< size_tcounts
 

Detailed Description

template<typename Factor>
struct scran::AggregateAcrossCells::Combinations< Factor >

Unique combinations of factors.

Template Parameters
FactorFactor type, typically an integer.

Member Data Documentation

◆ factors

template<typename Factor >
std::vector<std::vector<Factor> > scran::AggregateAcrossCells::Combinations< Factor >::factors

Unique combinations of factor levels. Each inner vector corresponds to a factor. All inner vectors have the same length. Corresponding entries of the inner vectors define a particular combination of levels. Combinations are guaranteed to be sorted.

◆ counts

Number of cells in each unique combination of factor levels. This has the same length as each inner vector of factors. All entries are guaranteed to be positive.


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