Description Usage Arguments Value See Also Examples
This functions takes a list of igraph objects and convert it to a 'mgraph' object.
1 | fromIgraphToMgraph(g, types)
|
types |
vector of types that represent the layers with the same length as mg |
mg |
list of 'igraph' objects |
class 'mgraph' object
1 2 3 4 5 6 7 8 9 10 11 | # 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.