scran
C++ library for basic single-cell RNA-seq analyses
Loading...
Searching...
No Matches
Public Attributes | List of all members
scran::ComputeMedianMad::Results Struct Reference

Medians and MADs, possibly for multiple blocks. More...

#include <ComputeMedianMad.hpp>

Public Attributes

std::vector< double > medians
 
std::vector< double > mads
 
bool log = false
 

Detailed Description

Medians and MADs, possibly for multiple blocks.

Meaningful instances of this object should generally be constructed by calling the ComputeMedianMad::run() methods. Empty instances can be default-constructed as placeholders.

Member Data Documentation

◆ medians

std::vector<double> scran::ComputeMedianMad::Results::medians

Vector of length equal to the number of blocks. Each value contains the median for that block.

Note that this may be NaN if there are no non-NaN observations, or infinite if observations contain non-finite values.

◆ mads

std::vector<double> scran::ComputeMedianMad::Results::mads

Vector of length equal to the number of blocks. Each value contains the MAD for that block.

Note that this may be NaN if there are no non-NaN observations.

◆ log

bool scran::ComputeMedianMad::Results::log = false

Whether the medians and MADs were computed on the (natural) log-transformed values.


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