Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

joinGraphs

Joins two graphMCP objects


Description

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

Usage

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

Examples

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

joinGraphs(g1, g2)

gMCP

Graph Based Multiple Comparison Procedures

v0.8-15
GPL (>= 2)
Authors
Kornelius Rohmeyer [aut, cre], Florian Klinglmueller [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.