scran
C++ library for basic single-cell RNA-seq analyses
|
Utilities for handling blocks of cells. More...
Go to the source code of this file.
Classes | |
struct | scran::VariableBlockWeightParameters |
Parameters for variable_block_weight() . More... | |
Namespaces | |
namespace | scran |
Functions for single-cell RNA-seq analyses. | |
Enumerations | |
enum class | scran::WeightPolicy : char { NONE , VARIABLE , EQUAL } |
Functions | |
template<typename Id_ > | |
size_t | scran::count_ids (size_t length, const Id_ *ids) |
template<typename Output_ = int, bool allow_zeros_ = false, typename Id_ > | |
std::vector< Output_ > | scran::tabulate_ids (size_t length, const Id_ *ids, bool allow_zeros=false) |
double | scran::variable_block_weight (double s, const VariableBlockWeightParameters ¶ms) |
template<typename Size_ > | |
std::vector< double > | scran::compute_block_weights (const std::vector< Size_ > &sizes, WeightPolicy policy, const VariableBlockWeightParameters ¶m) |
Utilities for handling blocks of cells.