topicks
Pick top genes for downstream analyses
Loading...
Searching...
No Matches
pick_top_genes.hpp File Reference

Pick top genes from an array of statistics. More...

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

Go to the source code of this file.

Classes

struct  topicks::PickTopGenesOptions< Stat_ >
 Options for pick_top_genes(). More...
 

Namespaces

namespace  topicks
 Pick top genes from their statistics.
 

Functions

template<typename Stat_ , typename Bool_ >
void topicks::pick_top_genes (const std::size_t n, const Stat_ *const statistic, const std::size_t top, const bool larger, Bool_ *const output, const PickTopGenesOptions< Stat_ > &options)
 
template<typename Bool_ , typename Stat_ >
std::vector< Bool_ > topicks::pick_top_genes (const std::size_t n, const Stat_ *const statistic, const std::size_t top, const bool larger, const PickTopGenesOptions< Stat_ > &options)
 
template<typename Index_ , typename Stat_ >
std::vector< Index_ > topicks::pick_top_genes_index (const Index_ n, const Stat_ *const statistic, const Index_ top, const bool larger, const PickTopGenesOptions< Stat_ > &options)
 

Detailed Description

Pick top genes from an array of statistics.