This functions takes a list of igraph objects and convert it to a 'mgraph' object.
vector of types that represent the layers with the same length as mg
list of 'igraph' objects
class 'mgraph' object
# Read a vector of files # ## Not run: fileName <- c(system.file("extdata", package = "multiweb")) dn <- list.files("inst/extdata",pattern = "^Kefi2015.*\\.txt$") g <- readNetwork(dn,"inst/extdata", skipColumn = 2) fromIgraphToMgraph(g,c("Negative","Positive","Antagonistic")) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.