scran_variances
Model per-gene variance in expression
Loading...
Searching...
No Matches
scran_variances::ModelGeneVariancesBuffers< Stat_ > Struct Template Reference

Buffers for model_gene_variances() and friends. More...

#include <model_gene_variances.hpp>

Public Attributes

Stat_ * means
 
Stat_ * variances
 
Stat_ * fitted
 
Stat_ * residuals
 

Detailed Description

template<typename Stat_>
struct scran_variances::ModelGeneVariancesBuffers< Stat_ >

Buffers for model_gene_variances() and friends.

Template Parameters
Stat_Floating-point type for the output statistics.

In general, the pointers in this class should not be set to NULL. The only exception is for instances of this class that are used as ModelGeneVariancesBlockedBuffers::average, where setting the pointer to NULL will omit calculation of the corresponding average statistic.

Member Data Documentation

◆ means

template<typename Stat_ >
Stat_* scran_variances::ModelGeneVariancesBuffers< Stat_ >::means

Pointer to an array of length equal to the number of genes, to be filled with the mean log-expression for each gene.

◆ variances

template<typename Stat_ >
Stat_* scran_variances::ModelGeneVariancesBuffers< Stat_ >::variances

Pointer to an array of length equal to the number of genes, containing the variance in the log-expression for each gene.

◆ fitted

template<typename Stat_ >
Stat_* scran_variances::ModelGeneVariancesBuffers< Stat_ >::fitted

Pointer to an array of length equal to the number of genes, containing the fitted value of the mean-variance trend for each gene.

◆ residuals

template<typename Stat_ >
Stat_* scran_variances::ModelGeneVariancesBuffers< Stat_ >::residuals

Vector of length equal to the number of genes, containing the residuals of the mean-variance trend for each gene.


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