|
scran_variances
Model per-gene variance in expression
|
Buffers for model_gene_variances_blocked().
More...
#include <model_gene_variances.hpp>
Public Attributes | |
| std::vector< ModelGeneVariancesBuffers< Stat_ > > | per_block |
| ModelGeneVariancesBuffers< Stat_ > | average |
Buffers for model_gene_variances_blocked().
| Stat_ | Floating-point type of the output statistics. |
| std::vector<ModelGeneVariancesBuffers<Stat_> > scran_variances::ModelGeneVariancesBlockedBuffers< Stat_ >::per_block |
Vector of length equal to the number of blocks, where each entry contains the buffers to store the variance modelling results for a single block.
| ModelGeneVariancesBuffers<Stat_> scran_variances::ModelGeneVariancesBlockedBuffers< Stat_ >::average |
Buffers to store the average across blocks for all statistics in per_block.
Any of the pointers in this object may be NULL, in which case the corresponding average is not computed.
If average.fitted or average.residuals is not NULL, all entries of per_block should have non-NULL pointers for their own fitted and residuals. (That is, a mean-variance trend should have been fitted in each block.) Otherwise, an error will be thrown.