Package ubic.basecode.math
Class MatrixNormalizer<R,C>
- java.lang.Object
-
- ubic.basecode.math.MatrixNormalizer<R,C>
-
public class MatrixNormalizer<R,C> extends Object
- Author:
- paul
-
-
Constructor Summary
Constructors Constructor Description MatrixNormalizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DoubleMatrix<R,C>
quantileNormalize(DoubleMatrix<R,C> matrix)
Rows with all missing will not be returned.
-
-
-
Method Detail
-
quantileNormalize
public DoubleMatrix<R,C> quantileNormalize(DoubleMatrix<R,C> matrix)
Rows with all missing will not be returned. Otherwise, missing values are imputed, used for estimating quantiles, and then replaced with missing values at the end.Note that the Bioconductor implementation deals with missing values differently, and in a much more complex way. Therefore this gives different answers in the missing value case from Bioconductor (normalize.quantiles).
- Parameters:
matrix
-- Returns:
-
-