generate.pathway: Generate igraph object from edge list

View source: R/pathway.R

generate.pathwayR 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

cepa, graph.edgelist

Examples

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

CePa documentation built on Oct. 8, 2024, 5:08 p.m.