scran_qc
Simple quality control on single-cell data
Loading...
Searching...
No Matches
scran_qc::ChooseFilterThresholdsBlockedWorkspace< Float_ > Struct Template Reference

Workspace for choose_filter_thresholds_blocked(). More...

#include <choose_filter_thresholds.hpp>

Public Member Functions

template<typename Block_ >
 ChooseFilterThresholdsBlockedWorkspace (const std::size_t num_cells, const Block_ *const block, const std::size_t num_blocks)
 
 ChooseFilterThresholdsBlockedWorkspace ()=default
 

Detailed Description

template<typename Float_>
struct scran_qc::ChooseFilterThresholdsBlockedWorkspace< Float_ >

Workspace for choose_filter_thresholds_blocked().

This can be re-used across multiple choose_filter_thresholds_blocked() calls to avoid reallocation.

Template Parameters
Float_Floating-point type of the buffer.

Constructor & Destructor Documentation

◆ ChooseFilterThresholdsBlockedWorkspace() [1/2]

template<typename Float_ >
template<typename Block_ >
scran_qc::ChooseFilterThresholdsBlockedWorkspace< Float_ >::ChooseFilterThresholdsBlockedWorkspace ( const std::size_t num_cells,
const Block_ *const block,
const std::size_t num_blocks )
inline
Template Parameters
Block_Integer type of the block identifiers.
Parameters
num_cellsNumber of cells.
[in]blockPointer to an array of block identifiers. The array should be of length equal to num_cells. Values should be integer IDs in \([0, N)\) where \(N\) is the number of blocks.
num_blocksTotal number of blocks, i.e., \(N\).

◆ ChooseFilterThresholdsBlockedWorkspace() [2/2]

template<typename Float_ >
scran_qc::ChooseFilterThresholdsBlockedWorkspace< Float_ >::ChooseFilterThresholdsBlockedWorkspace ( )
default

Default constructor.


The documentation for this struct was generated from the following file: