These functions are S3 generics for various brainGraph
-defined
objects.
groups
returns the “Group” graph attribute for each graph or
observation in the object.
region.names
is a generic method for extracting region names from
various brainGraph
objects. These are generally convenience functions.
nregions
is a generic method for extracting the number of regions from
various brainGraph
objects.
# S3 method for brainGraphList
groups(x)# S3 method for corr_mats
groups(x)
region.names(object)
# S3 method for data.table
region.names(object)
nregions(object)
An object
For a data.table
, region.names
assumes that it contains a
factor column named region
.