Learn R Programming

brainGraph (version 2.7.3)

plot.brainGraph_mediate: Plot a graph with results from a mediation analysis

Description

Plot a graph with results from a mediation analysis

Usage

# S3 method for brainGraph_mediate
plot(x, subgraph = "p.acme > 0.95",
  main = sprintf("\n\n\nEffect of \"%s\" on\n\"%s\"\nmediated by \"%s\"",
  x$treat, x$outcome, x$mediator), subt = NULL, cex.main = 1, ...)

Arguments

x

A brainGraph_mediate graph object (from make_mediate_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_mtpc, plot.brainGraph, plot_brainGraph_gui, plot_brainGraph_list, plot_brainGraph_multi