This is a convenience function for plotting a graph based on results from
NBS
. There are several default arguments that are set:
vertex/edge colors will correspond to connected component membership, and
only those vertices in which V(g)$p.nbs > 1 - alpha
will be shown.
Finally, vertex names will be omitted.
# S3 method for brainGraph_NBS
plot(x, alpha = 0.05,
subgraph = paste("p.nbs >", 1 - alpha), vertex.label = NA,
vertex.color = "color.comp", edge.color = "color.comp",
subt = NULL, main = paste0("\n\nNBS: ", x$name), cex.main = 2,
...)
A brainGraph_NBS
graph object (from
make_nbs_brainGraph
)
Numeric; the significance level (default: 0.05)
Character string specifying the condition for subsetting the
graph. By default, it will show only the vertices which are members of
components determined to be significant based on alpha
.
Character vector of the vertex labels to be displayed. Default behavior is to omit them.
Character string specifying the vertex attribute to color
the vertices by (default: color.comp
, which groups vertices by
connected component)
Character string specifying the edge attribute to color
the edges by (default: color.comp
, which groups edges by connected
component)
Character string; the subtitle (default: default
)
Character string; the main title (default: NULL
)
Numeric; the scaling factor for text size; see
par
(default: 2)
Other arguments passed to plot.brainGraph
Other Plotting functions: plot.brainGraph_GLM
,
plot.brainGraph_mediate
,
plot.brainGraph_mtpc
,
plot.brainGraph
,
plot_brainGraph_gui
,
plot_brainGraph_list
,
plot_brainGraph_multi