scran_aggregate
Aggregate expression values across cells
Loading...
Searching...
No Matches
Namespaces | Functions
combine_factors.hpp File Reference

Combine categorical factors into a single factor. More...

#include <algorithm>
#include <vector>
#include <map>
#include <unordered_map>
#include <typeindex>
#include "clean_factor.hpp"
Include dependency graph for combine_factors.hpp:
This graph shows which files directly or indirectly include this file:

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)
 

Detailed Description

Combine categorical factors into a single factor.