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

Sanitize invalid size factors. More...

#include <cmath>
#include <stdexcept>
Include dependency graph for sanitize_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::SizeFactorDiagnostics
 Diagnostics for the size factors. More...
 
struct  scran_norm::SanitizeSizeFactorsOptions
 Options for sanitize_size_factors(). More...
 

Namespaces

namespace  scran_norm
 Scaling normalization of single-cell data.
 

Enumerations

enum class  scran_norm::SanitizeAction : char { IGNORE , ERROR , SANITIZE }
 

Functions

template<typename SizeFactor_ >
SizeFactorDiagnostics scran_norm::check_size_factor_sanity (size_t num, const SizeFactor_ *size_factors)
 
template<typename SizeFactor_ >
void scran_norm::sanitize_size_factors (size_t num, SizeFactor_ *size_factors, const SizeFactorDiagnostics &status, const SanitizeSizeFactorsOptions &options)
 
template<typename SizeFactor_ >
SizeFactorDiagnostics scran_norm::sanitize_size_factors (size_t num, SizeFactor_ *size_factors, const SanitizeSizeFactorsOptions &options)
 

Detailed Description

Sanitize invalid size factors.