Nothing
mlrGroup <-
function(mat, Group) {
Group = as.factor(Group)
if (length(Group) != ncol(mat)) stop("Matrix and group sizes don't match for mlr norm.");
lev.idx = lapply(levels(Group), FUN=function(g){which(Group == g)})
norm.list = lapply(lev.idx, FUN = function(i){mlrrep(mat[,i])});
# check same colnames?
norm.mat = matrix(NA, nrow(mat), ncol(mat))
colnames(norm.mat) = colnames(mat)
rownames(norm.mat) = rownames(mat)
for(j in 1:length(lev.idx)) norm.mat[,lev.idx[[j]]] = as.matrix(norm.list[[j]]$mat.norm)
mlrrep(norm.mat)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.