Nothing
#
# sum up all inferred networks into a single one using "method"
#
getSampleAdja <- function(edges_all, n, annot_node, method=median, septype="->") {
edge_med <- apply(edges_all, 2, method, na.rm=T)
sample <- matrix(0, nrow=n, ncol=n)
colnames(sample) <- rownames(sample) <- annot_node
edgelist <- strsplit(colnames(edges_all), septype, fixed=T)
for (i in 1:length(edge_med)) {
id1 <- which(edgelist[[i]][1] == rownames(sample))
id2 <- which(edgelist[[i]][2] == colnames(sample))
sample[id1,id2] <- edge_med[i]
}
return(sample)
}
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.