Nothing
summarizeRepl <- function(data, type=median) {
annot <- unique(rownames(data))
dat <- matrix(NA, ncol=dim(data)[2], nrow=length(annot))
for (i in 1:length(annot)) {
id <- which(rownames(data) == annot[i])
dat[i,] <- apply(data[id, ], 2, type, na.rm=T)
}
colnames(dat) <- colnames(data)
rownames(dat) <- annot
return(dat)
}
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.