Description Usage Arguments Value Examples
quantnorm
Rank-normalize (quantile normalize) data to enforce strict normality
of data. Useful if assuming identical distributions across many response variables
1 |
x |
The numeric vector to quantile normalize |
drop0s |
Logical, should 0's be transformed to NAs |
a vector of quantile normalized data
1 2 3 4 5 6 7 8 9 10 11 | library(qtlTools)
data(fake.bc)
cross<-fake.bc
par(mfrow = c(2,1))
hist(pull.pheno(cross, pheno.col = "pheno2"), breaks=20,
main = "before quantile normalization",
xlab = "raw pheno1")
cross<-transformPheno(cross, pheno.col = "pheno1", quantnorm)
hist(pull.pheno(cross, pheno.col = "pheno1"), breaks=20,
main = "after quantile normalization",
xlab = "qn pheno1")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.