generate.pathway: Generate igraph object from edge list

Description Usage Arguments Details Author(s) See Also Examples

View source: R/pathway.R

Description

Generate igraph object from edge list

Usage

1

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

cepa, graph.edgelist

Examples

1
2
edgelist = rbind(c("a", "b"), c("a", "b"), c("a", "c"))
g = generate.pathway(edgelist)

jokergoo/CePa documentation built on July 2, 2021, 10:28 p.m.