make_glm_brainGraph: Create a graph with GLM-specific attributes

Description Usage Arguments Details Value See Also

View source: R/create_graphs.R

Description

make_glm_brainGraph will create graphs with attributes specific to the results of brainGraph_GLM or mtpc. The function returns a list, with one element for each specified contrast.

Usage

1
make_glm_brainGraph(res.glm, atlas, ...)

Arguments

res.glm

List as output by brainGraph_GLM or by mtpc.

atlas

Character string specifying the brain atlas to use

...

Other arguments passed to make_brainGraph

Details

This function only creates a graph for vertex-level analyses.

Value

A list of igraph graph objects (length equal to the number of contrasts) with additional attributes:

Graph

name (contrast name), outcome (the outcome variable), alpha (the significance level); for MTPC: tau.mtpc, S.mtpc, S.crit, A.crit

Vertex

size2 (t-statistic), size (the t-stat transformed for visualization purposes), p (equal to 1-p), p.fdr (equal to 1-p_{FDR}, the FDR-adjusted p-value), gamma (the contrast of parameter estimaties, se (the standard error of gamma); A.mtpc, sig (binary indicating whether A.mtpc > A.crit) (for MTPC)

See Also

brainGraph_GLM, mtpc

Other Graph creation functions: make_brainGraph, make_ego_brainGraph, make_empty_brainGraph, make_mediate_brainGraph, make_nbs_brainGraph


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