Learn R Programming

gMCP (version 0.6-5)

graphGUI: Graphical User Interface for the Creation of SRMTP Graphs

Description

Starts a graphical user interface for the creation of SRMTP graphs.

Usage

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

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 value of 50.
debug
Logical. If TRUE debug output is printed to the R console.

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.

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(graphFromHommelEtAl2007(), pvalues=pvalues)

Run the code above in your browser using DataLab