scran_aggregate
Aggregate expression values across cells
|
Combine categorical factors into a single factor. More...
#include <algorithm>
#include <vector>
#include <map>
#include <unordered_map>
#include <typeindex>
#include "clean_factor.hpp"
Go to the source code of this file.
Namespaces | |
namespace | scran_aggregate |
Aggregate single-cell expression values. | |
Functions | |
template<typename Factor_ , typename Combined_ > | |
std::vector< std::vector< Factor_ > > | scran_aggregate::combine_factors (size_t n, const std::vector< const Factor_ * > &factors, Combined_ *combined) |
template<typename Factor_ , typename Number_ , typename Combined_ > | |
std::vector< std::vector< Factor_ > > | scran_aggregate::combine_factors_unused (size_t n, const std::vector< std::pair< const Factor_ *, Number_ > > &factors, Combined_ *combined) |
Combine categorical factors into a single factor.