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

design_connectivity

Connected parts of a MPP design


Description

Determine the connected parts of a MPP design using the method of Weeks and Williams (1964) and the package igraph.

Usage

design_connectivity(par_per_cross, plot_des = TRUE, output_loc = NULL)

Arguments

par_per_cross

Three columns character matrix specifying : 1) the cross indicators ; 2) the parents 1 identifiers of the crosses; 3) the parents 2 identifiers of the crosses.

plot_des

Logical value indicating if connected part of the design should be plotted. Default = TRUE.

output_loc

Path where the plot of the design will be saved if the argument is given. Default = NULL.

Value

Return a list with each element representing one connected part of the design and the list of parents contained in this part.

If plot_des = TRUE and output_loc has been specified. A plot of the graph (con_plot.pdf) will be saved at the specified location.

Author(s)

Vincent Garin

References

Weeks, D. L., & Williams, D. R. (1964). A note on the determination of connectedness in an N-way cross classification. Technometrics, 6(3), 319-324.

Examples

data(mppData)

par_per_cross <- mppData$par.per.cross

con.part <- design_connectivity(par_per_cross)

mppR

Multi-Parent Population QTL Analysis

v1.2.1
GPL-3
Authors
Vincent Garin [aut, cre], Valentin Wimmer [aut], Dietrich Borchardt [ctb, dtc], Fred van Eeuwijk [ctb, ths], Marcos Malosetti [ctb, ths]
Initial release
2020-02-10

We don't support your browser anymore

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