Package ubic.basecode.math
Class TestMatrixNormalizer
java.lang.Object
ubic.basecode.math.TestMatrixNormalizer
- Author:
- paul
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidmminvalid input: '<'-read.table("testdata.txt", header=T, row.names=1) library(preprocessCore) rrinvalid input: '<'-normalize.quantiles(as.matrix(mm)) rr[3,5] [1] 29860.93 > rr[13,5] [1] 466.7833 > rr[3,12] [1] 31620.79 > rr[4,10] [1] 1071.525 > rr[6,7] [1] 288.925 >voidNote that we do this differnetly than the Bioconductor implementation.
-
Constructor Details
-
TestMatrixNormalizer
public TestMatrixNormalizer()
-
-
Method Details
-
testQuantileNormalize
mminvalid input: '<'-read.table("testdata.txt", header=T, row.names=1) library(preprocessCore) rrinvalid input: '<'-normalize.quantiles(as.matrix(mm)) rr[3,5] [1] 29860.93 > rr[13,5] [1] 466.7833 > rr[3,12] [1] 31620.79 > rr[4,10] [1] 1071.525 > rr[6,7] [1] 288.925 >
- Throws:
Exception
-
testQuantileNormalizeWithMissing
Note that we do this differnetly than the Bioconductor implementation. For what it is worth here are the values they getdminvalid input: '<'-read.delim("testdatamissing.txt", row.names=1, header=T) rrinvalid input: '<'-normalize.quantiles(as.matrix(dm)) > rr[3,5] [1] 30458.47 > rr[13,5] [1] 737.1687 > rr[3,12] [1] NA > rr[4,10] [1] 1187.655 > rr[6,7] [1] 570.0667
- Throws:
Exception
-