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)

Arguments

bgr

bipartite graph with node attributes type and name

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