topicks
Pick top genes for downstream analyses
Loading...
Searching...
No Matches
topicks::TopQueueOptions< Stat_ > Struct Template Reference

Options for TopQueue. More...

#include <TopQueue.hpp>

Public Attributes

std::optional< Stat_ > bound
 
bool open_bound = true
 
bool keep_ties = true
 
bool check_nan = false
 

Detailed Description

template<typename Stat_>
struct topicks::TopQueueOptions< Stat_ >

Options for TopQueue.

Template Parameters
Stat_Numeric type of the statistic for ranking top genes.

Member Data Documentation

◆ bound

template<typename Stat_ >
std::optional<Stat_> topicks::TopQueueOptions< Stat_ >::bound

A absolute bound for the statistic. A gene will not be inserted in the queue if its statistic is:

If unset, no absolute bound is applied to the statistic.

◆ open_bound

template<typename Stat_ >
bool topicks::TopQueueOptions< Stat_ >::open_bound = true

Whether TopQueue::bound is an open interval, i.e., genes with statistics equal to the bound will not be inserted in the queue. Only relevant if TopQueue::bound is set.

◆ keep_ties

template<typename Stat_ >
bool topicks::TopQueueOptions< Stat_ >::keep_ties = true

Whether to keep all genes with statistics that are tied with the top-th gene. If false, the number of genes in the queue will not be greater than top; ties are broken by retaining genes with a lower index.

◆ check_nan

template<typename Stat_ >
bool topicks::TopQueueOptions< Stat_ >::check_nan = false

Whether to check for NaN values and ignore them. If false, it is assumed that no NaNs will be added to the queue.


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