scran_variances
Model per-gene variance in expression
|
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 |
Options for choose_highly_variable_genes()
.
size_t scran_variances::ChooseHighlyVariableGenesOptions::top = 4000 |
Number of top genes to choose. Note that the actual number of chosen genes may be:
top
, if the latter is greater than the total number of genes in the dataset.top
, if ChooseHighlyVariableGenesOptions::use_bound = true
and top
is greater than the total number of genes in the dataset with statistics greater than ChooseHighlyVariableGenesOptions::bound
.top
, if ChooseHighlyVariableGenesOptions::keep_ties = true
and there are multiple ties at the top
-th chosen gene. Whether larger statistics correspond to higher variances.
Whether to consider an absolute bound on the statistic when choosing HVGs. The value of the bound is determined by ChooseHighlyVariableGenesOptions::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
.
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
.