scran_qc
Simple quality control on single-cell data
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
adt_quality_control.hpp File Reference

Simple per-cell QC metrics from an ADT count matrix. More...

#include <vector>
#include <limits>
#include <algorithm>
#include <type_traits>
#include "tatami/tatami.hpp"
#include "find_median_mad.hpp"
#include "per_cell_qc_metrics.hpp"
#include "choose_filter_thresholds.hpp"
Include dependency graph for adt_quality_control.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  scran_qc::ComputeAdtQcMetricsOptions
 Options for compute_adt_qc_metrics(). More...
 
struct  scran_qc::ComputeAdtQcMetricsBuffers< Sum_, Detected_ >
 Buffers for compute_adt_qc_metrics(). More...
 
struct  scran_qc::ComputeAdtQcMetricsResults< Sum_, Detected_ >
 Results of compute_adt_qc_metrics(). More...
 
struct  scran_qc::ComputeAdtQcFiltersOptions
 Options for compute_adt_qc_filters(). More...
 
class  scran_qc::AdtQcFilters< Float_ >
 Filter for high-quality cells using ADT-based metrics. More...
 
class  scran_qc::AdtQcBlockedFilters< Float_ >
 Filter on ADT-based QC metrics with blocking. More...
 

Namespaces

namespace  scran_qc
 Simple quality control for single-cell data.
 

Functions

template<typename Value_ , typename Index_ , typename Subset_ , typename Sum_ , typename Detected_ >
void scran_qc::compute_adt_qc_metrics (const tatami::Matrix< Value_, Index_ > &mat, const std::vector< Subset_ > &subsets, const ComputeAdtQcMetricsBuffers< Sum_, Detected_ > &output, const ComputeAdtQcMetricsOptions &options)
 
template<typename Sum_ = double, typename Detected_ = int, typename Value_ = double, typename Index_ = int, typename Subset_ = const uint8_t*>
ComputeAdtQcMetricsResults< Sum_, Detected_scran_qc::compute_adt_qc_metrics (const tatami::Matrix< Value_, Index_ > &mat, const std::vector< Subset_ > &subsets, const ComputeAdtQcMetricsOptions &options)
 
template<typename Float_ = double, typename Sum_ , typename Detected_ >
AdtQcFilters< Float_scran_qc::compute_adt_qc_filters (size_t num, const ComputeAdtQcMetricsBuffers< Sum_, Detected_ > &metrics, const ComputeAdtQcFiltersOptions &options)
 
template<typename Float_ = double, typename Sum_ , typename Detected_ >
AdtQcFilters< Float_scran_qc::compute_adt_qc_filters (const ComputeAdtQcMetricsResults< Sum_, Detected_ > &metrics, const ComputeAdtQcFiltersOptions &options)
 
template<typename Float_ = double, typename Sum_ , typename Detected_ , typename Block_ >
AdtQcBlockedFilters< Float_scran_qc::compute_adt_qc_filters_blocked (size_t num, const ComputeAdtQcMetricsBuffers< Sum_, Detected_ > &metrics, const Block_ *block, const ComputeAdtQcFiltersOptions &options)
 
template<typename Float_ = double, typename Sum_ , typename Detected_ , typename Block_ >
AdtQcBlockedFilters< Float_scran_qc::compute_adt_qc_filters_blocked (const ComputeAdtQcMetricsResults< Sum_, Detected_ > &metrics, const Block_ *block, const ComputeAdtQcFiltersOptions &options)
 

Detailed Description

Simple per-cell QC metrics from an ADT count matrix.