R语言 preprocessCore包 normalize.quantiles()
(2015-04-22 17:00:24)
标签:
分位数标准化nomalizequantiles |
normalize.quantiles {preprocessCore} |
Quantile Normalization
package install
source("http://bioconductor.org/biocLite.R")
Bioconductor version 2.12 (BiocInstaller 1.10.3), ?biocLite for
help
biocLite("preprocessCore")
library(preprocessCore)
Description
Using a normalization based upon quantiles, this function normalizes a matrix of probe level intensities.
Usage
normalize.quantiles(x,copy=TRUE)
Arguments
x |
A matrix of intensities where each column corresponds to a chip and each row is a probe. |
copy |
Make a copy of matrix before normalizing. Usually safer to work with a copy, but in certain situations not making a copy of the matrix, but instead normalizing it in place will be more memory friendly. |
> a<-matrix(1:6,3,2)
> a
[,1] [,2]
[1,] 1 4
[2,] 2 5
[3,] 3 6
> library(preprocessCore)
> b=normalize.quantiles(a)
> b
[,1] [,2]
[1,] 2.5 2.5
[2,] 3.5 3.5
[3,] 4.5 4.5