transitiveReduction: This function generates the transitive reduction of the...

Description Usage Arguments Value Author(s) Examples

View source: R/visualizeBiopax.R

Description

This function is deprecated due to nem dropping out of Bioconductor in BioC 4.0. This function generates the transitive reduction of the supplied graph. In short: if A->B->C AND A->C then edge A->C is removed. This is a simple convenience wrapper for the NEM function transitive.reduction. Be aware of implications on the edge weights!

Usage

1

Arguments

mygraph

graphNEL

Value

Returns the transitive reduction of the supplied graph.

Author(s)

Frank Kramer

Examples

1
2
3
4
5
6
# load data
data(biopaxexample)
pwid1 = "pid_p_100002_wntpathway"
pwid2 = "pid_p_100146_hespathway"
mygraph = pathway2RegulatoryGraph(biopax, pwid1)
tr = transitiveReduction(mygraph)

rBiopaxParser documentation built on Nov. 8, 2020, 8:21 p.m.