| mlrGroup {SwathXtend} | R Documentation |
Do mlr normalization separately for each set of replicates first, then normalize the resulting matrix
mlrGroup(mat, Group)
mat |
Data matrix with replicates as columns |
Group |
Factor of length ncol(mat) |
Resulting normalized matrix of the same size as the initial one
*Find reference to mlr paper*
res = mlrGroup(iris[,-5], Group=as.factor(c("Sepal", "Sepal", "Petal", "Petal")))
layout(matrix(1:3, nrow=1))
boxplot(log(iris[,-5]), main="Log only")
boxplot(log(medianNorm(iris[,-5])), main="Median")
boxplot(log(res[[1]]), main="MLR")