generate.pathway {CePa} | R Documentation |
Generate igraph object from edge list
Description
Generate igraph object from edge list
Usage
generate.pathway(el)
Arguments
el |
edge list, matrix with two columns. The first column is the input node and the second column is the output node. |
Details
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.
Author(s)
Zuguang Gu <z.gu@dkfz.de>
See Also
Examples
edgelist = rbind(c("a", "b"), c("a", "b"), c("a", "c"))
g = generate.pathway(edgelist)
[Package CePa version 0.8.0 Index]