powered by
Generate igraph object from edge list
generate.pathway(el)
edge list, matrix with two columns. The first column is the input node and the second column is the output node.
Zuguang Gu <z.gu@dkfz.de>
The function is a wrapper of graph.edgelist and it generates a directed graph.
graph.edgelist
In the function, repeated edged for two nodes will be eliminated.
cepa, graph.edgelist
cepa
edgelist = rbind(c("a", "b"), c("a", "b"), c("a", "c")) g = generate.pathway(edgelist)
Run the code above in your browser using DataLab