Quantile Normalize Columns of a Matrix Based on a Reference Distribution
Normalize the columns of a matrix to have the same quantiles, allowing for missing values.
Users do not normally need to call this function directly - use
normalize2Reference(data, refData = NULL, ties = TRUE)
- numeric matrix. Missing values are allowed.
- A vector of reference values.
- logical. If
TRUE, ties in each column of
Aare treated in careful way. Tied values will be normalized to the mean of the corresponding pooled quantiles.
This function is intended to normalize single channel or A-value microarray intensities between arrays.
Each quantile of each column is set to either: quantiles of the reference distribution (
refData supplied) or the mean of that quantile across arrays (
The intention is to make all the normalized columns have the same empirical distribution.
This will be exactly true if there are no missing values and no ties within the columns: the normalized columns are then simply permutations of one another.
If there are ties amongst the intensities for a particular array, then with
ties=FALSE the ties are broken in an unpredictable order.
ties=TRUE, all the tied values for that array will be normalized to the same value, the average of the quantiles for the tied values.
- A matrix of the same dimensions as
Acontaining the normalized values.
Bolstad, B. M., Irizarry R. A., Astrand, M., and Speed, T. P. (2003), A comparison of normalization methods for high density oligonucleotide array data based on bias and variance. Bioinformatics 19, 185-193.