brainGraph-methods | R Documentation |
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 class 'brainGraphList'
groups(x)
## S3 method for class 'corr_mats'
groups(x)
region.names(object)
## S3 method for class 'data.table'
region.names(object)
nregions(object)
x , object |
An object |
For a data.table
, region.names
assumes that it contains a
factor column named region
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.