I have a simple graph in igraph as follows:
> myGraph
IGRAPH 9689c03 DN-- 11 8 --
+ attr: name (v/n), types (v/n), col (v/n), degree (v/n)
+ edges from 9689c03 (vertex names):
[1] 2-> 7 2-> 8 2-> 9 2->10 3->11 3->12 3->13 3->14
Although it is a simple graph, its topology is like a bipartite graph. This means that nodes' types are 0 and 1 and the nodes in each group are not connected together:
> V(myGraph)$types
[1] 1 1 0 0 0 0 0 0 0 0 0
I am wondering if there is a method/function/approach to convert this simple graph to a bipartite one to use some available functions such as: bipartite.projection()
?