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

Compute the median and MAD from an array of values. More...

#include <vector>
#include <limits>
#include <cmath>
#include <algorithm>
#include <cstdint>
#include "tatami_stats/tatami_stats.hpp"
Include dependency graph for find_median_mad.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  scran_qc::FindMedianMadOptions
 Options for find_median_mad(). More...
 
struct  scran_qc::FindMedianMadResults< Float_ >
 Results of find_median_mad(). More...
 
class  scran_qc::FindMedianMadWorkspace< Float_, Index_ >
 Temporary data structures for find_median_mad_blocked(). More...
 

Namespaces

namespace  scran_qc
 Simple quality control for single-cell data.
 

Functions

template<typename Index_ , typename Float_ >
FindMedianMadResults< Float_scran_qc::find_median_mad (Index_ num, Float_ *metrics, const FindMedianMadOptions &options)
 
template<typename Float_ = double, typename Index_ , typename Value_ >
FindMedianMadResults< Float_scran_qc::find_median_mad (Index_ num, const Value_ *metrics, Float_ *buffer, const FindMedianMadOptions &options)
 
template<typename Output_ = double, typename Index_ , typename Value_ , typename Block_ >
std::vector< FindMedianMadResults< Output_ > > scran_qc::find_median_mad_blocked (Index_ num, const Value_ *metrics, const Block_ *block, FindMedianMadWorkspace< Output_, Index_ > *workspace, const FindMedianMadOptions &options)
 

Detailed Description

Compute the median and MAD from an array of values.