generate.pathway {CePa} | R Documentation |
Generate igraph object from edge list
generate.pathway(el)
el |
edge list, matrix with two columns. The first column is the input node and the second column is the output node. |
The function is a wrapper of graph.edgelist
and it generates
a directed graph.
In the function, repeated edged for two nodes will be eliminated.
Zuguang Gu <z.gu@dkfz.de>
edgelist = rbind(c("a", "b"), c("a", "b"), c("a", "c")) g = generate.pathway(edgelist)