get_average_graph: Average together a list of connectivity matrices

Description Usage Arguments Value Author(s) Examples

View source: R/get_average_graph.R

Description

Average together a list of correlation matrices to analyze the typical network properties of a given group (ie, teens vs adults)

Usage

1
get_average_graph(cormats, n = NULL, which = "graph")

Arguments

cormats

A list of correlation matrices

n

The sample size.

which

can be "graph" to get an igraph object, "matrix" for a correlation matrix, or "both" for a list of both. Defaults to graph.

Value

A matrix, igraph object, or list.

Author(s)

Brandon Vaughan

Examples

1
2
cormats = get_cor_matrices(scrubbed_ts_list) #Get the correlation matrices first
graphs = get_average_graph(cormats)

abnormally-distributed/rsfcNet documentation built on March 8, 2020, 5:32 p.m.