gsdecon
C++ port of the GSDecon algorithm
|
Options for compute()
and compute_blocked()
.
More...
#include <Options.hpp>
Public Attributes | |
int | rank = 1 |
bool | scale = false |
scran_blocks::WeightPolicy | block_weight_policy = scran_blocks::WeightPolicy::VARIABLE |
scran_blocks::VariableWeightParameters | variable_block_weight_parameters |
int | num_threads = 1 |
bool | realize_matrix = true |
irlba::Options | irlba_options |
Options for compute()
and compute_blocked()
.
scran_blocks::WeightPolicy gsdecon::Options::block_weight_policy = scran_blocks::WeightPolicy::VARIABLE |
Policy to use for weighting batches of different size, for compute_blocked()
.
irlba::Options gsdecon::Options::irlba_options |
Further options to pass to irlba::compute()
.
int gsdecon::Options::num_threads = 1 |
Number of threads to use. The parallelization scheme is defined by scran_pca::SimplePcaOptions::num_threads
(for compute()
) or scran_pca::BlockedPcaOptions::num_threads
(for compute_blocked()
).
int gsdecon::Options::rank = 1 |
Rank of the low-rank approximation.
bool gsdecon::Options::realize_matrix = true |
Whether to realize tatami::Matrix
objects into an appropriate in-memory format before PCA. This is typically faster but increases memory usage.
bool gsdecon::Options::scale = false |
Should genes be scaled to unit variance? Genes with zero variance are ignored.
scran_blocks::VariableWeightParameters gsdecon::Options::variable_block_weight_parameters |
Parameters for the variable block weights for compute_blocked()
. Only used when Options::block_weight_policy = scran_blocks::WeightPolicy::VARIABLE
.