scran_blocks
Blocking utilities for libscran
|
Calculation of per-block weights. More...
Go to the source code of this file.
Classes | |
struct | scran_blocks::VariableWeightParameters |
Parameters for compute_variable_weight() . More... | |
Namespaces | |
namespace | scran_blocks |
Blocking utilities for libscran. | |
Enumerations | |
enum class | scran_blocks::WeightPolicy : char { NONE , VARIABLE , EQUAL } |
Functions | |
double | scran_blocks::compute_variable_weight (double s, const VariableWeightParameters ¶ms) |
template<typename Size_ , typename Weight_ > | |
void | scran_blocks::compute_weights (size_t num_blocks, const Size_ *sizes, WeightPolicy policy, const VariableWeightParameters &variable, Weight_ *weights) |
template<typename Weight_ = double, typename Size_ > | |
std::vector< Weight_ > | scran_blocks::compute_weights (const std::vector< Size_ > &sizes, WeightPolicy policy, const VariableWeightParameters &variable) |
Calculation of per-block weights.