norm_fix | R Documentation |
norm_fix allows users to adjust for batch effects in datasets where the batch covariate is known, using the packages preprocessCore, and the function normalize.quantiles.
norm_fix(data, ...)
data |
must be a data.frame or matrix |
... |
parameter see |
data
y <- matrix( rpois(1000, lambda=5), nrow=200 )
n = dim(y)
colnames(y) = paste(rep("sample",n[[2]]),1:n[[2]])
rownames(y) = paste(rep("gene",n[[1]]),1:n[[1]])
y = as.data.frame(y)
#y_fix2 = norm_fix(y,expcv = 0.3, exphigh = 0.8, explow = 0.4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.