Learn R Programming

brainGraph (version 2.7.3)

plot.brainGraph_GLM: Plot a graph with results from brainGraph_GLM

Description

This is a convenience function for plotting a graph based on results from brainGraph_GLM. There are a few argument defaults: to plot only those vertices for which \(p < \alpha\); a plot title with the outcome measure and contrast name, and to omit the plot subtitle.

Usage

# S3 method for brainGraph_GLM
plot(x, p.sig = c("p", "p.fdr", "p.perm"),
  subgraph = NULL, main = paste0("\n\n", x$outcome, ": ", x$name),
  subt = NULL, cex.main = 2, ...)

Arguments

x

A brainGraph_GLM graph object (from make_glm_brainGraph)

p.sig

Character string indicating which p-value to use for determining significance (default: p)

subgraph

Character string specifying an equation for vertices to plot (default: NULL)

main

Character string; the main title (default: NULL)

subt

Character string; the subtitle (default: default)

cex.main

Numeric indicating the scaling for plot title size (see par.

...

Other parameters (passed to plot.igraph). See igraph.plotting for details.

See Also

Other Plotting functions: plot.brainGraph_NBS, plot.brainGraph_mediate, plot.brainGraph_mtpc, plot.brainGraph, plot_brainGraph_gui, plot_brainGraph_list, plot_brainGraph_multi