scran_qc
Simple quality control on single-cell data
Loading...
Searching...
No Matches
choose_filter_thresholds.hpp File Reference

Define QC filter thresholds using a MAD-based approach. More...

#include <vector>
#include <limits>
#include <cmath>
#include <algorithm>
#include <cstddef>
#include <cassert>
#include "sanisizer/sanisizer.hpp"
#include "quickstats/quickstats.hpp"
#include "utils.hpp"
Include dependency graph for choose_filter_thresholds.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  scran_qc::ChooseFilterThresholdsOptions
 Options for choose_filter_thresholds(). More...
 
struct  scran_qc::ChooseFilterThresholdsResults< Float_ >
 Results of compute_adt_qc_metrics(). More...
 
struct  scran_qc::ChooseFilterThresholdsBlockedWorkspace< Float_ >
 Workspace for choose_filter_thresholds_blocked(). More...
 

Namespaces

namespace  scran_qc
 Simple quality control for single-cell data.
 

Functions

template<typename Value_ , typename Float_ >
ChooseFilterThresholdsResults< Float_ > scran_qc::choose_filter_thresholds (const std::size_t num_cells, const Value_ *const metrics, Float_ *const buffer, const ChooseFilterThresholdsOptions &options)
 
template<typename Float_ , typename Block_ >
void scran_qc::reset_choose_filter_thresholds_blocked_workspace (ChooseFilterThresholdsBlockedWorkspace< Float_ > &work, const std::size_t num_cells, const Block_ *const block, const std::size_t num_blocks)
 
template<typename Value_ , typename Block_ , typename Float_ >
std::vector< ChooseFilterThresholdsResults< Float_ > > scran_qc::choose_filter_thresholds_blocked (const std::size_t num_cells, const Value_ *const metrics, const Block_ *const block, const std::size_t num_blocks, ChooseFilterThresholdsBlockedWorkspace< Float_ > &workspace, const ChooseFilterThresholdsOptions &options)
 

Detailed Description

Define QC filter thresholds using a MAD-based approach.