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.
make_glm_brainGraph(res.glm, atlas, ...)List as output by brainGraph_GLM or by
mtpc.
Character string specifying the brain atlas to use
Other arguments passed to make_brainGraph
A list of igraph graph objects (length equal to the number of
contrasts) with additional attributes:
name (contrast name), outcome (the outcome variable), alpha (the significance level); for MTPC: tau.mtpc, S.mtpc, S.crit, A.crit
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)
This function only creates a graph for vertex-level analyses.
Other Graph creation functions: make_brainGraph,
make_ego_brainGraph,
make_empty_brainGraph,
make_mediate_brainGraph,
make_nbs_brainGraph