R/bipartite_edge_swap2.R
bipartite_edgelist.Rd
Turn the bipartite graph into an edge list returns a list of two vectors of the nodes for the edges, each corresponding to one of the two bipartite graph groups
to_bipartite_edgelist(bgr) edgelist_to_bipartite_graph(el, sample_list = 1)
bgr | bipartite graph with node attributes |
---|---|
el | edge list with two vectors for the edges, one for each set of nodes in the bipartite graph |
sample_list | which vector in `el` corresponds to the samples |