bg_to_mediate: Convert brainGraph results to "mediate" object

Description Usage Arguments Value See Also

View source: R/brainGraph_mediate.R

Description

bg_to_mediate converts the results of brainGraph_mediate into an object of class mediate. In brainGraph, it is only used for the summary.mediate method, but you can similarly use its output for the plot.mediate method.

Usage

1
bg_to_mediate(x, region = NULL)

Arguments

x

Object output from brainGraph_mediate

region

Character string specifying which region's results to summarize; only relevant if level='vertex' (default: NULL)

Value

An object of class mediate

See Also

mediate


brainGraph documentation built on May 29, 2018, 9:03 a.m.