scran_variances
Model per-gene variance in expression
Loading...
Searching...
No Matches
Public Attributes | List of all members
scran_variances::ChooseHighlyVariableGenesOptions Struct Reference

Options for choose_highly_variable_genes(). More...

#include <choose_highly_variable_genes.hpp>

Public Attributes

size_t top = 4000
 
bool larger = true
 
bool use_bound = false
 
double bound = 0
 
bool keep_ties = true
 

Detailed Description

Options for choose_highly_variable_genes().

Member Data Documentation

◆ top

size_t scran_variances::ChooseHighlyVariableGenesOptions::top = 4000

Number of top genes to choose. Note that the actual number of chosen genes may be:

◆ larger

bool scran_variances::ChooseHighlyVariableGenesOptions::larger = true

Whether larger statistics correspond to higher variances.

◆ use_bound

bool scran_variances::ChooseHighlyVariableGenesOptions::use_bound = false

Whether to consider an absolute bound on the statistic when choosing HVGs. The value of the bound is determined by ChooseHighlyVariableGenesOptions::bound.

◆ bound

double scran_variances::ChooseHighlyVariableGenesOptions::bound = 0

A lower bound for the statistic, at or below which a gene will not be considered as highly variable even if it is among the top top genes. If ChooseHighlyVariableGenesOptions::larger = false, this is an upper bound instead. Only used if ChooseHighlyVariableGenesOptions::use_bound = true.

◆ keep_ties

bool scran_variances::ChooseHighlyVariableGenesOptions::keep_ties = true

Whether to keep all genes with statistics that are tied with the ChooseHighlyVariableGenesOptions::top-th gene. If false, ties are arbitrarily broken but the number of retained genes will not be greater than ChooseHighlyVariableGenesOptions::top.


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