scran_norm
Scaling normalization of single-cell data
|
Center size factors prior to scaling normalization. More...
#include "tatami_stats/tatami_stats.hpp"
#include <vector>
#include <numeric>
#include <algorithm>
#include <type_traits>
#include "sanitize_size_factors.hpp"
Go to the source code of this file.
Classes | |
struct | scran_norm::CenterSizeFactorsOptions |
Options for center_size_factors() and center_size_factors_blocked() . More... | |
Namespaces | |
namespace | scran_norm |
Scaling normalization of single-cell data. | |
Enumerations | |
enum class | scran_norm::CenterBlockMode : char { PER_BLOCK , LOWEST } |
Functions | |
template<typename SizeFactor_ > | |
SizeFactor_ | scran_norm::center_size_factors_mean (size_t num, const SizeFactor_ *size_factors, SizeFactorDiagnostics *diagnostics, const CenterSizeFactorsOptions &options) |
template<typename SizeFactor_ > | |
SizeFactor_ | scran_norm::center_size_factors (size_t num, SizeFactor_ *size_factors, SizeFactorDiagnostics *diagnostics, const CenterSizeFactorsOptions &options) |
template<typename SizeFactor_ , typename Block_ > | |
std::vector< SizeFactor_ > | scran_norm::center_size_factors_blocked_mean (size_t num, const SizeFactor_ *size_factors, const Block_ *block, SizeFactorDiagnostics *diagnostics, const CenterSizeFactorsOptions &options) |
template<typename SizeFactor_ , typename Block_ > | |
std::vector< SizeFactor_ > | scran_norm::center_size_factors_blocked (size_t num, SizeFactor_ *size_factors, const Block_ *block, SizeFactorDiagnostics *diagnostics, const CenterSizeFactorsOptions &options) |
Center size factors prior to scaling normalization.