scran_aggregate
Aggregate expression values across cells
Loading...
Searching...
No Matches
clean_factor.hpp
1#ifndef SCRAN_AGGREGATE_CLEAN_FACTORS_HPP
2#define SCRAN_AGGREGATE_CLEAN_FACTORS_HPP
3
4#include "factorize/factorize.hpp"
5
6namespace scran_aggregate {
7
8// Preserving it here for back-compatibility.
9template<typename Factor_, typename Output_>
10std::vector<Factor_> clean_factor(const std::size_t n, const Factor_* const factor, Output_* const cleaned) {
11 return factorize::create_factor(n, factor, cleaned);
12}
13
14}
15
16#endif
Aggregate single-cell expression values.
Definition aggregate_across_cells.hpp:20