scran
C++ library for basic single-cell RNA-seq analyses
|
Medians and MADs, possibly for multiple blocks. More...
#include <ComputeMedianMad.hpp>
Public Attributes | |
std::vector< double > | medians |
std::vector< double > | mads |
bool | log = false |
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.
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.
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.
bool scran::ComputeMedianMad::Results::log = false |
Whether the medians and MADs were computed on the (natural) log-transformed values.