Learn R Programming

gMCP (version 0.8-5)

graphGUI: Graphical User Interface for graphical described multiple comparison procedures

Description

Starts a graphical user interface for the creation/modification of directed weighted graphs and applying graphical described multiple comparison procedures.

Usage

graphGUI(graph="createdGraph", pvalues=numeric(0), grid=0, 
           debug=FALSE, experimentalFeatures=FALSE, envir=globalenv())

Arguments

graph
Either a variable name for the graph, given as a character string. (If it is not a syntactically valid name, make.names is called to change it to a valid one.) Or an object of class
pvalues
Numeric value that optionally specifies the p-values.
grid
Positive integer that sets the grid size for easier placement of nodes. (Therefore grid size 1 allows unrestricted placement and disables the grid.) The default grid=0 uses the last used grid value or if the GUI is started the first time a valu
debug
Logical. If TRUE debug output is printed to the R console.
experimentalFeatures
Logical. If TRUE some unfinished / insufficiently tested experimental features are available in the GUI.
envir
Environment where the object graph is located and/or it should be saved (default is the global environment).

Value

  • The function itself returns NULL. But with the GUI a graph can be created or edited that will be available in R under the specified variable name after saving in the specified environment.

Details

See the vignette of this package for further details, since describing a GUI interface is better done with a lot of nice pictures.

Examples

Run this code
graphGUI()
pvalues <- c(9.7, 1.5, 0.5, 0.6, 0.4, 0.8, 4)/100 
graphGUI(HommelEtAl2007(), pvalues=pvalues)

x <- new.env()
assign("graph", BonferroniHolm(3), envir=x)
graphGUI("graph", envir=x)

Run the code above in your browser using DataLab