joinGraphs: Joins two graphMCP objects

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Creates a new graphMCP object by joining two given graphMCP objects.

Usage

1
joinGraphs(graph1, graph2, xOffset = 0, yOffset = 200)

Arguments

graph1

A graph of class graphMCP.

graph2

A graph of class graphMCP.

xOffset

A numeric specifying an offset (on the x-axis) for placing the nodes and edge labels of the second graph.

yOffset

A numeric specifying an offset (on the y-axis) for placing the nodes and edge labels of the second graph.

Details

If graph1 and graph2 have duplicates in the node names, the nodes of the second graph will be renamed.

If and only if the sum of the weights of graph1 and graph2 exceeds 1, the weights are scaled so that the sum equals 1.

A description attribute of either graph will be discarded.

Value

A graphMCP object that represents a graph that consists of the two given graphs.

Author(s)

Kornelius Rohmeyer rohmeyer@small-projects.de

See Also

graphMCP

Examples

1
2
3
4
g1 <- BonferroniHolm(2)
g2 <- BonferroniHolm(3)

joinGraphs(g1, g2)

gMCP documentation built on May 2, 2019, 6:07 p.m.