asBipartite() splits an edgelist into a strictly bipartite graph around a specified metadata category requires novel.net$edge.df and net.igr from Network() Steps: 1) divide character uniqnames around metadata category using net.igr 2) create sub-edgelist of only bipartite edges from edge.df this step will find edges with exactly one element from one of the metadata categories 3) outputs bipartite igraph
1 2 | asBipartite(net.igr = net.igr, part.by = NA, summary.table = TRUE,
vertex.colors = NA)
|
net.igr |
An igraph network. |
part.by |
A metadata category (i.e. gender) by which to split the network into a strictly bipartite graph. |
summary.table |
Default = TRUE. Returns a data frame, summarizing edges across the bipartite graph. |
vertex.colors |
Default = NA. A length-two vector of colors. Default == c("Gold", "Tomato"). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.