Learn R Programming

rBiopaxParser (version 2.10.0)

transitiveClosure: This function generates the transitive closure of the supplied graph.

Description

This function generates the transitive closure of the supplied graph. In short: if A->B->C then an edge A->C is added. Edge weights are conserved if possible (in a hopefully smart way). This is a simple convenience wrapper for the RBGL function transitive.closure.

Usage

transitiveClosure(mygraph)

Arguments

mygraph
graphNEL

Value

Returns the transitive closure of the supplied graph.