Learn R Programming

brainGraph (version 2.7.3)

plot.brainGraph_mtpc: Plot a graph with results from MTPC

Description

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

Usage

# S3 method for brainGraph_mtpc
plot(x, subgraph = "sig == 1",
  main = paste0("\n\n", x$outcome, ": ", x$name), subt = NULL,
  cex.main = 2, ...)

Arguments

x

A brainGraph_mtpc graph object (from make_glm_brainGraph)

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_GLM, plot.brainGraph_NBS, plot.brainGraph_mediate, plot.brainGraph, plot_brainGraph_gui, plot_brainGraph_list, plot_brainGraph_multi