scran_norm
Scaling normalization of single-cell data
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Functions
center_size_factors.hpp File Reference

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"
Include dependency graph for center_size_factors.hpp:
This graph shows which files directly or indirectly include this file:

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)
 

Detailed Description

Center size factors prior to scaling normalization.