scran
C++ library for basic single-cell RNA-seq analyses
|
Unique combinations of factors. More...
#include <AggregateAcrossCells.hpp>
Public Attributes | |
std::vector< std::vector< Factor > > | factors |
std::vector< size_t > | counts |
Unique combinations of factors.
Factor | Factor type, typically an integer. |
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.
std::vector<size_t> scran::AggregateAcrossCells::Combinations< Factor >::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.