Create a brainGraph graph object, which is an igraph graph
object with additional attributes (at all levels). The values are dependent
on the specified brain atlas.
make_brainGraph(g, atlas, rand = FALSE, modality = NULL,
weighting = NULL, threshold = NULL, subject = NULL, group = NULL)# S3 method for brainGraph
summary(object, print.attrs = c("all", "none"), ...)
An igraph graph object.
Character string specifying the brain atlas
A character string indicating whether this function is being run
for a random graph. Default: FALSE
Character vector indicating imaging modality (e.g. 'dti').
Default: NULL
Character string indicating how the edges are weighted
(e.g., 'fa', 'pearson', etc.). Default: NULL
Numeric indicating the level at which the matrices were
thresholded (if at all). Default: NULL
Character vector indicating subject ID. Default: NULL
Character vector indicating group membership. Default:
NULL
A brainGraph object
Character string indicating whether or not to list the
object's attributes (default: all)
Unused
A brainGraph graph object with additional attributes:
(graph-level) The current version of brainGraph
(graph-level)
(vertex-leve) Character vector of lobe names
(vertex-leve) Character vector of hemispheres ('L',
'R', or 'B')
Integer vector indicating the lobe and hemisphere
(vertex-leve) Character vector of class names (if applicable)
(vertex-leve) Character vector of network names (if applicable)
(graph-level)
(graph-level)
(graph-level)
(graph-level) The subject ID (if specified by subject)
(graph-level) only if group is specified
Spatial coordinates
(vertex- and edge-level) Colors based on lobe
(vertex- and edge-level) If applicable
Integer vector for ordering the vertices for circle plots
For the modality argument, you can choose anything you like, but the
summary.brainGraph knows about dti, fmri,
thickness, area, and volume.
For the weighting argument, you can choose anything you like, but
summary.brainGraph knows about fa, sld (streamline
density, tractography), pearson, spearman, kendall, and
partial (partial correlation coefficient).
Other Graph creation functions: make_ego_brainGraph,
make_empty_brainGraph,
make_glm_brainGraph,
make_mediate_brainGraph,
make_nbs_brainGraph