yat
0.14.5pre
|
Perform quantile normalization. More...
#include <yat/normalizer/QuantileNormalizer.h>
Public Member Functions | |
void | operator() (const utility::Matrix &matrix, utility::Matrix &result) const |
perform the quantile normalization. More... | |
Perform quantile normalization.
After a quantile normalization each column has the same distribution of data (the quantiles are the same). Also, within each column the rank of an element is not changed. The distribution that each column follows is determined by taking the average across columns, i.e., the largest element in each column will be equal to the average of the largest elements. The 2nd largest element in each column will be equal to the average of the 2nd largest element in each column et cetera.
There is currently no weighted version of QuantileNormalizer
void theplu::yat::normalizer::QuantileNormalizer::operator() | ( | const utility::Matrix & | matrix, |
utility::Matrix & | result | ||
) | const |
perform the quantile normalization.
It is possible to normalize "in place"; it is permissible for matrix and result to reference to the same Matrix.